instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
What is the mountain classification of Mario Cipollini, who has a general classification of Pavel tonkov?
CREATE TABLE table_name_60 (mountains_classification VARCHAR, winner VARCHAR, general_classification VARCHAR)
SELECT mountains_classification FROM table_name_60 WHERE winner = "mario cipollini" AND general_classification = "pavel tonkov"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (mountains_classification VARCHAR, winner VARCHAR, general_classification VARCHAR) Question: What is the mountain classification of Mario Cipollini, who has a general classification of Pavel tonkov? [/INST] SELECT mountains_classification FROM table_name_60 WHERE winner = "mario cipollini" AND general_classification = "pavel tonkov" </s>
What is the stage of Fabiano Fontanelli, who had a Trofeo Fast Team of Gewiss Playbus and a point classification of Fabrizio Guidi?
CREATE TABLE table_name_13 (stage VARCHAR, winner VARCHAR, trofeo_fast_team VARCHAR, points_classification VARCHAR)
SELECT stage FROM table_name_13 WHERE trofeo_fast_team = "gewiss playbus" AND points_classification = "fabrizio guidi" AND winner = "fabiano fontanelli"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (stage VARCHAR, winner VARCHAR, trofeo_fast_team VARCHAR, points_classification VARCHAR) Question: What is the stage of Fabiano Fontanelli, who had a Trofeo Fast Team of Gewiss Playbus and a point classification of Fabrizio Guidi? [/INST] SELECT stage FROM table_name_13 WHERE trofeo_fast_team = "gewiss playbus" AND points_classification = "fabrizio guidi" AND winner = "fabiano fontanelli" </s>
What is the stage with a point classification of Silvio Martinello and Davide Rebellin as the general classification?
CREATE TABLE table_name_56 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)
SELECT stage FROM table_name_56 WHERE points_classification = "silvio martinello" AND general_classification = "davide rebellin"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR) Question: What is the stage with a point classification of Silvio Martinello and Davide Rebellin as the general classification? [/INST] SELECT stage FROM table_name_56 WHERE points_classification = "silvio martinello" AND general_classification = "davide rebellin" </s>
What is the Trofeo Fast Team with a point classification of Silvio Martinello and stage 6?
CREATE TABLE table_name_67 (trofeo_fast_team VARCHAR, points_classification VARCHAR, stage VARCHAR)
SELECT trofeo_fast_team FROM table_name_67 WHERE points_classification = "silvio martinello" AND stage = "6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (trofeo_fast_team VARCHAR, points_classification VARCHAR, stage VARCHAR) Question: What is the Trofeo Fast Team with a point classification of Silvio Martinello and stage 6? [/INST] SELECT trofeo_fast_team FROM table_name_67 WHERE points_classification = "silvio martinello" AND stage = "6" </s>
How many points did the Castres have?
CREATE TABLE table_name_59 (points_for VARCHAR, club VARCHAR)
SELECT points_for FROM table_name_59 WHERE club = "castres"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (points_for VARCHAR, club VARCHAR) Question: How many points did the Castres have? [/INST] SELECT points_for FROM table_name_59 WHERE club = "castres" </s>
Who is the club that had 617 points and a draw of 0?
CREATE TABLE table_name_37 (club VARCHAR, drawn VARCHAR, points_for VARCHAR)
SELECT club FROM table_name_37 WHERE drawn = "0" AND points_for = "617"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (club VARCHAR, drawn VARCHAR, points_for VARCHAR) Question: Who is the club that had 617 points and a draw of 0? [/INST] SELECT club FROM table_name_37 WHERE drawn = "0" AND points_for = "617" </s>
What number of bonus points did Stade Français?
CREATE TABLE table_name_38 (bonus_points VARCHAR, club VARCHAR)
SELECT bonus_points FROM table_name_38 WHERE club = "stade français"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (bonus_points VARCHAR, club VARCHAR) Question: What number of bonus points did Stade Français? [/INST] SELECT bonus_points FROM table_name_38 WHERE club = "stade français" </s>
Who was the opponent at the game when the record was 15–15?
CREATE TABLE table_name_68 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_68 WHERE record = "15–15"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (opponent VARCHAR, record VARCHAR) Question: Who was the opponent at the game when the record was 15–15? [/INST] SELECT opponent FROM table_name_68 WHERE record = "15–15" </s>
Who was the opponent at the game attended by 23,203?
CREATE TABLE table_name_63 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_63 WHERE attendance = "23,203"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (opponent VARCHAR, attendance VARCHAR) Question: Who was the opponent at the game attended by 23,203? [/INST] SELECT opponent FROM table_name_63 WHERE attendance = "23,203" </s>
What was the loss of the game when the record was 16–15?
CREATE TABLE table_name_19 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_19 WHERE record = "16–15"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (loss VARCHAR, record VARCHAR) Question: What was the loss of the game when the record was 16–15? [/INST] SELECT loss FROM table_name_19 WHERE record = "16–15" </s>
What was the attendance at the game that had a score of 16–7?
CREATE TABLE table_name_8 (attendance VARCHAR, score VARCHAR)
SELECT attendance FROM table_name_8 WHERE score = "16–7"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (attendance VARCHAR, score VARCHAR) Question: What was the attendance at the game that had a score of 16–7? [/INST] SELECT attendance FROM table_name_8 WHERE score = "16–7" </s>
What was the date of the game attended by 25,022?
CREATE TABLE table_name_70 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_70 WHERE attendance = "25,022"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (date VARCHAR, attendance VARCHAR) Question: What was the date of the game attended by 25,022? [/INST] SELECT date FROM table_name_70 WHERE attendance = "25,022" </s>
Which record has an attendance larger than 28,459?
CREATE TABLE table_name_43 (record VARCHAR, attendance INTEGER)
SELECT record FROM table_name_43 WHERE attendance > 28 OFFSET 459 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (record VARCHAR, attendance INTEGER) Question: Which record has an attendance larger than 28,459? [/INST] SELECT record FROM table_name_43 WHERE attendance > 28 OFFSET 459 ROWS </s>
When the record was 32-37 what was the score?
CREATE TABLE table_name_92 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_92 WHERE record = "32-37"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (score VARCHAR, record VARCHAR) Question: When the record was 32-37 what was the score? [/INST] SELECT score FROM table_name_92 WHERE record = "32-37" </s>
On the date of june 7 what was the score?
CREATE TABLE table_name_31 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_31 WHERE date = "june 7"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (record VARCHAR, date VARCHAR) Question: On the date of june 7 what was the score? [/INST] SELECT record FROM table_name_31 WHERE date = "june 7" </s>
What was the score of the game when the record was 68-39?
CREATE TABLE table_name_8 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_8 WHERE record = "68-39"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (score VARCHAR, record VARCHAR) Question: What was the score of the game when the record was 68-39? [/INST] SELECT score FROM table_name_8 WHERE record = "68-39" </s>
What was the game of the game against the White Sox with a record of 81-48?
CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT date FROM table_name_75 WHERE opponent = "white sox" AND record = "81-48"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR, record VARCHAR) Question: What was the game of the game against the White Sox with a record of 81-48? [/INST] SELECT date FROM table_name_75 WHERE opponent = "white sox" AND record = "81-48" </s>
What was the date of the game when the record was 66-38?
CREATE TABLE table_name_54 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_54 WHERE record = "66-38"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (date VARCHAR, record VARCHAR) Question: What was the date of the game when the record was 66-38? [/INST] SELECT date FROM table_name_54 WHERE record = "66-38" </s>
What category was Brian D'arcy James nominated for?
CREATE TABLE table_name_6 (category VARCHAR, nominee VARCHAR, result VARCHAR)
SELECT category FROM table_name_6 WHERE nominee = "brian d'arcy james" AND result = "nominated"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (category VARCHAR, nominee VARCHAR, result VARCHAR) Question: What category was Brian D'arcy James nominated for? [/INST] SELECT category FROM table_name_6 WHERE nominee = "brian d'arcy james" AND result = "nominated" </s>
What is the item "Moving to", when the Transfer fee is £300,000?
CREATE TABLE table_name_56 (moving_to VARCHAR, transfer_fee VARCHAR)
SELECT moving_to FROM table_name_56 WHERE transfer_fee = "£300,000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (moving_to VARCHAR, transfer_fee VARCHAR) Question: What is the item "Moving to", when the Transfer fee is £300,000? [/INST] SELECT moving_to FROM table_name_56 WHERE transfer_fee = "£300,000" </s>
What is the Country, when the Transfer fee is "loan", and when the Name is Lynch?
CREATE TABLE table_name_94 (country VARCHAR, transfer_fee VARCHAR, name VARCHAR)
SELECT country FROM table_name_94 WHERE transfer_fee = "loan" AND name = "lynch"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (country VARCHAR, transfer_fee VARCHAR, name VARCHAR) Question: What is the Country, when the Transfer fee is "loan", and when the Name is Lynch? [/INST] SELECT country FROM table_name_94 WHERE transfer_fee = "loan" AND name = "lynch" </s>
What is the Transfer window, when the Transfer fee is "free", and when the Name is Dugdale?
CREATE TABLE table_name_86 (transfer_window VARCHAR, transfer_fee VARCHAR, name VARCHAR)
SELECT transfer_window FROM table_name_86 WHERE transfer_fee = "free" AND name = "dugdale"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (transfer_window VARCHAR, transfer_fee VARCHAR, name VARCHAR) Question: What is the Transfer window, when the Transfer fee is "free", and when the Name is Dugdale? [/INST] SELECT transfer_window FROM table_name_86 WHERE transfer_fee = "free" AND name = "dugdale" </s>
What is the Name, when the Transfer fee is "loan"?
CREATE TABLE table_name_80 (name VARCHAR, transfer_fee VARCHAR)
SELECT name FROM table_name_80 WHERE transfer_fee = "loan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (name VARCHAR, transfer_fee VARCHAR) Question: What is the Name, when the Transfer fee is "loan"? [/INST] SELECT name FROM table_name_80 WHERE transfer_fee = "loan" </s>
What is the Transfer window, when the Transfer fee is "free", and when the item "Moving to" is Norwich City?
CREATE TABLE table_name_30 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)
SELECT transfer_window FROM table_name_30 WHERE transfer_fee = "free" AND moving_to = "norwich city"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) Question: What is the Transfer window, when the Transfer fee is "free", and when the item "Moving to" is Norwich City? [/INST] SELECT transfer_window FROM table_name_30 WHERE transfer_fee = "free" AND moving_to = "norwich city" </s>
What is the Transfer fee, when the Transfer window is "winter", and when the item "Moving to" is Northwich Victoria?
CREATE TABLE table_name_94 (transfer_fee VARCHAR, transfer_window VARCHAR, moving_to VARCHAR)
SELECT transfer_fee FROM table_name_94 WHERE transfer_window = "winter" AND moving_to = "northwich victoria"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (transfer_fee VARCHAR, transfer_window VARCHAR, moving_to VARCHAR) Question: What is the Transfer fee, when the Transfer window is "winter", and when the item "Moving to" is Northwich Victoria? [/INST] SELECT transfer_fee FROM table_name_94 WHERE transfer_window = "winter" AND moving_to = "northwich victoria" </s>
What companyw as the constructor when the Time/Retired was collision, and a Grid of 11?
CREATE TABLE table_name_44 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR)
SELECT constructor FROM table_name_44 WHERE time_retired = "collision" AND grid = "11"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR) Question: What companyw as the constructor when the Time/Retired was collision, and a Grid of 11? [/INST] SELECT constructor FROM table_name_44 WHERE time_retired = "collision" AND grid = "11" </s>
What shows as the Time/Retired for Grid 8?
CREATE TABLE table_name_2 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_2 WHERE grid = "8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (time_retired VARCHAR, grid VARCHAR) Question: What shows as the Time/Retired for Grid 8? [/INST] SELECT time_retired FROM table_name_2 WHERE grid = "8" </s>
What is the number of laps for Grid 3?
CREATE TABLE table_name_36 (laps VARCHAR, grid VARCHAR)
SELECT laps FROM table_name_36 WHERE grid = "3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (laps VARCHAR, grid VARCHAR) Question: What is the number of laps for Grid 3? [/INST] SELECT laps FROM table_name_36 WHERE grid = "3" </s>
What company was the constructor when Nick Heidfeld was the driver/
CREATE TABLE table_name_50 (constructor VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_50 WHERE driver = "nick heidfeld"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (constructor VARCHAR, driver VARCHAR) Question: What company was the constructor when Nick Heidfeld was the driver/ [/INST] SELECT constructor FROM table_name_50 WHERE driver = "nick heidfeld" </s>
What shows for laps when the Time/Retired was +1:08.577?
CREATE TABLE table_name_48 (laps VARCHAR, time_retired VARCHAR)
SELECT laps FROM table_name_48 WHERE time_retired = "+1:08.577"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (laps VARCHAR, time_retired VARCHAR) Question: What shows for laps when the Time/Retired was +1:08.577? [/INST] SELECT laps FROM table_name_48 WHERE time_retired = "+1:08.577" </s>
What is the name of the constructor for Grid 1?
CREATE TABLE table_name_11 (constructor VARCHAR, grid VARCHAR)
SELECT constructor FROM table_name_11 WHERE grid = "1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (constructor VARCHAR, grid VARCHAR) Question: What is the name of the constructor for Grid 1? [/INST] SELECT constructor FROM table_name_11 WHERE grid = "1" </s>
When was Mushfiqur Rahim's test career?
CREATE TABLE table_name_98 (test_career VARCHAR, player VARCHAR)
SELECT test_career FROM table_name_98 WHERE player = "mushfiqur rahim"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (test_career VARCHAR, player VARCHAR) Question: When was Mushfiqur Rahim's test career? [/INST] SELECT test_career FROM table_name_98 WHERE player = "mushfiqur rahim" </s>
Name the sum of points for 1984
CREATE TABLE table_name_95 (points INTEGER, year INTEGER)
SELECT SUM(points) FROM table_name_95 WHERE year < 1984
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (points INTEGER, year INTEGER) Question: Name the sum of points for 1984 [/INST] SELECT SUM(points) FROM table_name_95 WHERE year < 1984 </s>
Name the points for Engine of chevrolet 265c
CREATE TABLE table_name_99 (points VARCHAR, engine VARCHAR)
SELECT points FROM table_name_99 WHERE engine = "chevrolet 265c"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (points VARCHAR, engine VARCHAR) Question: Name the points for Engine of chevrolet 265c [/INST] SELECT points FROM table_name_99 WHERE engine = "chevrolet 265c" </s>
Name the chassis of 147 points and engine of ford cosworth dfx
CREATE TABLE table_name_43 (chassis VARCHAR, points VARCHAR, engine VARCHAR)
SELECT chassis FROM table_name_43 WHERE points = 147 AND engine = "ford cosworth dfx"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (chassis VARCHAR, points VARCHAR, engine VARCHAR) Question: Name the chassis of 147 points and engine of ford cosworth dfx [/INST] SELECT chassis FROM table_name_43 WHERE points = 147 AND engine = "ford cosworth dfx" </s>
Which term had a Democratic representative from district 7?
CREATE TABLE table_name_22 (term VARCHAR, district VARCHAR, party VARCHAR)
SELECT term FROM table_name_22 WHERE district = "7" AND party = "democratic"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (term VARCHAR, district VARCHAR, party VARCHAR) Question: Which term had a Democratic representative from district 7? [/INST] SELECT term FROM table_name_22 WHERE district = "7" AND party = "democratic" </s>
What was the term of Bruce Biers Kendall whose hometown is Anchorage?
CREATE TABLE table_name_6 (term VARCHAR, hometown VARCHAR, name VARCHAR)
SELECT term FROM table_name_6 WHERE hometown = "anchorage" AND name = "bruce biers kendall"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (term VARCHAR, hometown VARCHAR, name VARCHAR) Question: What was the term of Bruce Biers Kendall whose hometown is Anchorage? [/INST] SELECT term FROM table_name_6 WHERE hometown = "anchorage" AND name = "bruce biers kendall" </s>
What is the hometown of the representative that served the twenty-sixth legislature?
CREATE TABLE table_name_22 (hometown VARCHAR, legislatures VARCHAR)
SELECT hometown FROM table_name_22 WHERE legislatures = "twenty-sixth"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (hometown VARCHAR, legislatures VARCHAR) Question: What is the hometown of the representative that served the twenty-sixth legislature? [/INST] SELECT hometown FROM table_name_22 WHERE legislatures = "twenty-sixth" </s>
What is the qual with a 19 rank?
CREATE TABLE table_name_28 (qual VARCHAR, rank VARCHAR)
SELECT qual FROM table_name_28 WHERE rank = "19"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (qual VARCHAR, rank VARCHAR) Question: What is the qual with a 19 rank? [/INST] SELECT qual FROM table_name_28 WHERE rank = "19" </s>
What rank has a 25 finish?
CREATE TABLE table_name_33 (rank VARCHAR, finish VARCHAR)
SELECT rank FROM table_name_33 WHERE finish = "25"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (rank VARCHAR, finish VARCHAR) Question: What rank has a 25 finish? [/INST] SELECT rank FROM table_name_33 WHERE finish = "25" </s>
What finish has a 143.056 qual?
CREATE TABLE table_name_69 (finish VARCHAR, qual VARCHAR)
SELECT finish FROM table_name_69 WHERE qual = "143.056"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (finish VARCHAR, qual VARCHAR) Question: What finish has a 143.056 qual? [/INST] SELECT finish FROM table_name_69 WHERE qual = "143.056" </s>
What rank had more than 165 laps and a finish of 5?
CREATE TABLE table_name_17 (rank VARCHAR, laps VARCHAR, finish VARCHAR)
SELECT rank FROM table_name_17 WHERE laps > 165 AND finish = "5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (rank VARCHAR, laps VARCHAR, finish VARCHAR) Question: What rank had more than 165 laps and a finish of 5? [/INST] SELECT rank FROM table_name_17 WHERE laps > 165 AND finish = "5" </s>
What was the record at the game against the Blue Jays with a loss of Batista (0–3)?
CREATE TABLE table_name_22 (record VARCHAR, opponent VARCHAR, loss VARCHAR)
SELECT record FROM table_name_22 WHERE opponent = "blue jays" AND loss = "batista (0–3)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (record VARCHAR, opponent VARCHAR, loss VARCHAR) Question: What was the record at the game against the Blue Jays with a loss of Batista (0–3)? [/INST] SELECT record FROM table_name_22 WHERE opponent = "blue jays" AND loss = "batista (0–3)" </s>
What was the loss of the game when the record was 14–8?
CREATE TABLE table_name_90 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_90 WHERE record = "14–8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (loss VARCHAR, record VARCHAR) Question: What was the loss of the game when the record was 14–8? [/INST] SELECT loss FROM table_name_90 WHERE record = "14–8" </s>
What was the score of the game when the record was 28–19?
CREATE TABLE table_name_62 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_62 WHERE record = "28–19"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (score VARCHAR, record VARCHAR) Question: What was the score of the game when the record was 28–19? [/INST] SELECT score FROM table_name_62 WHERE record = "28–19" </s>
What was the record at the game held on May 1st with a loss of Speier (1–3)?
CREATE TABLE table_name_94 (record VARCHAR, date VARCHAR, loss VARCHAR)
SELECT record FROM table_name_94 WHERE date = "may 1" AND loss = "speier (1–3)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (record VARCHAR, date VARCHAR, loss VARCHAR) Question: What was the record at the game held on May 1st with a loss of Speier (1–3)? [/INST] SELECT record FROM table_name_94 WHERE date = "may 1" AND loss = "speier (1–3)" </s>
How many goes played fot hteam that lost less than 12 games, drew 5, and had over 37 points?
CREATE TABLE table_name_75 (played VARCHAR, drawn VARCHAR, lost VARCHAR, points VARCHAR)
SELECT played FROM table_name_75 WHERE lost < 12 AND points > 37 AND drawn = 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (played VARCHAR, drawn VARCHAR, lost VARCHAR, points VARCHAR) Question: How many goes played fot hteam that lost less than 12 games, drew 5, and had over 37 points? [/INST] SELECT played FROM table_name_75 WHERE lost < 12 AND points > 37 AND drawn = 5 </s>
How many games lost for the team that drew 5 times and had over 41 points?
CREATE TABLE table_name_83 (lost INTEGER, drawn VARCHAR, points VARCHAR)
SELECT AVG(lost) FROM table_name_83 WHERE drawn = 5 AND points > 41
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (lost INTEGER, drawn VARCHAR, points VARCHAR) Question: How many games lost for the team that drew 5 times and had over 41 points? [/INST] SELECT AVG(lost) FROM table_name_83 WHERE drawn = 5 AND points > 41 </s>
How many games played for the army team with over 51 points and under 5 games drawn?
CREATE TABLE table_name_81 (played VARCHAR, points VARCHAR, drawn VARCHAR, team VARCHAR)
SELECT COUNT(played) FROM table_name_81 WHERE drawn < 5 AND team = "army" AND points > 51
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (played VARCHAR, points VARCHAR, drawn VARCHAR, team VARCHAR) Question: How many games played for the army team with over 51 points and under 5 games drawn? [/INST] SELECT COUNT(played) FROM table_name_81 WHERE drawn < 5 AND team = "army" AND points > 51 </s>
How many points for the navy team that lost over 11?
CREATE TABLE table_name_4 (points INTEGER, team VARCHAR, lost VARCHAR)
SELECT SUM(points) FROM table_name_4 WHERE team = "navy" AND lost > 11
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (points INTEGER, team VARCHAR, lost VARCHAR) Question: How many points for the navy team that lost over 11? [/INST] SELECT SUM(points) FROM table_name_4 WHERE team = "navy" AND lost > 11 </s>
What class of car had the XI Coppa Acerbo title?
CREATE TABLE table_name_31 (class VARCHAR, race_title VARCHAR)
SELECT class FROM table_name_31 WHERE race_title = "xi coppa acerbo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (class VARCHAR, race_title VARCHAR) Question: What class of car had the XI Coppa Acerbo title? [/INST] SELECT class FROM table_name_31 WHERE race_title = "xi coppa acerbo" </s>
Who won the III Coppa Acerbo title?
CREATE TABLE table_name_67 (driver_s VARCHAR, race_title VARCHAR)
SELECT driver_s FROM table_name_67 WHERE race_title = "iii coppa acerbo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (driver_s VARCHAR, race_title VARCHAR) Question: Who won the III Coppa Acerbo title? [/INST] SELECT driver_s FROM table_name_67 WHERE race_title = "iii coppa acerbo" </s>
What's the name of the title for the Maserati A6GCS?
CREATE TABLE table_name_81 (race_title VARCHAR, vehicle VARCHAR)
SELECT race_title FROM table_name_81 WHERE vehicle = "maserati a6gcs"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (race_title VARCHAR, vehicle VARCHAR) Question: What's the name of the title for the Maserati A6GCS? [/INST] SELECT race_title FROM table_name_81 WHERE vehicle = "maserati a6gcs" </s>
Who won the XXIV Gran Premio di Pescara in the sports car class?
CREATE TABLE table_name_81 (driver_s VARCHAR, class VARCHAR, race_title VARCHAR)
SELECT driver_s FROM table_name_81 WHERE class = "sports car" AND race_title = "xxiv gran premio di pescara"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (driver_s VARCHAR, class VARCHAR, race_title VARCHAR) Question: Who won the XXIV Gran Premio di Pescara in the sports car class? [/INST] SELECT driver_s FROM table_name_81 WHERE class = "sports car" AND race_title = "xxiv gran premio di pescara" </s>
What surface was the città di caltanissetta played on?
CREATE TABLE table_name_22 (surface VARCHAR, tournament VARCHAR)
SELECT surface FROM table_name_22 WHERE tournament = "città di caltanissetta"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (surface VARCHAR, tournament VARCHAR) Question: What surface was the città di caltanissetta played on? [/INST] SELECT surface FROM table_name_22 WHERE tournament = "città di caltanissetta" </s>
What was the score in Volkswagen Challenger tournament?
CREATE TABLE table_name_1 (score VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_1 WHERE tournament = "volkswagen challenger"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (score VARCHAR, tournament VARCHAR) Question: What was the score in Volkswagen Challenger tournament? [/INST] SELECT score FROM table_name_1 WHERE tournament = "volkswagen challenger" </s>
what is the production in 2010 with 2011 production of 2,240,000?
CREATE TABLE table_name_23 (Id VARCHAR)
SELECT 2010 FROM table_name_23 WHERE 2011 = "2,240,000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (Id VARCHAR) Question: what is the production in 2010 with 2011 production of 2,240,000? [/INST] SELECT 2010 FROM table_name_23 WHERE 2011 = "2,240,000" </s>
what is the ranking for 2010 production of 2,903,000?
CREATE TABLE table_name_52 (rank VARCHAR)
SELECT rank FROM table_name_52 WHERE 2010 = "2,903,000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (rank VARCHAR) Question: what is the ranking for 2010 production of 2,903,000? [/INST] SELECT rank FROM table_name_52 WHERE 2010 = "2,903,000" </s>
what is the production in 2010 with rank of 8?
CREATE TABLE table_name_39 (rank VARCHAR)
SELECT 2010 FROM table_name_39 WHERE rank = "8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (rank VARCHAR) Question: what is the production in 2010 with rank of 8? [/INST] SELECT 2010 FROM table_name_39 WHERE rank = "8" </s>
What club captain is John Hutchinson in?
CREATE TABLE table_name_95 (club VARCHAR, captain VARCHAR)
SELECT club FROM table_name_95 WHERE captain = "john hutchinson"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (club VARCHAR, captain VARCHAR) Question: What club captain is John Hutchinson in? [/INST] SELECT club FROM table_name_95 WHERE captain = "john hutchinson" </s>
What Australian Marquee team is Michael Beauchamp a captain of?
CREATE TABLE table_name_13 (australian_marquee VARCHAR, captain VARCHAR)
SELECT australian_marquee FROM table_name_13 WHERE captain = "michael beauchamp"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (australian_marquee VARCHAR, captain VARCHAR) Question: What Australian Marquee team is Michael Beauchamp a captain of? [/INST] SELECT australian_marquee FROM table_name_13 WHERE captain = "michael beauchamp" </s>
What Junior Marquee team is Harry Kewell of?
CREATE TABLE table_name_22 (junior_marquee_player VARCHAR, captain VARCHAR)
SELECT junior_marquee_player FROM table_name_22 WHERE captain = "harry kewell"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (junior_marquee_player VARCHAR, captain VARCHAR) Question: What Junior Marquee team is Harry Kewell of? [/INST] SELECT junior_marquee_player FROM table_name_22 WHERE captain = "harry kewell" </s>
What is the name of call sign that uses a Frequency MHz of 91.1 fm?
CREATE TABLE table_name_33 (call_sign VARCHAR, frequency_mhz VARCHAR)
SELECT call_sign FROM table_name_33 WHERE frequency_mhz = "91.1 fm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (call_sign VARCHAR, frequency_mhz VARCHAR) Question: What is the name of call sign that uses a Frequency MHz of 91.1 fm? [/INST] SELECT call_sign FROM table_name_33 WHERE frequency_mhz = "91.1 fm" </s>
How much is the total ERP W for an 107.9 fm freqeuncy MHz?
CREATE TABLE table_name_63 (erp_w VARCHAR, frequency_mhz VARCHAR)
SELECT COUNT(erp_w) FROM table_name_63 WHERE frequency_mhz = "107.9 fm"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (erp_w VARCHAR, frequency_mhz VARCHAR) Question: How much is the total ERP W for an 107.9 fm freqeuncy MHz? [/INST] SELECT COUNT(erp_w) FROM table_name_63 WHERE frequency_mhz = "107.9 fm" </s>
Can you tell me what is FCC info for harmony township, new jersey?
CREATE TABLE table_name_39 (fcc_info VARCHAR, city_of_license VARCHAR)
SELECT fcc_info FROM table_name_39 WHERE city_of_license = "harmony township, new jersey"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (fcc_info VARCHAR, city_of_license VARCHAR) Question: Can you tell me what is FCC info for harmony township, new jersey? [/INST] SELECT fcc_info FROM table_name_39 WHERE city_of_license = "harmony township, new jersey" </s>
What is the smallest ERP for allentown, pennsylvania?
CREATE TABLE table_name_66 (erp_w INTEGER, city_of_license VARCHAR)
SELECT MIN(erp_w) FROM table_name_66 WHERE city_of_license = "allentown, pennsylvania"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (erp_w INTEGER, city_of_license VARCHAR) Question: What is the smallest ERP for allentown, pennsylvania? [/INST] SELECT MIN(erp_w) FROM table_name_66 WHERE city_of_license = "allentown, pennsylvania" </s>
Which grid has a time/retired of +3.9 secs in less than 96 laps?
CREATE TABLE table_name_42 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
SELECT AVG(grid) FROM table_name_42 WHERE time_retired = "+3.9 secs" AND laps < 96
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) Question: Which grid has a time/retired of +3.9 secs in less than 96 laps? [/INST] SELECT AVG(grid) FROM table_name_42 WHERE time_retired = "+3.9 secs" AND laps < 96 </s>
Which driver has 7 points for team Australia?
CREATE TABLE table_name_28 (driver VARCHAR, points VARCHAR, team VARCHAR)
SELECT driver FROM table_name_28 WHERE points = 7 AND team = "team australia"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (driver VARCHAR, points VARCHAR, team VARCHAR) Question: Which driver has 7 points for team Australia? [/INST] SELECT driver FROM table_name_28 WHERE points = 7 AND team = "team australia" </s>
What is the fewest number of laps for a Dale Coyne Racing team with a mechanical time/retired and fewer than 5 points?
CREATE TABLE table_name_85 (laps INTEGER, points VARCHAR, team VARCHAR, time_retired VARCHAR)
SELECT MIN(laps) FROM table_name_85 WHERE team = "dale coyne racing" AND time_retired = "mechanical" AND points < 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (laps INTEGER, points VARCHAR, team VARCHAR, time_retired VARCHAR) Question: What is the fewest number of laps for a Dale Coyne Racing team with a mechanical time/retired and fewer than 5 points? [/INST] SELECT MIN(laps) FROM table_name_85 WHERE team = "dale coyne racing" AND time_retired = "mechanical" AND points < 5 </s>
What is the highest points total scored by Dan Clarke in a grid higher than 10?
CREATE TABLE table_name_61 (points INTEGER, driver VARCHAR, grid VARCHAR)
SELECT MAX(points) FROM table_name_61 WHERE driver = "dan clarke" AND grid > 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (points INTEGER, driver VARCHAR, grid VARCHAR) Question: What is the highest points total scored by Dan Clarke in a grid higher than 10? [/INST] SELECT MAX(points) FROM table_name_61 WHERE driver = "dan clarke" AND grid > 10 </s>
What is the earliest episode of the series that is set in Boston, Massachusetts?
CREATE TABLE table_name_80 (total INTEGER, location VARCHAR)
SELECT MIN(total) FROM table_name_80 WHERE location = "boston, massachusetts"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (total INTEGER, location VARCHAR) Question: What is the earliest episode of the series that is set in Boston, Massachusetts? [/INST] SELECT MIN(total) FROM table_name_80 WHERE location = "boston, massachusetts" </s>
How many people were surveyed in the poll from June 30, 2010?
CREATE TABLE table_name_84 (sample_size VARCHAR, date_s__administered VARCHAR)
SELECT sample_size FROM table_name_84 WHERE date_s__administered = "june 30, 2010"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (sample_size VARCHAR, date_s__administered VARCHAR) Question: How many people were surveyed in the poll from June 30, 2010? [/INST] SELECT sample_size FROM table_name_84 WHERE date_s__administered = "june 30, 2010" </s>
What percentage of the vote with a margin of error of ± 3.3% did Meg Whitman (R) get?
CREATE TABLE table_name_35 (meg_whitman__r_ VARCHAR, margin_of_error VARCHAR)
SELECT meg_whitman__r_ FROM table_name_35 WHERE margin_of_error = "± 3.3%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (meg_whitman__r_ VARCHAR, margin_of_error VARCHAR) Question: What percentage of the vote with a margin of error of ± 3.3% did Meg Whitman (R) get? [/INST] SELECT meg_whitman__r_ FROM table_name_35 WHERE margin_of_error = "± 3.3%" </s>
How many people participated in the Rasmussen Reports poll on October 13, 2010?
CREATE TABLE table_name_61 (sample_size VARCHAR, poll_source VARCHAR, date_s__administered VARCHAR)
SELECT sample_size FROM table_name_61 WHERE poll_source = "rasmussen reports" AND date_s__administered = "october 13, 2010"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (sample_size VARCHAR, poll_source VARCHAR, date_s__administered VARCHAR) Question: How many people participated in the Rasmussen Reports poll on October 13, 2010? [/INST] SELECT sample_size FROM table_name_61 WHERE poll_source = "rasmussen reports" AND date_s__administered = "october 13, 2010" </s>
What percent of the vote went to Meg Whitman in the poll taken on October 21, 2010.
CREATE TABLE table_name_51 (meg_whitman__r_ VARCHAR, date_s__administered VARCHAR)
SELECT meg_whitman__r_ FROM table_name_51 WHERE date_s__administered = "october 21, 2010"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (meg_whitman__r_ VARCHAR, date_s__administered VARCHAR) Question: What percent of the vote went to Meg Whitman in the poll taken on October 21, 2010. [/INST] SELECT meg_whitman__r_ FROM table_name_51 WHERE date_s__administered = "october 21, 2010" </s>
What is the Prize, when the Event is Ept Deauville?
CREATE TABLE table_name_10 (prize VARCHAR, event VARCHAR)
SELECT prize FROM table_name_10 WHERE event = "ept deauville"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (prize VARCHAR, event VARCHAR) Question: What is the Prize, when the Event is Ept Deauville? [/INST] SELECT prize FROM table_name_10 WHERE event = "ept deauville" </s>
What is the City, when the Prize is €880,000?
CREATE TABLE table_name_26 (city VARCHAR, prize VARCHAR)
SELECT city FROM table_name_26 WHERE prize = "€880,000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (city VARCHAR, prize VARCHAR) Question: What is the City, when the Prize is €880,000? [/INST] SELECT city FROM table_name_26 WHERE prize = "€880,000" </s>
What is the City, when the Winner is Ruben Visser?
CREATE TABLE table_name_25 (city VARCHAR, winner VARCHAR)
SELECT city FROM table_name_25 WHERE winner = "ruben visser"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (city VARCHAR, winner VARCHAR) Question: What is the City, when the Winner is Ruben Visser? [/INST] SELECT city FROM table_name_25 WHERE winner = "ruben visser" </s>
Who is the Winner, when the Prize is €880,000?
CREATE TABLE table_name_98 (winner VARCHAR, prize VARCHAR)
SELECT winner FROM table_name_98 WHERE prize = "€880,000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (winner VARCHAR, prize VARCHAR) Question: Who is the Winner, when the Prize is €880,000? [/INST] SELECT winner FROM table_name_98 WHERE prize = "€880,000" </s>
What is the City, when the Prize is $1,859,000?
CREATE TABLE table_name_17 (city VARCHAR, prize VARCHAR)
SELECT city FROM table_name_17 WHERE prize = "$1,859,000"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (city VARCHAR, prize VARCHAR) Question: What is the City, when the Prize is $1,859,000? [/INST] SELECT city FROM table_name_17 WHERE prize = "$1,859,000" </s>
What is the Prize, when the Event is Ept Sanremo?
CREATE TABLE table_name_11 (prize VARCHAR, event VARCHAR)
SELECT prize FROM table_name_11 WHERE event = "ept sanremo"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (prize VARCHAR, event VARCHAR) Question: What is the Prize, when the Event is Ept Sanremo? [/INST] SELECT prize FROM table_name_11 WHERE event = "ept sanremo" </s>
On what date was the venue at Edgbaston?
CREATE TABLE table_name_97 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_97 WHERE venue = "edgbaston"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (date VARCHAR, venue VARCHAR) Question: On what date was the venue at Edgbaston? [/INST] SELECT date FROM table_name_97 WHERE venue = "edgbaston" </s>
What is the lowest image with a 20w Harrison, and less than 20 for Ashmolean?
CREATE TABLE table_name_51 (image INTEGER, harrison VARCHAR, ashmolean VARCHAR)
SELECT MIN(image) FROM table_name_51 WHERE harrison = "20w" AND ashmolean < 20
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (image INTEGER, harrison VARCHAR, ashmolean VARCHAR) Question: What is the lowest image with a 20w Harrison, and less than 20 for Ashmolean? [/INST] SELECT MIN(image) FROM table_name_51 WHERE harrison = "20w" AND ashmolean < 20 </s>
What is the number of Ashmolean with 14s Harrison, and image less than 542?
CREATE TABLE table_name_40 (ashmolean VARCHAR, harrison VARCHAR, image VARCHAR)
SELECT COUNT(ashmolean) FROM table_name_40 WHERE harrison = "14s" AND image < 542
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (ashmolean VARCHAR, harrison VARCHAR, image VARCHAR) Question: What is the number of Ashmolean with 14s Harrison, and image less than 542? [/INST] SELECT COUNT(ashmolean) FROM table_name_40 WHERE harrison = "14s" AND image < 542 </s>
What is the cooper with an Ashmolean less than 21, and hahland smaller than 4?
CREATE TABLE table_name_43 (cooper VARCHAR, ashmolean VARCHAR, hahland VARCHAR)
SELECT cooper FROM table_name_43 WHERE ashmolean < 21 AND hahland < 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (cooper VARCHAR, ashmolean VARCHAR, hahland VARCHAR) Question: What is the cooper with an Ashmolean less than 21, and hahland smaller than 4? [/INST] SELECT cooper FROM table_name_43 WHERE ashmolean < 21 AND hahland < 4 </s>
What is the smith with a 16 ashmolean?
CREATE TABLE table_name_62 (smith VARCHAR, ashmolean VARCHAR)
SELECT smith FROM table_name_62 WHERE ashmolean = 16
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (smith VARCHAR, ashmolean VARCHAR) Question: What is the smith with a 16 ashmolean? [/INST] SELECT smith FROM table_name_62 WHERE ashmolean = 16 </s>
What order has the Species Authority of hydrochaeris hydrochaeris (linnaeus, 1766)?
CREATE TABLE table_name_84 (order VARCHAR, species_authority VARCHAR)
SELECT order FROM table_name_84 WHERE species_authority = "hydrochaeris hydrochaeris (linnaeus, 1766)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_84 (order VARCHAR, species_authority VARCHAR) Question: What order has the Species Authority of hydrochaeris hydrochaeris (linnaeus, 1766)? [/INST] SELECT order FROM table_name_84 WHERE species_authority = "hydrochaeris hydrochaeris (linnaeus, 1766)" </s>
What is the highest Red List for the muridae family and species Authority of microtus pinetorum (le conte, 1830)?
CREATE TABLE table_name_70 (red_list INTEGER, family VARCHAR, species_authority VARCHAR)
SELECT MAX(red_list) FROM table_name_70 WHERE family = "muridae" AND species_authority = "microtus pinetorum (le conte, 1830)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (red_list INTEGER, family VARCHAR, species_authority VARCHAR) Question: What is the highest Red List for the muridae family and species Authority of microtus pinetorum (le conte, 1830)? [/INST] SELECT MAX(red_list) FROM table_name_70 WHERE family = "muridae" AND species_authority = "microtus pinetorum (le conte, 1830)" </s>
What is the name for the species Authority of sigmodon hispidus say & ord, 1825?
CREATE TABLE table_name_76 (name VARCHAR, species_authority VARCHAR)
SELECT name FROM table_name_76 WHERE species_authority = "sigmodon hispidus say & ord, 1825"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (name VARCHAR, species_authority VARCHAR) Question: What is the name for the species Authority of sigmodon hispidus say & ord, 1825? [/INST] SELECT name FROM table_name_76 WHERE species_authority = "sigmodon hispidus say & ord, 1825" </s>
What is the largest total with a Silver of 1, and a Rank larger than 7?
CREATE TABLE table_name_73 (total INTEGER, silver VARCHAR, rank VARCHAR)
SELECT MAX(total) FROM table_name_73 WHERE silver = 1 AND rank > 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_73 (total INTEGER, silver VARCHAR, rank VARCHAR) Question: What is the largest total with a Silver of 1, and a Rank larger than 7? [/INST] SELECT MAX(total) FROM table_name_73 WHERE silver = 1 AND rank > 7 </s>
How many totals have a Bronze smaller than 3, a Nation of zimbabwe, and a Silver smaller than 6?
CREATE TABLE table_name_98 (total VARCHAR, silver VARCHAR, bronze VARCHAR, nation VARCHAR)
SELECT COUNT(total) FROM table_name_98 WHERE bronze < 3 AND nation = "zimbabwe" AND silver < 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (total VARCHAR, silver VARCHAR, bronze VARCHAR, nation VARCHAR) Question: How many totals have a Bronze smaller than 3, a Nation of zimbabwe, and a Silver smaller than 6? [/INST] SELECT COUNT(total) FROM table_name_98 WHERE bronze < 3 AND nation = "zimbabwe" AND silver < 6 </s>
What is the smallest silver with a Bronze smaller than 6, a Total of 3, and a Rank smaller than 9?
CREATE TABLE table_name_33 (silver INTEGER, rank VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT MIN(silver) FROM table_name_33 WHERE bronze < 6 AND total = 3 AND rank < 9
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (silver INTEGER, rank VARCHAR, bronze VARCHAR, total VARCHAR) Question: What is the smallest silver with a Bronze smaller than 6, a Total of 3, and a Rank smaller than 9? [/INST] SELECT MIN(silver) FROM table_name_33 WHERE bronze < 6 AND total = 3 AND rank < 9 </s>
How many ranks have 0 golds, a Nation of namibia, and a Total smaller than 1?
CREATE TABLE table_name_14 (rank VARCHAR, total VARCHAR, gold VARCHAR, nation VARCHAR)
SELECT COUNT(rank) FROM table_name_14 WHERE gold = 0 AND nation = "namibia" AND total < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (rank VARCHAR, total VARCHAR, gold VARCHAR, nation VARCHAR) Question: How many ranks have 0 golds, a Nation of namibia, and a Total smaller than 1? [/INST] SELECT COUNT(rank) FROM table_name_14 WHERE gold = 0 AND nation = "namibia" AND total < 1 </s>
How many totals have a Bronze of 0, and a Gold smaller than 0?
CREATE TABLE table_name_22 (total INTEGER, bronze VARCHAR, gold VARCHAR)
SELECT SUM(total) FROM table_name_22 WHERE bronze = 0 AND gold < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (total INTEGER, bronze VARCHAR, gold VARCHAR) Question: How many totals have a Bronze of 0, and a Gold smaller than 0? [/INST] SELECT SUM(total) FROM table_name_22 WHERE bronze = 0 AND gold < 0 </s>
What is the total silver with a Rank larger than 9, and a Total larger than 1?
CREATE TABLE table_name_94 (silver INTEGER, rank VARCHAR, total VARCHAR)
SELECT SUM(silver) FROM table_name_94 WHERE rank > 9 AND total > 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (silver INTEGER, rank VARCHAR, total VARCHAR) Question: What is the total silver with a Rank larger than 9, and a Total larger than 1? [/INST] SELECT SUM(silver) FROM table_name_94 WHERE rank > 9 AND total > 1 </s>
Which language do 1% of males speak?
CREATE TABLE table_name_31 (percentage___percentage_ VARCHAR, males VARCHAR)
SELECT percentage___percentage_ FROM table_name_31 WHERE males = "1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (percentage___percentage_ VARCHAR, males VARCHAR) Question: Which language do 1% of males speak? [/INST] SELECT percentage___percentage_ FROM table_name_31 WHERE males = "1" </s>
Which language do 87.5% of males speak?
CREATE TABLE table_name_44 (males VARCHAR, percentage___percentage_ VARCHAR)
SELECT males FROM table_name_44 WHERE percentage___percentage_ = "87.5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_44 (males VARCHAR, percentage___percentage_ VARCHAR) Question: Which language do 87.5% of males speak? [/INST] SELECT males FROM table_name_44 WHERE percentage___percentage_ = "87.5" </s>
Which language do 706 females speak?
CREATE TABLE table_name_10 (females VARCHAR, number VARCHAR)
SELECT females FROM table_name_10 WHERE number = "706"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (females VARCHAR, number VARCHAR) Question: Which language do 706 females speak? [/INST] SELECT females FROM table_name_10 WHERE number = "706" </s>
How many females speak Ukrainian?
CREATE TABLE table_name_11 (females VARCHAR, language VARCHAR)
SELECT females FROM table_name_11 WHERE language = "ukrainian"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (females VARCHAR, language VARCHAR) Question: How many females speak Ukrainian? [/INST] SELECT females FROM table_name_11 WHERE language = "ukrainian" </s>
What was the position of the team that had a goal difference of less than -11 and played less than 38 games?
CREATE TABLE table_name_98 (position INTEGER, goal_difference VARCHAR, played VARCHAR)
SELECT SUM(position) FROM table_name_98 WHERE goal_difference < -11 AND played < 38
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_98 (position INTEGER, goal_difference VARCHAR, played VARCHAR) Question: What was the position of the team that had a goal difference of less than -11 and played less than 38 games? [/INST] SELECT SUM(position) FROM table_name_98 WHERE goal_difference < -11 AND played < 38 </s>