instruction
stringlengths 12
244
| input
stringlengths 27
489
| output
stringlengths 18
557
| text
stringlengths 194
1.14k
|
---|---|---|---|
What character did actor Damien Richardson play?
|
CREATE TABLE table_name_50 (character VARCHAR, actor_actress VARCHAR)
|
SELECT character FROM table_name_50 WHERE actor_actress = "damien richardson"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (character VARCHAR, actor_actress VARCHAR) Question: What character did actor Damien Richardson play? [/INST] SELECT character FROM table_name_50 WHERE actor_actress = "damien richardson" </s>
|
What episode did actor Daniel Macpherson's character have the rank of Detective Senior Constable
|
CREATE TABLE table_name_46 (episodes VARCHAR, rank VARCHAR, actor_actress VARCHAR)
|
SELECT episodes FROM table_name_46 WHERE rank = "detective senior constable" AND actor_actress = "daniel macpherson"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (episodes VARCHAR, rank VARCHAR, actor_actress VARCHAR) Question: What episode did actor Daniel Macpherson's character have the rank of Detective Senior Constable [/INST] SELECT episodes FROM table_name_46 WHERE rank = "detective senior constable" AND actor_actress = "daniel macpherson" </s>
|
Who are the sideline reporter(s) on NBC with al michaels on the play-by-play after 2013?
|
CREATE TABLE table_name_22 (sideline_reporter_s_ VARCHAR, year VARCHAR, network VARCHAR, play_by_play VARCHAR)
|
SELECT sideline_reporter_s_ FROM table_name_22 WHERE network = "nbc" AND play_by_play = "al michaels" AND year > 2013
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (sideline_reporter_s_ VARCHAR, year VARCHAR, network VARCHAR, play_by_play VARCHAR) Question: Who are the sideline reporter(s) on NBC with al michaels on the play-by-play after 2013? [/INST] SELECT sideline_reporter_s_ FROM table_name_22 WHERE network = "nbc" AND play_by_play = "al michaels" AND year > 2013 </s>
|
What was the earliest year featuring Sideline reporter(s) of michelle tafoya and suzy kolber?
|
CREATE TABLE table_name_64 (year INTEGER, sideline_reporter_s_ VARCHAR)
|
SELECT MIN(year) FROM table_name_64 WHERE sideline_reporter_s_ = "michelle tafoya and suzy kolber"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (year INTEGER, sideline_reporter_s_ VARCHAR) Question: What was the earliest year featuring Sideline reporter(s) of michelle tafoya and suzy kolber? [/INST] SELECT MIN(year) FROM table_name_64 WHERE sideline_reporter_s_ = "michelle tafoya and suzy kolber" </s>
|
What network is working in 2014?
|
CREATE TABLE table_name_19 (network VARCHAR, year VARCHAR)
|
SELECT network FROM table_name_19 WHERE year = 2014
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (network VARCHAR, year VARCHAR) Question: What network is working in 2014? [/INST] SELECT network FROM table_name_19 WHERE year = 2014 </s>
|
Who were the sideline reporter(s) in 2011?
|
CREATE TABLE table_name_72 (sideline_reporter_s_ VARCHAR, year VARCHAR)
|
SELECT sideline_reporter_s_ FROM table_name_72 WHERE year = 2011
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (sideline_reporter_s_ VARCHAR, year VARCHAR) Question: Who were the sideline reporter(s) in 2011? [/INST] SELECT sideline_reporter_s_ FROM table_name_72 WHERE year = 2011 </s>
|
Who were the collor commentator(s) for ESPN before 2012?
|
CREATE TABLE table_name_53 (color_commentator_s_ VARCHAR, year VARCHAR, network VARCHAR)
|
SELECT color_commentator_s_ FROM table_name_53 WHERE year < 2012 AND network = "espn"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (color_commentator_s_ VARCHAR, year VARCHAR, network VARCHAR) Question: Who were the collor commentator(s) for ESPN before 2012? [/INST] SELECT color_commentator_s_ FROM table_name_53 WHERE year < 2012 AND network = "espn" </s>
|
What higher harmonics have an NOAA of 8?
|
CREATE TABLE table_name_19 (higher_harmonics VARCHAR, noaa VARCHAR)
|
SELECT higher_harmonics FROM table_name_19 WHERE noaa = "8"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (higher_harmonics VARCHAR, noaa VARCHAR) Question: What higher harmonics have an NOAA of 8? [/INST] SELECT higher_harmonics FROM table_name_19 WHERE noaa = "8" </s>
|
What is the speed of the higher harmonics that have an NOAA of 37?
|
CREATE TABLE table_name_95 (speed VARCHAR, noaa VARCHAR)
|
SELECT speed FROM table_name_95 WHERE noaa = "37"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (speed VARCHAR, noaa VARCHAR) Question: What is the speed of the higher harmonics that have an NOAA of 37? [/INST] SELECT speed FROM table_name_95 WHERE noaa = "37" </s>
|
What is the NOAA of the higher harmonics that have a Darwin of mn 4?
|
CREATE TABLE table_name_49 (noaa VARCHAR, darwin VARCHAR)
|
SELECT noaa FROM table_name_49 WHERE darwin = "mn 4"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (noaa VARCHAR, darwin VARCHAR) Question: What is the NOAA of the higher harmonics that have a Darwin of mn 4? [/INST] SELECT noaa FROM table_name_49 WHERE darwin = "mn 4" </s>
|
What is the NOAA of the higher harmonics that have a Darwin of m sf?
|
CREATE TABLE table_name_27 (noaa VARCHAR, darwin VARCHAR)
|
SELECT noaa FROM table_name_27 WHERE darwin = "m sf"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (noaa VARCHAR, darwin VARCHAR) Question: What is the NOAA of the higher harmonics that have a Darwin of m sf? [/INST] SELECT noaa FROM table_name_27 WHERE darwin = "m sf" </s>
|
Which higher harmonics have a speed of 0.0821373?
|
CREATE TABLE table_name_36 (higher_harmonics VARCHAR, speed VARCHAR)
|
SELECT higher_harmonics FROM table_name_36 WHERE speed = "0.0821373"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (higher_harmonics VARCHAR, speed VARCHAR) Question: Which higher harmonics have a speed of 0.0821373? [/INST] SELECT higher_harmonics FROM table_name_36 WHERE speed = "0.0821373" </s>
|
What is the Home team score for the Lake Oval Venue?
|
CREATE TABLE table_name_7 (home_team VARCHAR, venue VARCHAR)
|
SELECT home_team AS score FROM table_name_7 WHERE venue = "lake oval"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (home_team VARCHAR, venue VARCHAR) Question: What is the Home team score for the Lake Oval Venue? [/INST] SELECT home_team AS score FROM table_name_7 WHERE venue = "lake oval" </s>
|
What is the 2005-05 production for milk?
|
CREATE TABLE table_name_83 (commodity VARCHAR)
|
SELECT 2004 AS _05 FROM table_name_83 WHERE commodity = "milk"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (commodity VARCHAR) Question: What is the 2005-05 production for milk? [/INST] SELECT 2004 AS _05 FROM table_name_83 WHERE commodity = "milk" </s>
|
Which home team score occurred at Victoria Park?
|
CREATE TABLE table_name_42 (home_team VARCHAR, venue VARCHAR)
|
SELECT home_team AS score FROM table_name_42 WHERE venue = "victoria park"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (home_team VARCHAR, venue VARCHAR) Question: Which home team score occurred at Victoria Park? [/INST] SELECT home_team AS score FROM table_name_42 WHERE venue = "victoria park" </s>
|
Which home team played at Glenferrie Oval?
|
CREATE TABLE table_name_67 (home_team VARCHAR, venue VARCHAR)
|
SELECT home_team FROM table_name_67 WHERE venue = "glenferrie oval"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (home_team VARCHAR, venue VARCHAR) Question: Which home team played at Glenferrie Oval? [/INST] SELECT home_team FROM table_name_67 WHERE venue = "glenferrie oval" </s>
|
On which date was the venue at Windy Hill?
|
CREATE TABLE table_name_61 (date VARCHAR, venue VARCHAR)
|
SELECT date FROM table_name_61 WHERE venue = "windy hill"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (date VARCHAR, venue VARCHAR) Question: On which date was the venue at Windy Hill? [/INST] SELECT date FROM table_name_61 WHERE venue = "windy hill" </s>
|
Who has a round of 3 with a method of decision?
|
CREATE TABLE table_name_68 (opponent VARCHAR, round VARCHAR, method VARCHAR)
|
SELECT opponent FROM table_name_68 WHERE round = "3" AND method = "decision"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (opponent VARCHAR, round VARCHAR, method VARCHAR) Question: Who has a round of 3 with a method of decision? [/INST] SELECT opponent FROM table_name_68 WHERE round = "3" AND method = "decision" </s>
|
What was the finishing time of Stage SS6?
|
CREATE TABLE table_name_63 (time VARCHAR, stage VARCHAR)
|
SELECT time FROM table_name_63 WHERE stage = "ss6"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (time VARCHAR, stage VARCHAR) Question: What was the finishing time of Stage SS6? [/INST] SELECT time FROM table_name_63 WHERE stage = "ss6" </s>
|
What was the finishing time of the stage that featured a distance of 18.25km and a start time of 11:31?
|
CREATE TABLE table_name_16 (time VARCHAR, distance VARCHAR, start_time VARCHAR)
|
SELECT time FROM table_name_16 WHERE distance = "18.25km" AND start_time = "11:31"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (time VARCHAR, distance VARCHAR, start_time VARCHAR) Question: What was the finishing time of the stage that featured a distance of 18.25km and a start time of 11:31? [/INST] SELECT time FROM table_name_16 WHERE distance = "18.25km" AND start_time = "11:31" </s>
|
What was the average speed over 18.00km for winning driver Jean-Claude Andruet?
|
CREATE TABLE table_name_23 (avg_speed VARCHAR, distance VARCHAR, winning_driver VARCHAR)
|
SELECT avg_speed FROM table_name_23 WHERE distance = "18.00km" AND winning_driver = "jean-claude andruet"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (avg_speed VARCHAR, distance VARCHAR, winning_driver VARCHAR) Question: What was the average speed over 18.00km for winning driver Jean-Claude Andruet? [/INST] SELECT avg_speed FROM table_name_23 WHERE distance = "18.00km" AND winning_driver = "jean-claude andruet" </s>
|
What was the finishing time of the Stage that featured a distance of 24.00km and a start time of 21:27?
|
CREATE TABLE table_name_78 (time VARCHAR, distance VARCHAR, start_time VARCHAR)
|
SELECT time FROM table_name_78 WHERE distance = "24.00km" AND start_time = "21:27"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (time VARCHAR, distance VARCHAR, start_time VARCHAR) Question: What was the finishing time of the Stage that featured a distance of 24.00km and a start time of 21:27? [/INST] SELECT time FROM table_name_78 WHERE distance = "24.00km" AND start_time = "21:27" </s>
|
Which name is 51.89 (2.043) long?
|
CREATE TABLE table_name_57 (name VARCHAR, length VARCHAR)
|
SELECT name FROM table_name_57 WHERE length = "51.89 (2.043)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (name VARCHAR, length VARCHAR) Question: Which name is 51.89 (2.043) long? [/INST] SELECT name FROM table_name_57 WHERE length = "51.89 (2.043)" </s>
|
Which bullet has a Shoulder of 10.92 (.430)?
|
CREATE TABLE table_name_25 (bullet VARCHAR, shoulder VARCHAR)
|
SELECT bullet FROM table_name_25 WHERE shoulder = "10.92 (.430)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (bullet VARCHAR, shoulder VARCHAR) Question: Which bullet has a Shoulder of 10.92 (.430)? [/INST] SELECT bullet FROM table_name_25 WHERE shoulder = "10.92 (.430)" </s>
|
Which shoulder has a Neck of 7.3 (.288)?
|
CREATE TABLE table_name_41 (shoulder VARCHAR, neck VARCHAR)
|
SELECT shoulder FROM table_name_41 WHERE neck = "7.3 (.288)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (shoulder VARCHAR, neck VARCHAR) Question: Which shoulder has a Neck of 7.3 (.288)? [/INST] SELECT shoulder FROM table_name_41 WHERE neck = "7.3 (.288)" </s>
|
Which bullet has a Length of 33.78 (1.33)?
|
CREATE TABLE table_name_28 (bullet VARCHAR, length VARCHAR)
|
SELECT bullet FROM table_name_28 WHERE length = "33.78 (1.33)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (bullet VARCHAR, length VARCHAR) Question: Which bullet has a Length of 33.78 (1.33)? [/INST] SELECT bullet FROM table_name_28 WHERE length = "33.78 (1.33)" </s>
|
Which length has a Bullet of 6.5 (.257)?
|
CREATE TABLE table_name_26 (length VARCHAR, bullet VARCHAR)
|
SELECT length FROM table_name_26 WHERE bullet = "6.5 (.257)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (length VARCHAR, bullet VARCHAR) Question: Which length has a Bullet of 6.5 (.257)? [/INST] SELECT length FROM table_name_26 WHERE bullet = "6.5 (.257)" </s>
|
What is the lowest overall pick for a player from Washington?
|
CREATE TABLE table_name_11 (overall INTEGER, college VARCHAR)
|
SELECT MIN(overall) FROM table_name_11 WHERE college = "washington"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (overall INTEGER, college VARCHAR) Question: What is the lowest overall pick for a player from Washington? [/INST] SELECT MIN(overall) FROM table_name_11 WHERE college = "washington" </s>
|
What position does the player from Oklahoma who was drafted in round 7 play?
|
CREATE TABLE table_name_95 (position VARCHAR, round VARCHAR, college VARCHAR)
|
SELECT position FROM table_name_95 WHERE round = 7 AND college = "oklahoma"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (position VARCHAR, round VARCHAR, college VARCHAR) Question: What position does the player from Oklahoma who was drafted in round 7 play? [/INST] SELECT position FROM table_name_95 WHERE round = 7 AND college = "oklahoma" </s>
|
What is the highest overall number for a player from Kentucky State?
|
CREATE TABLE table_name_36 (overall INTEGER, college VARCHAR)
|
SELECT MAX(overall) FROM table_name_36 WHERE college = "kentucky state"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (overall INTEGER, college VARCHAR) Question: What is the highest overall number for a player from Kentucky State? [/INST] SELECT MAX(overall) FROM table_name_36 WHERE college = "kentucky state" </s>
|
In what round was a defensive tackle drafted with an overall pick smaller than 149?
|
CREATE TABLE table_name_25 (round VARCHAR, position VARCHAR, overall VARCHAR)
|
SELECT COUNT(round) FROM table_name_25 WHERE position = "defensive tackle" AND overall < 149
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (round VARCHAR, position VARCHAR, overall VARCHAR) Question: In what round was a defensive tackle drafted with an overall pick smaller than 149? [/INST] SELECT COUNT(round) FROM table_name_25 WHERE position = "defensive tackle" AND overall < 149 </s>
|
How many attended the game with north melbourne as the away side?
|
CREATE TABLE table_name_99 (crowd VARCHAR, away_team VARCHAR)
|
SELECT COUNT(crowd) FROM table_name_99 WHERE away_team = "north melbourne"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (crowd VARCHAR, away_team VARCHAR) Question: How many attended the game with north melbourne as the away side? [/INST] SELECT COUNT(crowd) FROM table_name_99 WHERE away_team = "north melbourne" </s>
|
What venue featured north melbourne as the away side?
|
CREATE TABLE table_name_27 (venue VARCHAR, away_team VARCHAR)
|
SELECT venue FROM table_name_27 WHERE away_team = "north melbourne"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (venue VARCHAR, away_team VARCHAR) Question: What venue featured north melbourne as the away side? [/INST] SELECT venue FROM table_name_27 WHERE away_team = "north melbourne" </s>
|
How many attended the game with north melbourne as the away side?
|
CREATE TABLE table_name_58 (crowd VARCHAR, away_team VARCHAR)
|
SELECT crowd FROM table_name_58 WHERE away_team = "melbourne"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (crowd VARCHAR, away_team VARCHAR) Question: How many attended the game with north melbourne as the away side? [/INST] SELECT crowd FROM table_name_58 WHERE away_team = "melbourne" </s>
|
How many teams from the Atlantic 10 conference made it to the Elite Eight?
|
CREATE TABLE table_name_47 (elite_eight VARCHAR, conference VARCHAR)
|
SELECT elite_eight FROM table_name_47 WHERE conference = "atlantic 10"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (elite_eight VARCHAR, conference VARCHAR) Question: How many teams from the Atlantic 10 conference made it to the Elite Eight? [/INST] SELECT elite_eight FROM table_name_47 WHERE conference = "atlantic 10" </s>
|
How many Big 12 teams made it to the Final Four?
|
CREATE TABLE table_name_1 (final_four VARCHAR, conference VARCHAR)
|
SELECT final_four FROM table_name_1 WHERE conference = "big 12"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (final_four VARCHAR, conference VARCHAR) Question: How many Big 12 teams made it to the Final Four? [/INST] SELECT final_four FROM table_name_1 WHERE conference = "big 12" </s>
|
What chassis did Gordon Johncock use with his cosworth engine?
|
CREATE TABLE table_name_73 (chassis VARCHAR, engine VARCHAR, drivers VARCHAR)
|
SELECT chassis FROM table_name_73 WHERE engine = "cosworth" AND drivers = "gordon johncock"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (chassis VARCHAR, engine VARCHAR, drivers VARCHAR) Question: What chassis did Gordon Johncock use with his cosworth engine? [/INST] SELECT chassis FROM table_name_73 WHERE engine = "cosworth" AND drivers = "gordon johncock" </s>
|
Who drove the Chevrolet with the Eagle chassis?
|
CREATE TABLE table_name_21 (drivers VARCHAR, engine VARCHAR, chassis VARCHAR)
|
SELECT drivers FROM table_name_21 WHERE engine = "chevrolet" AND chassis = "eagle"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (drivers VARCHAR, engine VARCHAR, chassis VARCHAR) Question: Who drove the Chevrolet with the Eagle chassis? [/INST] SELECT drivers FROM table_name_21 WHERE engine = "chevrolet" AND chassis = "eagle" </s>
|
What tires did BFM Enterprises run on their Offy engine and manta chassis?
|
CREATE TABLE table_name_15 (tires VARCHAR, team VARCHAR, engine VARCHAR, chassis VARCHAR)
|
SELECT tires FROM table_name_15 WHERE engine = "offy" AND chassis = "manta" AND team = "bfm enterprises"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (tires VARCHAR, team VARCHAR, engine VARCHAR, chassis VARCHAR) Question: What tires did BFM Enterprises run on their Offy engine and manta chassis? [/INST] SELECT tires FROM table_name_15 WHERE engine = "offy" AND chassis = "manta" AND team = "bfm enterprises" </s>
|
What chassis does Gary Bettenhausen use?
|
CREATE TABLE table_name_13 (chassis VARCHAR, drivers VARCHAR)
|
SELECT chassis FROM table_name_13 WHERE drivers = "gary bettenhausen"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (chassis VARCHAR, drivers VARCHAR) Question: What chassis does Gary Bettenhausen use? [/INST] SELECT chassis FROM table_name_13 WHERE drivers = "gary bettenhausen" </s>
|
What chassis doe Ross Davis use?
|
CREATE TABLE table_name_51 (chassis VARCHAR, drivers VARCHAR)
|
SELECT chassis FROM table_name_51 WHERE drivers = "ross davis"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (chassis VARCHAR, drivers VARCHAR) Question: What chassis doe Ross Davis use? [/INST] SELECT chassis FROM table_name_51 WHERE drivers = "ross davis" </s>
|
What engine does Chip Mead of Parts Washer Service use?
|
CREATE TABLE table_name_36 (engine VARCHAR, team VARCHAR, drivers VARCHAR)
|
SELECT engine FROM table_name_36 WHERE team = "parts washer service" AND drivers = "chip mead"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (engine VARCHAR, team VARCHAR, drivers VARCHAR) Question: What engine does Chip Mead of Parts Washer Service use? [/INST] SELECT engine FROM table_name_36 WHERE team = "parts washer service" AND drivers = "chip mead" </s>
|
Which heat and lane was in rank of 22?
|
CREATE TABLE table_name_75 (heat__lane_ VARCHAR, rank VARCHAR)
|
SELECT heat__lane_ FROM table_name_75 WHERE rank = 22
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (heat__lane_ VARCHAR, rank VARCHAR) Question: Which heat and lane was in rank of 22? [/INST] SELECT heat__lane_ FROM table_name_75 WHERE rank = 22 </s>
|
Who has a rank below 125 and time of 00: 56.30?
|
CREATE TABLE table_name_32 (name VARCHAR, rank VARCHAR, time VARCHAR)
|
SELECT name FROM table_name_32 WHERE rank < 125 AND time = "00: 56.30"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (name VARCHAR, rank VARCHAR, time VARCHAR) Question: Who has a rank below 125 and time of 00: 56.30? [/INST] SELECT name FROM table_name_32 WHERE rank < 125 AND time = "00: 56.30" </s>
|
Which Terminus is on line 10?
|
CREATE TABLE table_name_1 (terminus VARCHAR, line VARCHAR)
|
SELECT terminus FROM table_name_1 WHERE line = "line 10"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (terminus VARCHAR, line VARCHAR) Question: Which Terminus is on line 10? [/INST] SELECT terminus FROM table_name_1 WHERE line = "line 10" </s>
|
The color diamond is assigned to which Terminus?
|
CREATE TABLE table_name_46 (terminus VARCHAR, color VARCHAR)
|
SELECT terminus FROM table_name_46 WHERE color = "diamond"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (terminus VARCHAR, color VARCHAR) Question: The color diamond is assigned to which Terminus? [/INST] SELECT terminus FROM table_name_46 WHERE color = "diamond" </s>
|
Stations of 16 is assigned what length?
|
CREATE TABLE table_name_89 (length VARCHAR, stations VARCHAR)
|
SELECT length FROM table_name_89 WHERE stations = "16"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (length VARCHAR, stations VARCHAR) Question: Stations of 16 is assigned what length? [/INST] SELECT length FROM table_name_89 WHERE stations = "16" </s>
|
The color sapphire is assigned to which Terminus?
|
CREATE TABLE table_name_4 (terminus VARCHAR, color VARCHAR)
|
SELECT terminus FROM table_name_4 WHERE color = "sapphire"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (terminus VARCHAR, color VARCHAR) Question: The color sapphire is assigned to which Terminus? [/INST] SELECT terminus FROM table_name_4 WHERE color = "sapphire" </s>
|
Daily ridership greater that 414 is associated with which length?
|
CREATE TABLE table_name_60 (length VARCHAR, daily_ridership INTEGER)
|
SELECT length FROM table_name_60 WHERE daily_ridership > 414
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (length VARCHAR, daily_ridership INTEGER) Question: Daily ridership greater that 414 is associated with which length? [/INST] SELECT length FROM table_name_60 WHERE daily_ridership > 414 </s>
|
Which competition did Târlea come in 4th place, in 2003 at Budapest, Hungary?
|
CREATE TABLE table_name_55 (competition VARCHAR, venue VARCHAR, position VARCHAR, year VARCHAR)
|
SELECT competition FROM table_name_55 WHERE position = "4th" AND year > 2003 AND venue = "budapest, hungary"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (competition VARCHAR, venue VARCHAR, position VARCHAR, year VARCHAR) Question: Which competition did Târlea come in 4th place, in 2003 at Budapest, Hungary? [/INST] SELECT competition FROM table_name_55 WHERE position = "4th" AND year > 2003 AND venue = "budapest, hungary" </s>
|
Prior to 2004, what was the name of the competition that took place in Johannesburg, South Africa and had the 400 m hurdles event?
|
CREATE TABLE table_name_75 (competition VARCHAR, venue VARCHAR, notes VARCHAR, year VARCHAR)
|
SELECT competition FROM table_name_75 WHERE notes = "400 m hurdles" AND year < 2004 AND venue = "johannesburg, south africa"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (competition VARCHAR, venue VARCHAR, notes VARCHAR, year VARCHAR) Question: Prior to 2004, what was the name of the competition that took place in Johannesburg, South Africa and had the 400 m hurdles event? [/INST] SELECT competition FROM table_name_75 WHERE notes = "400 m hurdles" AND year < 2004 AND venue = "johannesburg, south africa" </s>
|
What events did the competition that took place in 1997 have?
|
CREATE TABLE table_name_96 (notes VARCHAR, year VARCHAR)
|
SELECT notes FROM table_name_96 WHERE year = 1997
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (notes VARCHAR, year VARCHAR) Question: What events did the competition that took place in 1997 have? [/INST] SELECT notes FROM table_name_96 WHERE year = 1997 </s>
|
What was the earliest year that Târlea took 7th place?
|
CREATE TABLE table_name_6 (year INTEGER, position VARCHAR)
|
SELECT MIN(year) FROM table_name_6 WHERE position = "7th"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (year INTEGER, position VARCHAR) Question: What was the earliest year that Târlea took 7th place? [/INST] SELECT MIN(year) FROM table_name_6 WHERE position = "7th" </s>
|
What place did Târlea come in at the European Indoor Championships?
|
CREATE TABLE table_name_56 (position VARCHAR, competition VARCHAR)
|
SELECT position FROM table_name_56 WHERE competition = "european indoor championships"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (position VARCHAR, competition VARCHAR) Question: What place did Târlea come in at the European Indoor Championships? [/INST] SELECT position FROM table_name_56 WHERE competition = "european indoor championships" </s>
|
What venue did the European Championships' 400 m Hurdles take place?
|
CREATE TABLE table_name_7 (venue VARCHAR, notes VARCHAR, competition VARCHAR)
|
SELECT venue FROM table_name_7 WHERE notes = "400 m hurdles" AND competition = "european championships"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (venue VARCHAR, notes VARCHAR, competition VARCHAR) Question: What venue did the European Championships' 400 m Hurdles take place? [/INST] SELECT venue FROM table_name_7 WHERE notes = "400 m hurdles" AND competition = "european championships" </s>
|
what year has the highest marcel granollers champions?
|
CREATE TABLE table_name_34 (year INTEGER, champion VARCHAR)
|
SELECT MAX(year) FROM table_name_34 WHERE champion = "marcel granollers"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (year INTEGER, champion VARCHAR) Question: what year has the highest marcel granollers champions? [/INST] SELECT MAX(year) FROM table_name_34 WHERE champion = "marcel granollers" </s>
|
What is the child sex ration for the population with 37.7% work participation?
|
CREATE TABLE table_name_24 (sex_ratio__child_ INTEGER, work_participation___percentage_ VARCHAR)
|
SELECT MAX(sex_ratio__child_) FROM table_name_24 WHERE work_participation___percentage_ = "37.7%"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (sex_ratio__child_ INTEGER, work_participation___percentage_ VARCHAR) Question: What is the child sex ration for the population with 37.7% work participation? [/INST] SELECT MAX(sex_ratio__child_) FROM table_name_24 WHERE work_participation___percentage_ = "37.7%" </s>
|
What day does the team play at punt road oval?
|
CREATE TABLE table_name_26 (date VARCHAR, venue VARCHAR)
|
SELECT date FROM table_name_26 WHERE venue = "punt road oval"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (date VARCHAR, venue VARCHAR) Question: What day does the team play at punt road oval? [/INST] SELECT date FROM table_name_26 WHERE venue = "punt road oval" </s>
|
What venue features geelong as the away side?
|
CREATE TABLE table_name_64 (venue VARCHAR, away_team VARCHAR)
|
SELECT venue FROM table_name_64 WHERE away_team = "geelong"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (venue VARCHAR, away_team VARCHAR) Question: What venue features geelong as the away side? [/INST] SELECT venue FROM table_name_64 WHERE away_team = "geelong" </s>
|
How many pages does the story from 1987-08 have?
|
CREATE TABLE table_name_69 (pages VARCHAR, date VARCHAR)
|
SELECT pages FROM table_name_69 WHERE date = "1987-08"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (pages VARCHAR, date VARCHAR) Question: How many pages does the story from 1987-08 have? [/INST] SELECT pages FROM table_name_69 WHERE date = "1987-08" </s>
|
What is the story code of the story published on 2002-12?
|
CREATE TABLE table_name_38 (story VARCHAR, date VARCHAR)
|
SELECT story AS code FROM table_name_38 WHERE date = "2002-12"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (story VARCHAR, date VARCHAR) Question: What is the story code of the story published on 2002-12? [/INST] SELECT story AS code FROM table_name_38 WHERE date = "2002-12" </s>
|
Which driver drove car Wolf WR3?
|
CREATE TABLE table_name_12 (winning_driver VARCHAR, winning_car VARCHAR)
|
SELECT winning_driver FROM table_name_12 WHERE winning_car = "wolf wr3"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (winning_driver VARCHAR, winning_car VARCHAR) Question: Which driver drove car Wolf WR3? [/INST] SELECT winning_driver FROM table_name_12 WHERE winning_car = "wolf wr3" </s>
|
Which driver drove car McLaren M23 at the Snetterton Circuit?
|
CREATE TABLE table_name_66 (winning_driver VARCHAR, winning_car VARCHAR, circuit VARCHAR)
|
SELECT winning_driver FROM table_name_66 WHERE winning_car = "mclaren m23" AND circuit = "snetterton"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (winning_driver VARCHAR, winning_car VARCHAR, circuit VARCHAR) Question: Which driver drove car McLaren M23 at the Snetterton Circuit? [/INST] SELECT winning_driver FROM table_name_66 WHERE winning_car = "mclaren m23" AND circuit = "snetterton" </s>
|
What car did Tony Trimmer drive at the Oulton Park Circuit?
|
CREATE TABLE table_name_35 (winning_car VARCHAR, circuit VARCHAR, winning_driver VARCHAR)
|
SELECT winning_car FROM table_name_35 WHERE circuit = "oulton park" AND winning_driver = "tony trimmer"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (winning_car VARCHAR, circuit VARCHAR, winning_driver VARCHAR) Question: What car did Tony Trimmer drive at the Oulton Park Circuit? [/INST] SELECT winning_car FROM table_name_35 WHERE circuit = "oulton park" AND winning_driver = "tony trimmer" </s>
|
What date did the International Gold Cup take place?
|
CREATE TABLE table_name_69 (date VARCHAR, name VARCHAR)
|
SELECT date FROM table_name_69 WHERE name = "international gold cup"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (date VARCHAR, name VARCHAR) Question: What date did the International Gold Cup take place? [/INST] SELECT date FROM table_name_69 WHERE name = "international gold cup" </s>
|
What's the theme for a series of season 3 with smaller than 148 days?
|
CREATE TABLE table_name_6 (theme VARCHAR, days VARCHAR, series VARCHAR)
|
SELECT theme FROM table_name_6 WHERE days < 148 AND series = "season 3"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (theme VARCHAR, days VARCHAR, series VARCHAR) Question: What's the theme for a series of season 3 with smaller than 148 days? [/INST] SELECT theme FROM table_name_6 WHERE days < 148 AND series = "season 3" </s>
|
What is the home team score when the away team is Collingwood?
|
CREATE TABLE table_name_96 (home_team VARCHAR, away_team VARCHAR)
|
SELECT home_team AS score FROM table_name_96 WHERE away_team = "collingwood"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (home_team VARCHAR, away_team VARCHAR) Question: What is the home team score when the away team is Collingwood? [/INST] SELECT home_team AS score FROM table_name_96 WHERE away_team = "collingwood" </s>
|
What is the crowd size when Geelong is the away team?
|
CREATE TABLE table_name_57 (crowd VARCHAR, away_team VARCHAR)
|
SELECT crowd FROM table_name_57 WHERE away_team = "geelong"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (crowd VARCHAR, away_team VARCHAR) Question: What is the crowd size when Geelong is the away team? [/INST] SELECT crowd FROM table_name_57 WHERE away_team = "geelong" </s>
|
What is the highest crowd population when the away team is Geelong?
|
CREATE TABLE table_name_33 (crowd INTEGER, away_team VARCHAR)
|
SELECT MAX(crowd) FROM table_name_33 WHERE away_team = "geelong"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (crowd INTEGER, away_team VARCHAR) Question: What is the highest crowd population when the away team is Geelong? [/INST] SELECT MAX(crowd) FROM table_name_33 WHERE away_team = "geelong" </s>
|
What away team plays at Arden Street Oval?
|
CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)
|
SELECT away_team FROM table_name_82 WHERE venue = "arden street oval"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR) Question: What away team plays at Arden Street Oval? [/INST] SELECT away_team FROM table_name_82 WHERE venue = "arden street oval" </s>
|
Which name has a pressure of 985hpa (29.09inhg)?
|
CREATE TABLE table_name_56 (name VARCHAR, pressure VARCHAR)
|
SELECT name FROM table_name_56 WHERE pressure = "985hpa (29.09inhg)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (name VARCHAR, pressure VARCHAR) Question: Which name has a pressure of 985hpa (29.09inhg)? [/INST] SELECT name FROM table_name_56 WHERE pressure = "985hpa (29.09inhg)" </s>
|
What dates was the storm called 07 active?
|
CREATE TABLE table_name_75 (dates_active VARCHAR, name VARCHAR)
|
SELECT dates_active FROM table_name_75 WHERE name = "07"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (dates_active VARCHAR, name VARCHAR) Question: What dates was the storm called 07 active? [/INST] SELECT dates_active FROM table_name_75 WHERE name = "07" </s>
|
Which building was built in 2015, has less than 40 floors and is larger than 509 feet?
|
CREATE TABLE table_name_33 (metres INTEGER, feet VARCHAR, finalized VARCHAR, floors VARCHAR)
|
SELECT MAX(metres) FROM table_name_33 WHERE finalized = "2015" AND floors < 40 AND feet > 509
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (metres INTEGER, feet VARCHAR, finalized VARCHAR, floors VARCHAR) Question: Which building was built in 2015, has less than 40 floors and is larger than 509 feet? [/INST] SELECT MAX(metres) FROM table_name_33 WHERE finalized = "2015" AND floors < 40 AND feet > 509 </s>
|
What is the highest floor for the building measuring 220 meters?
|
CREATE TABLE table_name_97 (floors INTEGER, metres INTEGER)
|
SELECT MAX(floors) FROM table_name_97 WHERE metres > 220
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (floors INTEGER, metres INTEGER) Question: What is the highest floor for the building measuring 220 meters? [/INST] SELECT MAX(floors) FROM table_name_97 WHERE metres > 220 </s>
|
How many entries feature a year built of 2010?
|
CREATE TABLE table_name_24 (total VARCHAR, year_built VARCHAR)
|
SELECT COUNT(total) FROM table_name_24 WHERE year_built = 2010
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (total VARCHAR, year_built VARCHAR) Question: How many entries feature a year built of 2010? [/INST] SELECT COUNT(total) FROM table_name_24 WHERE year_built = 2010 </s>
|
What are the numbers for lc models built in 2009?
|
CREATE TABLE table_name_34 (numbers VARCHAR, model VARCHAR, year_built VARCHAR)
|
SELECT numbers FROM table_name_34 WHERE model = "lc" AND year_built = 2009
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (numbers VARCHAR, model VARCHAR, year_built VARCHAR) Question: What are the numbers for lc models built in 2009? [/INST] SELECT numbers FROM table_name_34 WHERE model = "lc" AND year_built = 2009 </s>
|
Who has a Record of 5-2?
|
CREATE TABLE table_name_2 (opponent VARCHAR, record VARCHAR)
|
SELECT opponent FROM table_name_2 WHERE record = "5-2"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (opponent VARCHAR, record VARCHAR) Question: Who has a Record of 5-2? [/INST] SELECT opponent FROM table_name_2 WHERE record = "5-2" </s>
|
For the race Champion Spark Plug 300, what is the report?
|
CREATE TABLE table_name_78 (report VARCHAR, race_name VARCHAR)
|
SELECT report FROM table_name_78 WHERE race_name = "champion spark plug 300"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (report VARCHAR, race_name VARCHAR) Question: For the race Champion Spark Plug 300, what is the report? [/INST] SELECT report FROM table_name_78 WHERE race_name = "champion spark plug 300" </s>
|
For the race held at the Cleveland Burke Lakefront Airport circuit, with winning driver Emerson Fittipaldi and pole position Michael Andretti, what was the winning team?
|
CREATE TABLE table_name_15 (winning_team VARCHAR, circuit VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)
|
SELECT winning_team FROM table_name_15 WHERE winning_driver = "emerson fittipaldi" AND pole_position = "michael andretti" AND circuit = "cleveland burke lakefront airport"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (winning_team VARCHAR, circuit VARCHAR, winning_driver VARCHAR, pole_position VARCHAR) Question: For the race held at the Cleveland Burke Lakefront Airport circuit, with winning driver Emerson Fittipaldi and pole position Michael Andretti, what was the winning team? [/INST] SELECT winning_team FROM table_name_15 WHERE winning_driver = "emerson fittipaldi" AND pole_position = "michael andretti" AND circuit = "cleveland burke lakefront airport" </s>
|
What is the average number of deaths for earthquakes centered in Damghan?
|
CREATE TABLE table_name_84 (fatalities INTEGER, epicenter VARCHAR)
|
SELECT AVG(fatalities) FROM table_name_84 WHERE epicenter = "damghan"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (fatalities INTEGER, epicenter VARCHAR) Question: What is the average number of deaths for earthquakes centered in Damghan? [/INST] SELECT AVG(fatalities) FROM table_name_84 WHERE epicenter = "damghan" </s>
|
What was the score of the home team when Richmond was the away team?
|
CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR)
|
SELECT home_team AS score FROM table_name_42 WHERE away_team = "richmond"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR) Question: What was the score of the home team when Richmond was the away team? [/INST] SELECT home_team AS score FROM table_name_42 WHERE away_team = "richmond" </s>
|
What was the result of the match that took place in Perth, featuring a score of 48-12?
|
CREATE TABLE table_name_33 (result VARCHAR, score VARCHAR, city VARCHAR)
|
SELECT result FROM table_name_33 WHERE score = "48-12" AND city = "perth"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (result VARCHAR, score VARCHAR, city VARCHAR) Question: What was the result of the match that took place in Perth, featuring a score of 48-12? [/INST] SELECT result FROM table_name_33 WHERE score = "48-12" AND city = "perth" </s>
|
What was the result of the match in Penrith that featured a score of 48-12?
|
CREATE TABLE table_name_81 (result VARCHAR, score VARCHAR, city VARCHAR)
|
SELECT result FROM table_name_81 WHERE score = "48-12" AND city = "penrith"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (result VARCHAR, score VARCHAR, city VARCHAR) Question: What was the result of the match in Penrith that featured a score of 48-12? [/INST] SELECT result FROM table_name_81 WHERE score = "48-12" AND city = "penrith" </s>
|
What is the home team score when st kilda is the away team?
|
CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR)
|
SELECT home_team AS score FROM table_name_51 WHERE away_team = "st kilda"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR) Question: What is the home team score when st kilda is the away team? [/INST] SELECT home_team AS score FROM table_name_51 WHERE away_team = "st kilda" </s>
|
What is the home team score when st kilda is the away team?
|
CREATE TABLE table_name_64 (home_team VARCHAR, away_team VARCHAR)
|
SELECT home_team AS score FROM table_name_64 WHERE away_team = "st kilda"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (home_team VARCHAR, away_team VARCHAR) Question: What is the home team score when st kilda is the away team? [/INST] SELECT home_team AS score FROM table_name_64 WHERE away_team = "st kilda" </s>
|
What venue featured fitzroy as the home squad?
|
CREATE TABLE table_name_62 (venue VARCHAR, home_team VARCHAR)
|
SELECT venue FROM table_name_62 WHERE home_team = "fitzroy"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (venue VARCHAR, home_team VARCHAR) Question: What venue featured fitzroy as the home squad? [/INST] SELECT venue FROM table_name_62 WHERE home_team = "fitzroy" </s>
|
What is the home team score at brunswick street oval?
|
CREATE TABLE table_name_26 (home_team VARCHAR, venue VARCHAR)
|
SELECT home_team AS score FROM table_name_26 WHERE venue = "brunswick street oval"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (home_team VARCHAR, venue VARCHAR) Question: What is the home team score at brunswick street oval? [/INST] SELECT home_team AS score FROM table_name_26 WHERE venue = "brunswick street oval" </s>
|
What nationality is the guard from ucla?
|
CREATE TABLE table_name_85 (nationality VARCHAR, position VARCHAR, school_country VARCHAR)
|
SELECT nationality FROM table_name_85 WHERE position = "guard" AND school_country = "ucla"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (nationality VARCHAR, position VARCHAR, school_country VARCHAR) Question: What nationality is the guard from ucla? [/INST] SELECT nationality FROM table_name_85 WHERE position = "guard" AND school_country = "ucla" </s>
|
What position is played by farmar, jordan jordan farmar?
|
CREATE TABLE table_name_29 (position VARCHAR, player VARCHAR)
|
SELECT position FROM table_name_29 WHERE player = "farmar, jordan jordan farmar"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (position VARCHAR, player VARCHAR) Question: What position is played by farmar, jordan jordan farmar? [/INST] SELECT position FROM table_name_29 WHERE player = "farmar, jordan jordan farmar" </s>
|
What region is William R. Johnson Coliseum in?
|
CREATE TABLE table_name_30 (region VARCHAR, venue VARCHAR)
|
SELECT region FROM table_name_30 WHERE venue = "william r. johnson coliseum"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (region VARCHAR, venue VARCHAR) Question: What region is William R. Johnson Coliseum in? [/INST] SELECT region FROM table_name_30 WHERE venue = "william r. johnson coliseum" </s>
|
What was the host for the round in Nashville?
|
CREATE TABLE table_name_78 (host VARCHAR, city VARCHAR)
|
SELECT host FROM table_name_78 WHERE city = "nashville"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (host VARCHAR, city VARCHAR) Question: What was the host for the round in Nashville? [/INST] SELECT host FROM table_name_78 WHERE city = "nashville" </s>
|
What was the host of the round at Hammons Student Center?
|
CREATE TABLE table_name_12 (host VARCHAR, venue VARCHAR)
|
SELECT host FROM table_name_12 WHERE venue = "hammons student center"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (host VARCHAR, venue VARCHAR) Question: What was the host of the round at Hammons Student Center? [/INST] SELECT host FROM table_name_12 WHERE venue = "hammons student center" </s>
|
What city is University Gym (Gold Mine) in?
|
CREATE TABLE table_name_76 (city VARCHAR, venue VARCHAR)
|
SELECT city FROM table_name_76 WHERE venue = "university gym (gold mine)"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (city VARCHAR, venue VARCHAR) Question: What city is University Gym (Gold Mine) in? [/INST] SELECT city FROM table_name_76 WHERE venue = "university gym (gold mine)" </s>
|
What city in the east region in North Carolina was the round where the University of Richmond was the host?
|
CREATE TABLE table_name_20 (city VARCHAR, host VARCHAR, region VARCHAR, state VARCHAR)
|
SELECT city FROM table_name_20 WHERE region = "east" AND state = "north carolina" AND host = "university of richmond"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (city VARCHAR, host VARCHAR, region VARCHAR, state VARCHAR) Question: What city in the east region in North Carolina was the round where the University of Richmond was the host? [/INST] SELECT city FROM table_name_20 WHERE region = "east" AND state = "north carolina" AND host = "university of richmond" </s>
|
What was the host of the round in the Montagne Center in Texas?
|
CREATE TABLE table_name_62 (host VARCHAR, state VARCHAR, venue VARCHAR)
|
SELECT host FROM table_name_62 WHERE state = "texas" AND venue = "montagne center"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (host VARCHAR, state VARCHAR, venue VARCHAR) Question: What was the host of the round in the Montagne Center in Texas? [/INST] SELECT host FROM table_name_62 WHERE state = "texas" AND venue = "montagne center" </s>
|
Which venue had a match played on August 16, 2006?
|
CREATE TABLE table_name_90 (venue VARCHAR, date VARCHAR)
|
SELECT venue FROM table_name_90 WHERE date = "august 16, 2006"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (venue VARCHAR, date VARCHAR) Question: Which venue had a match played on August 16, 2006? [/INST] SELECT venue FROM table_name_90 WHERE date = "august 16, 2006" </s>
|
Which match was played on April 2, 2006?
|
CREATE TABLE table_name_78 (competition VARCHAR, date VARCHAR)
|
SELECT competition FROM table_name_78 WHERE date = "april 2, 2006"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (competition VARCHAR, date VARCHAR) Question: Which match was played on April 2, 2006? [/INST] SELECT competition FROM table_name_78 WHERE date = "april 2, 2006" </s>
|
Who is the Constructor for round 5?
|
CREATE TABLE table_name_58 (constructor VARCHAR, rounds VARCHAR)
|
SELECT constructor FROM table_name_58 WHERE rounds = "5"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (constructor VARCHAR, rounds VARCHAR) Question: Who is the Constructor for round 5? [/INST] SELECT constructor FROM table_name_58 WHERE rounds = "5" </s>
|
Which round has the mv agusta f4 1000 mt?
|
CREATE TABLE table_name_75 (rounds VARCHAR, motorcycle VARCHAR)
|
SELECT rounds FROM table_name_75 WHERE motorcycle = "mv agusta f4 1000 mt"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (rounds VARCHAR, motorcycle VARCHAR) Question: Which round has the mv agusta f4 1000 mt? [/INST] SELECT rounds FROM table_name_75 WHERE motorcycle = "mv agusta f4 1000 mt" </s>
|
Who does Yamaha Construct for?
|
CREATE TABLE table_name_46 (team VARCHAR, constructor VARCHAR)
|
SELECT team FROM table_name_46 WHERE constructor = "yamaha"
|
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (team VARCHAR, constructor VARCHAR) Question: Who does Yamaha Construct for? [/INST] SELECT team FROM table_name_46 WHERE constructor = "yamaha" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.