instruction
stringlengths
12
244
input
stringlengths
27
489
output
stringlengths
18
557
text
stringlengths
194
1.14k
What is the location of the Kkspe Foundation?
CREATE TABLE table_name_85 (location VARCHAR, foundation VARCHAR)
SELECT location FROM table_name_85 WHERE foundation = "kkspe"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (location VARCHAR, foundation VARCHAR) Question: What is the location of the Kkspe Foundation? [/INST] SELECT location FROM table_name_85 WHERE foundation = "kkspe" </s>
What is Country, when Place is "T3", and when Score is "67-70=137"?
CREATE TABLE table_name_24 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT country FROM table_name_24 WHERE place = "t3" AND score = 67 - 70 = 137
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (country VARCHAR, place VARCHAR, score VARCHAR) Question: What is Country, when Place is "T3", and when Score is "67-70=137"? [/INST] SELECT country FROM table_name_24 WHERE place = "t3" AND score ...
What is Score, when Player is "David Toms"?
CREATE TABLE table_name_64 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_64 WHERE player = "david toms"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (score VARCHAR, player VARCHAR) Question: What is Score, when Player is "David Toms"? [/INST] SELECT score FROM table_name_64 WHERE player = "david toms" </s>
What is Score, when Player is "Tom Lehman"?
CREATE TABLE table_name_1 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_1 WHERE player = "tom lehman"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_1 (score VARCHAR, player VARCHAR) Question: What is Score, when Player is "Tom Lehman"? [/INST] SELECT score FROM table_name_1 WHERE player = "tom lehman" </s>
What is the Title of the Pye Label mono LP release?
CREATE TABLE table_name_18 (title VARCHAR, format VARCHAR, label VARCHAR)
SELECT title FROM table_name_18 WHERE format = "mono lp" AND label = "pye"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (title VARCHAR, format VARCHAR, label VARCHAR) Question: What is the Title of the Pye Label mono LP release? [/INST] SELECT title FROM table_name_18 WHERE format = "mono lp" AND label = "pye" </s>
What is the Catalog-Nr of the Epic Label Stereo LP named For Little Ones?
CREATE TABLE table_name_41 (catalog_nr VARCHAR, title VARCHAR, format VARCHAR, label VARCHAR)
SELECT catalog_nr FROM table_name_41 WHERE format = "stereo lp" AND label = "epic" AND title = "for little ones"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (catalog_nr VARCHAR, title VARCHAR, format VARCHAR, label VARCHAR) Question: What is the Catalog-Nr of the Epic Label Stereo LP named For Little Ones? [/INST] SELECT catalog_nr FROM table_name_41 W...
What is the total area with the census ranking of 3,129 of 5,008, and a Population smaller than 460?
CREATE TABLE table_name_60 (area_km_2 VARCHAR, census_ranking VARCHAR, population VARCHAR)
SELECT COUNT(area_km_2) FROM table_name_60 WHERE census_ranking = "3,129 of 5,008" AND population < 460
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (area_km_2 VARCHAR, census_ranking VARCHAR, population VARCHAR) Question: What is the total area with the census ranking of 3,129 of 5,008, and a Population smaller than 460? [/INST] SELECT COUNT(a...
What is the total area with the Census Ranking of 3,129 of 5,008, and a Population larger than 460?
CREATE TABLE table_name_66 (area_km_2 VARCHAR, census_ranking VARCHAR, population VARCHAR)
SELECT COUNT(area_km_2) FROM table_name_66 WHERE census_ranking = "3,129 of 5,008" AND population > 460
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (area_km_2 VARCHAR, census_ranking VARCHAR, population VARCHAR) Question: What is the total area with the Census Ranking of 3,129 of 5,008, and a Population larger than 460? [/INST] SELECT COUNT(ar...
What census ranking has an area greater than 578.28 km2?
CREATE TABLE table_name_17 (census_ranking VARCHAR, area_km_2 INTEGER)
SELECT census_ranking FROM table_name_17 WHERE area_km_2 > 578.28
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (census_ranking VARCHAR, area_km_2 INTEGER) Question: What census ranking has an area greater than 578.28 km2? [/INST] SELECT census_ranking FROM table_name_17 WHERE area_km_2 > 578.28 </s>
What is the position for Jani Lajunen?
CREATE TABLE table_name_78 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_78 WHERE player = "jani lajunen"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_78 (position VARCHAR, player VARCHAR) Question: What is the position for Jani Lajunen? [/INST] SELECT position FROM table_name_78 WHERE player = "jani lajunen" </s>
What is the round number when nationality was United States, and player is Jeffrey Foss?
CREATE TABLE table_name_20 (round VARCHAR, nationality VARCHAR, player VARCHAR)
SELECT COUNT(round) FROM table_name_20 WHERE nationality = "united states" AND player = "jeffrey foss"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (round VARCHAR, nationality VARCHAR, player VARCHAR) Question: What is the round number when nationality was United States, and player is Jeffrey Foss? [/INST] SELECT COUNT(round) FROM table_name_2...
What player has a round larger than 2, and position of (d)?
CREATE TABLE table_name_20 (player VARCHAR, round VARCHAR, position VARCHAR)
SELECT player FROM table_name_20 WHERE round > 2 AND position = "(d)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (player VARCHAR, round VARCHAR, position VARCHAR) Question: What player has a round larger than 2, and position of (d)? [/INST] SELECT player FROM table_name_20 WHERE round > 2 AND position = "(d)"...
What is the nationality for the position of (d), and college was SC Bern ( Swiss )?
CREATE TABLE table_name_24 (nationality VARCHAR, position VARCHAR, college VARCHAR)
SELECT nationality FROM table_name_24 WHERE position = "(d)" AND college = "sc bern ( swiss )"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (nationality VARCHAR, position VARCHAR, college VARCHAR) Question: What is the nationality for the position of (d), and college was SC Bern ( Swiss )? [/INST] SELECT nationality FROM table_name_24 ...
Who is the athlete with a run 1 larger than 54.95 and a 56.19 run 2?
CREATE TABLE table_name_91 (athlete VARCHAR, run_1 VARCHAR, run_2 VARCHAR)
SELECT athlete FROM table_name_91 WHERE run_1 > 54.95 AND run_2 = 56.19
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (athlete VARCHAR, run_1 VARCHAR, run_2 VARCHAR) Question: Who is the athlete with a run 1 larger than 54.95 and a 56.19 run 2? [/INST] SELECT athlete FROM table_name_91 WHERE run_1 > 54.95 AND run_...
What is the highest run 2 of athlete eric neilson, who has a run 3 larger than 55.97?
CREATE TABLE table_name_54 (run_2 INTEGER, athlete VARCHAR, run_3 VARCHAR)
SELECT MAX(run_2) FROM table_name_54 WHERE athlete = "eric neilson" AND run_3 > 55.97
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (run_2 INTEGER, athlete VARCHAR, run_3 VARCHAR) Question: What is the highest run 2 of athlete eric neilson, who has a run 3 larger than 55.97? [/INST] SELECT MAX(run_2) FROM table_name_54 WHERE at...
What is the highest run 3 of the athlete with a 55.44 run 2?
CREATE TABLE table_name_86 (run_3 INTEGER, run_2 VARCHAR)
SELECT MAX(run_3) FROM table_name_86 WHERE run_2 = 55.44
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (run_3 INTEGER, run_2 VARCHAR) Question: What is the highest run 3 of the athlete with a 55.44 run 2? [/INST] SELECT MAX(run_3) FROM table_name_86 WHERE run_2 = 55.44 </s>
Who is the athlete with a run 1 less than 54.13 and a 55.21 run 3?
CREATE TABLE table_name_47 (athlete VARCHAR, run_1 VARCHAR, run_3 VARCHAR)
SELECT athlete FROM table_name_47 WHERE run_1 < 54.13 AND run_3 = 55.21
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (athlete VARCHAR, run_1 VARCHAR, run_3 VARCHAR) Question: Who is the athlete with a run 1 less than 54.13 and a 55.21 run 3? [/INST] SELECT athlete FROM table_name_47 WHERE run_1 < 54.13 AND run_3 ...
What is the sum of the run 1 of athlete matthias guggenberger, who has a run 2 greater than 55.24?
CREATE TABLE table_name_40 (run_1 INTEGER, run_2 VARCHAR, athlete VARCHAR)
SELECT SUM(run_1) FROM table_name_40 WHERE run_2 > 55.24 AND athlete = "matthias guggenberger"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (run_1 INTEGER, run_2 VARCHAR, athlete VARCHAR) Question: What is the sum of the run 1 of athlete matthias guggenberger, who has a run 2 greater than 55.24? [/INST] SELECT SUM(run_1) FROM table_nam...
What is the dissolved date of the parliament assembled on 3 June 1467?
CREATE TABLE table_name_31 (dissolved VARCHAR, assembled VARCHAR)
SELECT dissolved FROM table_name_31 WHERE assembled = "3 june 1467"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (dissolved VARCHAR, assembled VARCHAR) Question: What is the dissolved date of the parliament assembled on 3 June 1467? [/INST] SELECT dissolved FROM table_name_31 WHERE assembled = "3 june 1467" <...
What is the dissolved date of the parliament assembled on 4 November 1461?
CREATE TABLE table_name_58 (dissolved VARCHAR, assembled VARCHAR)
SELECT dissolved FROM table_name_58 WHERE assembled = "4 november 1461"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (dissolved VARCHAR, assembled VARCHAR) Question: What is the dissolved date of the parliament assembled on 4 November 1461? [/INST] SELECT dissolved FROM table_name_58 WHERE assembled = "4 november...
Who is the 2nd member elected in 1461?
CREATE TABLE table_name_46 (elected VARCHAR)
SELECT 2 AS nd_member FROM table_name_46 WHERE elected = "1461"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (elected VARCHAR) Question: Who is the 2nd member elected in 1461? [/INST] SELECT 2 AS nd_member FROM table_name_46 WHERE elected = "1461" </s>
What is the dissolved date of the parliament summoned on 28 February 1467?
CREATE TABLE table_name_53 (dissolved VARCHAR, summoned VARCHAR)
SELECT dissolved FROM table_name_53 WHERE summoned = "28 february 1467"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (dissolved VARCHAR, summoned VARCHAR) Question: What is the dissolved date of the parliament summoned on 28 February 1467? [/INST] SELECT dissolved FROM table_name_53 WHERE summoned = "28 february ...
What is 2nd Member, when Assembled is "30 March 1298"?
CREATE TABLE table_name_96 (assembled VARCHAR)
SELECT 2 AS nd_member FROM table_name_96 WHERE assembled = "30 march 1298"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (assembled VARCHAR) Question: What is 2nd Member, when Assembled is "30 March 1298"? [/INST] SELECT 2 AS nd_member FROM table_name_96 WHERE assembled = "30 march 1298" </s>
What is 1st Member, when Summoned is "14 July 1302"?
CREATE TABLE table_name_82 (summoned VARCHAR)
SELECT 1 AS st_member FROM table_name_82 WHERE summoned = "14 july 1302"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (summoned VARCHAR) Question: What is 1st Member, when Summoned is "14 July 1302"? [/INST] SELECT 1 AS st_member FROM table_name_82 WHERE summoned = "14 july 1302" </s>
What is Assembled, when Summoned is "6 October 1297"?
CREATE TABLE table_name_55 (assembled VARCHAR, summoned VARCHAR)
SELECT assembled FROM table_name_55 WHERE summoned = "6 october 1297"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (assembled VARCHAR, summoned VARCHAR) Question: What is Assembled, when Summoned is "6 October 1297"? [/INST] SELECT assembled FROM table_name_55 WHERE summoned = "6 october 1297" </s>
What is Summoned, when Elected is "March 1298"?
CREATE TABLE table_name_23 (summoned VARCHAR, elected VARCHAR)
SELECT summoned FROM table_name_23 WHERE elected = "march 1298"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (summoned VARCHAR, elected VARCHAR) Question: What is Summoned, when Elected is "March 1298"? [/INST] SELECT summoned FROM table_name_23 WHERE elected = "march 1298" </s>
Which Planet has a Sanskrit word of budha?
CREATE TABLE table_name_31 (planet VARCHAR, sanskrit_word VARCHAR)
SELECT planet FROM table_name_31 WHERE sanskrit_word = "budha"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (planet VARCHAR, sanskrit_word VARCHAR) Question: Which Planet has a Sanskrit word of budha? [/INST] SELECT planet FROM table_name_31 WHERE sanskrit_word = "budha" </s>
WHich Thai name has a Transcription of wan phruehatsabodi?
CREATE TABLE table_name_55 (thai_name VARCHAR, transcription VARCHAR)
SELECT thai_name FROM table_name_55 WHERE transcription = "wan phruehatsabodi"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (thai_name VARCHAR, transcription VARCHAR) Question: WHich Thai name has a Transcription of wan phruehatsabodi? [/INST] SELECT thai_name FROM table_name_55 WHERE transcription = "wan phruehatsabodi...
Show the Thai name of wan phruehatsabodi?
CREATE TABLE table_name_29 (thai_name VARCHAR, transcription VARCHAR)
SELECT thai_name FROM table_name_29 WHERE transcription = "wan phruehatsabodi"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (thai_name VARCHAR, transcription VARCHAR) Question: Show the Thai name of wan phruehatsabodi? [/INST] SELECT thai_name FROM table_name_29 WHERE transcription = "wan phruehatsabodi" </s>
Show the Color which has a Thai name of วันพฤหัสบดี?
CREATE TABLE table_name_19 (color VARCHAR, thai_name VARCHAR)
SELECT color FROM table_name_19 WHERE thai_name = "วันพฤหัสบดี"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_19 (color VARCHAR, thai_name VARCHAR) Question: Show the Color which has a Thai name of วันพฤหัสบดี? [/INST] SELECT color FROM table_name_19 WHERE thai_name = "วันพฤหัสบดี" </s>
Which Color has a Transcription of wan suk?
CREATE TABLE table_name_16 (color VARCHAR, transcription VARCHAR)
SELECT color FROM table_name_16 WHERE transcription = "wan suk"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (color VARCHAR, transcription VARCHAR) Question: Which Color has a Transcription of wan suk? [/INST] SELECT color FROM table_name_16 WHERE transcription = "wan suk" </s>
Which English name has a Color of green?
CREATE TABLE table_name_54 (english_name VARCHAR, color VARCHAR)
SELECT english_name FROM table_name_54 WHERE color = "green"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_54 (english_name VARCHAR, color VARCHAR) Question: Which English name has a Color of green? [/INST] SELECT english_name FROM table_name_54 WHERE color = "green" </s>
What is Gil Morgan's Place?
CREATE TABLE table_name_70 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_70 WHERE player = "gil morgan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (place VARCHAR, player VARCHAR) Question: What is Gil Morgan's Place? [/INST] SELECT place FROM table_name_70 WHERE player = "gil morgan" </s>
What is the Place of the Player with a To par of –5?
CREATE TABLE table_name_43 (place VARCHAR, to_par VARCHAR)
SELECT place FROM table_name_43 WHERE to_par = "–5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (place VARCHAR, to_par VARCHAR) Question: What is the Place of the Player with a To par of –5? [/INST] SELECT place FROM table_name_43 WHERE to_par = "–5" </s>
Which Player has a Money ($) of 137, and a Score of 73-70-73-74=290?
CREATE TABLE table_name_11 (player VARCHAR, money___$__ VARCHAR, score VARCHAR)
SELECT player FROM table_name_11 WHERE money___$__ = 137 AND score = 73 - 70 - 73 - 74 = 290
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (player VARCHAR, money___$__ VARCHAR, score VARCHAR) Question: Which Player has a Money ($) of 137, and a Score of 73-70-73-74=290? [/INST] SELECT player FROM table_name_11 WHERE money___$__ = 137 ...
Which To Par has a Money ($) of 350, and a Player of henry picard?
CREATE TABLE table_name_69 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_69 WHERE money___$__ = 350 AND player = "henry picard"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR) Question: Which To Par has a Money ($) of 350, and a Player of henry picard? [/INST] SELECT to_par FROM table_name_69 WHERE money___$__ = 350 A...
What year had Best Actor in a Musical as a category?
CREATE TABLE table_name_15 (year INTEGER, category VARCHAR)
SELECT SUM(year) FROM table_name_15 WHERE category = "best actor in a musical"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (year INTEGER, category VARCHAR) Question: What year had Best Actor in a Musical as a category? [/INST] SELECT SUM(year) FROM table_name_15 WHERE category = "best actor in a musical" </s>
What Secretary has a Social AO of lieke de boer?
CREATE TABLE table_name_12 (secretary VARCHAR, social_ao VARCHAR)
SELECT secretary FROM table_name_12 WHERE social_ao = "lieke de boer"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (secretary VARCHAR, social_ao VARCHAR) Question: What Secretary has a Social AO of lieke de boer? [/INST] SELECT secretary FROM table_name_12 WHERE social_ao = "lieke de boer" </s>
What Social AO has an External CO of elena buscher, and a President of harm van leeuwen?
CREATE TABLE table_name_39 (social_ao VARCHAR, external_co VARCHAR, president VARCHAR)
SELECT social_ao FROM table_name_39 WHERE external_co = "elena buscher" AND president = "harm van leeuwen"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (social_ao VARCHAR, external_co VARCHAR, president VARCHAR) Question: What Social AO has an External CO of elena buscher, and a President of harm van leeuwen? [/INST] SELECT social_ao FROM table_na...
What Social AO has an External CO of simonas savickas, and an Internal CO of pieter kuijsten?
CREATE TABLE table_name_83 (social_ao VARCHAR, external_co VARCHAR, internal_co VARCHAR)
SELECT social_ao FROM table_name_83 WHERE external_co = "simonas savickas" AND internal_co = "pieter kuijsten"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (social_ao VARCHAR, external_co VARCHAR, internal_co VARCHAR) Question: What Social AO has an External CO of simonas savickas, and an Internal CO of pieter kuijsten? [/INST] SELECT social_ao FROM t...
What Secretary has an Internal CO of isabel voets?
CREATE TABLE table_name_90 (secretary VARCHAR, internal_co VARCHAR)
SELECT secretary FROM table_name_90 WHERE internal_co = "isabel voets"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (secretary VARCHAR, internal_co VARCHAR) Question: What Secretary has an Internal CO of isabel voets? [/INST] SELECT secretary FROM table_name_90 WHERE internal_co = "isabel voets" </s>
What Academic AO has a President of harm van leeuwen?
CREATE TABLE table_name_20 (academic_ao VARCHAR, president VARCHAR)
SELECT academic_ao FROM table_name_20 WHERE president = "harm van leeuwen"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (academic_ao VARCHAR, president VARCHAR) Question: What Academic AO has a President of harm van leeuwen? [/INST] SELECT academic_ao FROM table_name_20 WHERE president = "harm van leeuwen" </s>
What Social AO has a President of harm van leeuwen?
CREATE TABLE table_name_68 (social_ao VARCHAR, president VARCHAR)
SELECT social_ao FROM table_name_68 WHERE president = "harm van leeuwen"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (social_ao VARCHAR, president VARCHAR) Question: What Social AO has a President of harm van leeuwen? [/INST] SELECT social_ao FROM table_name_68 WHERE president = "harm van leeuwen" </s>
Which country has a to par of +2 for Bernhard Langer?
CREATE TABLE table_name_3 (country VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT country FROM table_name_3 WHERE to_par = "+2" AND player = "bernhard langer"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (country VARCHAR, to_par VARCHAR, player VARCHAR) Question: Which country has a to par of +2 for Bernhard Langer? [/INST] SELECT country FROM table_name_3 WHERE to_par = "+2" AND player = "bernhard ...
Which country has a score of 72 by Andrew Brooks?
CREATE TABLE table_name_41 (country VARCHAR, score VARCHAR, player VARCHAR)
SELECT country FROM table_name_41 WHERE score = 72 AND player = "andrew brooks"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (country VARCHAR, score VARCHAR, player VARCHAR) Question: Which country has a score of 72 by Andrew Brooks? [/INST] SELECT country FROM table_name_41 WHERE score = 72 AND player = "andrew brooks" ...
What is Anders Forsbrand's score with a to par of +1?
CREATE TABLE table_name_64 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_64 WHERE to_par = "+1" AND player = "anders forsbrand"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (score VARCHAR, to_par VARCHAR, player VARCHAR) Question: What is Anders Forsbrand's score with a to par of +1? [/INST] SELECT score FROM table_name_64 WHERE to_par = "+1" AND player = "anders fors...
What is the rad number for the dead end in rank 22?
CREATE TABLE table_name_75 (road_number VARCHAR, type VARCHAR, rank VARCHAR)
SELECT road_number FROM table_name_75 WHERE type = "dead end" AND rank = "22"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (road_number VARCHAR, type VARCHAR, rank VARCHAR) Question: What is the rad number for the dead end in rank 22? [/INST] SELECT road_number FROM table_name_75 WHERE type = "dead end" AND rank = "22"...
What is the name of the dead end type ranked 22?
CREATE TABLE table_name_42 (name VARCHAR, type VARCHAR, rank VARCHAR)
SELECT name FROM table_name_42 WHERE type = "dead end" AND rank = "22"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (name VARCHAR, type VARCHAR, rank VARCHAR) Question: What is the name of the dead end type ranked 22? [/INST] SELECT name FROM table_name_42 WHERE type = "dead end" AND rank = "22" </s>
What is the type ranked 13?
CREATE TABLE table_name_6 (type VARCHAR, rank VARCHAR)
SELECT type FROM table_name_6 WHERE rank = "13"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (type VARCHAR, rank VARCHAR) Question: What is the type ranked 13? [/INST] SELECT type FROM table_name_6 WHERE rank = "13" </s>
Who had 1344 points?
CREATE TABLE table_name_79 (name VARCHAR, points VARCHAR)
SELECT name FROM table_name_79 WHERE points = 1344
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (name VARCHAR, points VARCHAR) Question: Who had 1344 points? [/INST] SELECT name FROM table_name_79 WHERE points = 1344 </s>
What was the total number of wins that had an against greater than 1136 but losses less than 15 with Ultima with less than 2 byes?
CREATE TABLE table_name_62 (wins INTEGER, byes VARCHAR, golden_rivers VARCHAR, against VARCHAR, losses VARCHAR)
SELECT SUM(wins) FROM table_name_62 WHERE against > 1136 AND losses < 15 AND golden_rivers = "ultima" AND byes < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (wins INTEGER, byes VARCHAR, golden_rivers VARCHAR, against VARCHAR, losses VARCHAR) Question: What was the total number of wins that had an against greater than 1136 but losses less than 15 with U...
What's the average number of wins for those with less than 2 byes?
CREATE TABLE table_name_62 (wins INTEGER, byes INTEGER)
SELECT AVG(wins) FROM table_name_62 WHERE byes < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (wins INTEGER, byes INTEGER) Question: What's the average number of wins for those with less than 2 byes? [/INST] SELECT AVG(wins) FROM table_name_62 WHERE byes < 2 </s>
What's the greatest losses for those with more than 13 wins?
CREATE TABLE table_name_20 (losses INTEGER, wins INTEGER)
SELECT MAX(losses) FROM table_name_20 WHERE wins > 13
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (losses INTEGER, wins INTEGER) Question: What's the greatest losses for those with more than 13 wins? [/INST] SELECT MAX(losses) FROM table_name_20 WHERE wins > 13 </s>
What was the greatest number of wins for a team that had 7 losses and more than 0 draws?
CREATE TABLE table_name_17 (wins INTEGER, losses VARCHAR, draws VARCHAR)
SELECT MAX(wins) FROM table_name_17 WHERE losses = 7 AND draws > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (wins INTEGER, losses VARCHAR, draws VARCHAR) Question: What was the greatest number of wins for a team that had 7 losses and more than 0 draws? [/INST] SELECT MAX(wins) FROM table_name_17 WHERE lo...
What's the number of byes for someone who had 7 wins and an against number greater than 1412?
CREATE TABLE table_name_85 (byes INTEGER, wins VARCHAR, against VARCHAR)
SELECT SUM(byes) FROM table_name_85 WHERE wins = 7 AND against > 1412
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (byes INTEGER, wins VARCHAR, against VARCHAR) Question: What's the number of byes for someone who had 7 wins and an against number greater than 1412? [/INST] SELECT SUM(byes) FROM table_name_85 WHE...
What's the total wins of a team with more than 2 byes?
CREATE TABLE table_name_11 (wins VARCHAR, byes INTEGER)
SELECT COUNT(wins) FROM table_name_11 WHERE byes > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (wins VARCHAR, byes INTEGER) Question: What's the total wins of a team with more than 2 byes? [/INST] SELECT COUNT(wins) FROM table_name_11 WHERE byes > 2 </s>
Who had a finish of t16?
CREATE TABLE table_name_81 (player VARCHAR, finish VARCHAR)
SELECT player FROM table_name_81 WHERE finish = "t16"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (player VARCHAR, finish VARCHAR) Question: Who had a finish of t16? [/INST] SELECT player FROM table_name_81 WHERE finish = "t16" </s>
What country is jack nicklaus from?
CREATE TABLE table_name_75 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_75 WHERE player = "jack nicklaus"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_75 (country VARCHAR, player VARCHAR) Question: What country is jack nicklaus from? [/INST] SELECT country FROM table_name_75 WHERE player = "jack nicklaus" </s>
Who has a total of 272?
CREATE TABLE table_name_46 (player VARCHAR, total VARCHAR)
SELECT player FROM table_name_46 WHERE total = 272
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (player VARCHAR, total VARCHAR) Question: Who has a total of 272? [/INST] SELECT player FROM table_name_46 WHERE total = 272 </s>
What country won in 1977?
CREATE TABLE table_name_46 (country VARCHAR, year_s__won VARCHAR)
SELECT country FROM table_name_46 WHERE year_s__won = "1977"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (country VARCHAR, year_s__won VARCHAR) Question: What country won in 1977? [/INST] SELECT country FROM table_name_46 WHERE year_s__won = "1977" </s>
Can you tell me the total number of Draw that has the Artist of de spelbrekers, and the Points smaller than 0?
CREATE TABLE table_name_59 (draw VARCHAR, artist VARCHAR, points VARCHAR)
SELECT COUNT(draw) FROM table_name_59 WHERE artist = "de spelbrekers" AND points < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (draw VARCHAR, artist VARCHAR, points VARCHAR) Question: Can you tell me the total number of Draw that has the Artist of de spelbrekers, and the Points smaller than 0? [/INST] SELECT COUNT(draw) FR...
Can you tell me the Artist that has the Draw smaller than 16, and the English translation of lullaby?
CREATE TABLE table_name_66 (artist VARCHAR, draw VARCHAR, english_translation VARCHAR)
SELECT artist FROM table_name_66 WHERE draw < 16 AND english_translation = "lullaby"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (artist VARCHAR, draw VARCHAR, english_translation VARCHAR) Question: Can you tell me the Artist that has the Draw smaller than 16, and the English translation of lullaby? [/INST] SELECT artist FRO...
Can you tell me the English translation that has the Artist of camillo felgen?
CREATE TABLE table_name_61 (english_translation VARCHAR, artist VARCHAR)
SELECT english_translation FROM table_name_61 WHERE artist = "camillo felgen"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (english_translation VARCHAR, artist VARCHAR) Question: Can you tell me the English translation that has the Artist of camillo felgen? [/INST] SELECT english_translation FROM table_name_61 WHERE ar...
What is the population of the town with an area larger than 3.09?
CREATE TABLE table_name_59 (population INTEGER, area_km_2 VARCHAR, status VARCHAR)
SELECT AVG(population) FROM table_name_59 WHERE area_km_2 > 3.09 AND status = "town"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (population INTEGER, area_km_2 VARCHAR, status VARCHAR) Question: What is the population of the town with an area larger than 3.09? [/INST] SELECT AVG(population) FROM table_name_59 WHERE area_km_2...
What is the area of the community with a census ranking of 636 of 5,008?
CREATE TABLE table_name_97 (area_km_2 INTEGER, census_ranking VARCHAR)
SELECT AVG(area_km_2) FROM table_name_97 WHERE census_ranking = "636 of 5,008"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (area_km_2 INTEGER, census_ranking VARCHAR) Question: What is the area of the community with a census ranking of 636 of 5,008? [/INST] SELECT AVG(area_km_2) FROM table_name_97 WHERE census_ranking ...
What is the area of drummond village?
CREATE TABLE table_name_45 (area_km_2 INTEGER, status VARCHAR, official_name VARCHAR)
SELECT MAX(area_km_2) FROM table_name_45 WHERE status = "village" AND official_name = "drummond"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (area_km_2 INTEGER, status VARCHAR, official_name VARCHAR) Question: What is the area of drummond village? [/INST] SELECT MAX(area_km_2) FROM table_name_45 WHERE status = "village" AND official_nam...
What is the status of the community with a census ranking of 2,418 of 5,008?
CREATE TABLE table_name_67 (status VARCHAR, census_ranking VARCHAR)
SELECT status FROM table_name_67 WHERE census_ranking = "2,418 of 5,008"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (status VARCHAR, census_ranking VARCHAR) Question: What is the status of the community with a census ranking of 2,418 of 5,008? [/INST] SELECT status FROM table_name_67 WHERE census_ranking = "2,41...
What is the area of the village with a census ranking of 1,442 of 5,008 and a population less than 1,778?
CREATE TABLE table_name_92 (area_km_2 INTEGER, population VARCHAR, status VARCHAR, census_ranking VARCHAR)
SELECT MAX(area_km_2) FROM table_name_92 WHERE status = "village" AND census_ranking = "1,442 of 5,008" AND population < 1 OFFSET 778 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (area_km_2 INTEGER, population VARCHAR, status VARCHAR, census_ranking VARCHAR) Question: What is the area of the village with a census ranking of 1,442 of 5,008 and a population less than 1,778? [...
WHAT YEAR HAS A TO PAR SMALLER THAN 16, TOTAL 151?
CREATE TABLE table_name_86 (year_s__won VARCHAR, to_par VARCHAR, total VARCHAR)
SELECT year_s__won FROM table_name_86 WHERE to_par < 16 AND total = 151
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (year_s__won VARCHAR, to_par VARCHAR, total VARCHAR) Question: WHAT YEAR HAS A TO PAR SMALLER THAN 16, TOTAL 151? [/INST] SELECT year_s__won FROM table_name_86 WHERE to_par < 16 AND total = 151 </s...
WHAT IS THE TOTAL WITH A TO PAR OF 10?
CREATE TABLE table_name_30 (total INTEGER, to_par VARCHAR)
SELECT MAX(total) FROM table_name_30 WHERE to_par = 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (total INTEGER, to_par VARCHAR) Question: WHAT IS THE TOTAL WITH A TO PAR OF 10? [/INST] SELECT MAX(total) FROM table_name_30 WHERE to_par = 10 </s>
WHAT IS THE PLAYER WITH TOTAL LESS THAN 151, TO PAR OF 8?
CREATE TABLE table_name_41 (player VARCHAR, total VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_41 WHERE total < 151 AND to_par = 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (player VARCHAR, total VARCHAR, to_par VARCHAR) Question: WHAT IS THE PLAYER WITH TOTAL LESS THAN 151, TO PAR OF 8? [/INST] SELECT player FROM table_name_41 WHERE total < 151 AND to_par = 8 </s>
Who is the player who has a total less than 4, no scottish cups, and a league cup greater than 0?
CREATE TABLE table_name_31 (player VARCHAR, league_cup VARCHAR, total VARCHAR, scottish_cup VARCHAR)
SELECT player FROM table_name_31 WHERE total < 4 AND scottish_cup = 0 AND league_cup > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (player VARCHAR, league_cup VARCHAR, total VARCHAR, scottish_cup VARCHAR) Question: Who is the player who has a total less than 4, no scottish cups, and a league cup greater than 0? [/INST] SELECT ...
What is the sum of the scottish cup of the forward player with less than 2 league cups and a total greater than 6?
CREATE TABLE table_name_47 (scottish_cup INTEGER, position VARCHAR, league_cup VARCHAR, total VARCHAR)
SELECT SUM(scottish_cup) FROM table_name_47 WHERE league_cup < 2 AND total > 6 AND position = "forward"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (scottish_cup INTEGER, position VARCHAR, league_cup VARCHAR, total VARCHAR) Question: What is the sum of the scottish cup of the forward player with less than 2 league cups and a total greater than...
What was Kilgore's percentage when Potts (I) had 4% and Kaine (D) 47%, in the poll from October 30, 2005?
CREATE TABLE table_name_47 (kilgore__r_ VARCHAR, date VARCHAR, potts__i_ VARCHAR, kaine__d_ VARCHAR)
SELECT kilgore__r_ FROM table_name_47 WHERE potts__i_ = "4%" AND kaine__d_ = "47%" AND date = "october 30, 2005"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (kilgore__r_ VARCHAR, date VARCHAR, potts__i_ VARCHAR, kaine__d_ VARCHAR) Question: What was Kilgore's percentage when Potts (I) had 4% and Kaine (D) 47%, in the poll from October 30, 2005? [/INST]...
On which date did Potts (I) poll at 9%?
CREATE TABLE table_name_92 (date VARCHAR, potts__i_ VARCHAR)
SELECT date FROM table_name_92 WHERE potts__i_ = "9%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_92 (date VARCHAR, potts__i_ VARCHAR) Question: On which date did Potts (I) poll at 9%? [/INST] SELECT date FROM table_name_92 WHERE potts__i_ = "9%" </s>
What was Kaine's (D) percentage in the Rasmussen poll on October 24, 2005?
CREATE TABLE table_name_43 (kaine__d_ VARCHAR, source VARCHAR, date VARCHAR)
SELECT kaine__d_ FROM table_name_43 WHERE source = "rasmussen" AND date = "october 24, 2005"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (kaine__d_ VARCHAR, source VARCHAR, date VARCHAR) Question: What was Kaine's (D) percentage in the Rasmussen poll on October 24, 2005? [/INST] SELECT kaine__d_ FROM table_name_43 WHERE source = "ra...
What was Kaine's (D) percentage in the poll on October 30, 2005?
CREATE TABLE table_name_55 (kaine__d_ VARCHAR, date VARCHAR)
SELECT kaine__d_ FROM table_name_55 WHERE date = "october 30, 2005"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (kaine__d_ VARCHAR, date VARCHAR) Question: What was Kaine's (D) percentage in the poll on October 30, 2005? [/INST] SELECT kaine__d_ FROM table_name_55 WHERE date = "october 30, 2005" </s>
What was Kilgore's (R) percentage when Potts (I) polled at 1%?
CREATE TABLE table_name_95 (kilgore__r_ VARCHAR, potts__i_ VARCHAR)
SELECT kilgore__r_ FROM table_name_95 WHERE potts__i_ = "1%"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (kilgore__r_ VARCHAR, potts__i_ VARCHAR) Question: What was Kilgore's (R) percentage when Potts (I) polled at 1%? [/INST] SELECT kilgore__r_ FROM table_name_95 WHERE potts__i_ = "1%" </s>
What was Kaine's (D) percentage in the poll on september 19, 2005?
CREATE TABLE table_name_7 (kaine__d_ VARCHAR, date VARCHAR)
SELECT kaine__d_ FROM table_name_7 WHERE date = "september 19, 2005"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (kaine__d_ VARCHAR, date VARCHAR) Question: What was Kaine's (D) percentage in the poll on september 19, 2005? [/INST] SELECT kaine__d_ FROM table_name_7 WHERE date = "september 19, 2005" </s>
What is To par, when Country is "United States", and when Player is "Jay Haas"?
CREATE TABLE table_name_85 (to_par VARCHAR, country VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_85 WHERE country = "united states" AND player = "jay haas"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (to_par VARCHAR, country VARCHAR, player VARCHAR) Question: What is To par, when Country is "United States", and when Player is "Jay Haas"? [/INST] SELECT to_par FROM table_name_85 WHERE country = ...
What is Player, when Score is "68-67-75-70=280"?
CREATE TABLE table_name_71 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_71 WHERE score = 68 - 67 - 75 - 70 = 280
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (player VARCHAR, score VARCHAR) Question: What is Player, when Score is "68-67-75-70=280"? [/INST] SELECT player FROM table_name_71 WHERE score = 68 - 67 - 75 - 70 = 280 </s>
What is the result of the friendly competition on 23 January 2010?
CREATE TABLE table_name_49 (result VARCHAR, competition VARCHAR, date VARCHAR)
SELECT result FROM table_name_49 WHERE competition = "friendly" AND date = "23 january 2010"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (result VARCHAR, competition VARCHAR, date VARCHAR) Question: What is the result of the friendly competition on 23 January 2010? [/INST] SELECT result FROM table_name_49 WHERE competition = "friend...
What is the venue of the match with a w result on 3 March 2010?
CREATE TABLE table_name_61 (venue VARCHAR, result VARCHAR, date VARCHAR)
SELECT venue FROM table_name_61 WHERE result = "w" AND date = "3 march 2010"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (venue VARCHAR, result VARCHAR, date VARCHAR) Question: What is the venue of the match with a w result on 3 March 2010? [/INST] SELECT venue FROM table_name_61 WHERE result = "w" AND date = "3 marc...
What is the lowest Year, when Notes is "5.19km, 18controls"?
CREATE TABLE table_name_24 (year INTEGER, notes VARCHAR)
SELECT MIN(year) FROM table_name_24 WHERE notes = "5.19km, 18controls"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (year INTEGER, notes VARCHAR) Question: What is the lowest Year, when Notes is "5.19km, 18controls"? [/INST] SELECT MIN(year) FROM table_name_24 WHERE notes = "5.19km, 18controls" </s>
What is Notes, when Year is "2010"?
CREATE TABLE table_name_96 (notes VARCHAR, year VARCHAR)
SELECT notes FROM table_name_96 WHERE year = 2010
<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 is Notes, when Year is "2010"? [/INST] SELECT notes FROM table_name_96 WHERE year = 2010 </s>
What winning score has in-kyung kim as the runner(s)-up?
CREATE TABLE table_name_64 (winning_score VARCHAR, runner_s__up VARCHAR)
SELECT winning_score FROM table_name_64 WHERE runner_s__up = "in-kyung kim"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (winning_score VARCHAR, runner_s__up VARCHAR) Question: What winning score has in-kyung kim as the runner(s)-up? [/INST] SELECT winning_score FROM table_name_64 WHERE runner_s__up = "in-kyung kim" ...
What winning score has kraft nabisco championship as the tournament?
CREATE TABLE table_name_74 (winning_score VARCHAR, tournament VARCHAR)
SELECT winning_score FROM table_name_74 WHERE tournament = "kraft nabisco championship"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (winning_score VARCHAR, tournament VARCHAR) Question: What winning score has kraft nabisco championship as the tournament? [/INST] SELECT winning_score FROM table_name_74 WHERE tournament = "kraft ...
What Winning constructor has a Name of grand prix de la marne?
CREATE TABLE table_name_97 (winning_constructor VARCHAR, name VARCHAR)
SELECT winning_constructor FROM table_name_97 WHERE name = "grand prix de la marne"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (winning_constructor VARCHAR, name VARCHAR) Question: What Winning constructor has a Name of grand prix de la marne? [/INST] SELECT winning_constructor FROM table_name_97 WHERE name = "grand prix d...
What kind of the Winning driver has a Circuit of saint-raphaël?
CREATE TABLE table_name_11 (winning_driver VARCHAR, circuit VARCHAR)
SELECT winning_driver FROM table_name_11 WHERE circuit = "saint-raphaël"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (winning_driver VARCHAR, circuit VARCHAR) Question: What kind of the Winning driver has a Circuit of saint-raphaël? [/INST] SELECT winning_driver FROM table_name_11 WHERE circuit = "saint-raphaël" ...
Name the Report with Winning constructor of maserati, and a Name of monza grand prix?
CREATE TABLE table_name_28 (report VARCHAR, winning_constructor VARCHAR, name VARCHAR)
SELECT report FROM table_name_28 WHERE winning_constructor = "maserati" AND name = "monza grand prix"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (report VARCHAR, winning_constructor VARCHAR, name VARCHAR) Question: Name the Report with Winning constructor of maserati, and a Name of monza grand prix? [/INST] SELECT report FROM table_name_28 ...
Name the Report has a Name of lyon grand prix?
CREATE TABLE table_name_70 (report VARCHAR, name VARCHAR)
SELECT report FROM table_name_70 WHERE name = "lyon grand prix"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (report VARCHAR, name VARCHAR) Question: Name the Report has a Name of lyon grand prix? [/INST] SELECT report FROM table_name_70 WHERE name = "lyon grand prix" </s>
Name the Report which has heinrich-joachim von morgen?
CREATE TABLE table_name_29 (report VARCHAR, winning_driver VARCHAR)
SELECT report FROM table_name_29 WHERE winning_driver = "heinrich-joachim von morgen"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_29 (report VARCHAR, winning_driver VARCHAR) Question: Name the Report which has heinrich-joachim von morgen? [/INST] SELECT report FROM table_name_29 WHERE winning_driver = "heinrich-joachim von morge...
Which player had a draft before 1975 and before round 6?
CREATE TABLE table_name_79 (player VARCHAR, draft VARCHAR, round VARCHAR)
SELECT player FROM table_name_79 WHERE draft < 1975 AND round < 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (player VARCHAR, draft VARCHAR, round VARCHAR) Question: Which player had a draft before 1975 and before round 6? [/INST] SELECT player FROM table_name_79 WHERE draft < 1975 AND round < 6 </s>
What is Score, when Opponent Team is Belgium, and when Opponent is Kirsten Flipkens?
CREATE TABLE table_name_83 (score VARCHAR, opponent_team VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_83 WHERE opponent_team = "belgium" AND opponent = "kirsten flipkens"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (score VARCHAR, opponent_team VARCHAR, opponent VARCHAR) Question: What is Score, when Opponent Team is Belgium, and when Opponent is Kirsten Flipkens? [/INST] SELECT score FROM table_name_83 WHERE...
What is Opponent, when Round is World Group?
CREATE TABLE table_name_94 (opponent VARCHAR, round VARCHAR)
SELECT opponent FROM table_name_94 WHERE round = "world group"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_94 (opponent VARCHAR, round VARCHAR) Question: What is Opponent, when Round is World Group? [/INST] SELECT opponent FROM table_name_94 WHERE round = "world group" </s>
What is Surface, when Edition is 2012, and when Outcome is Winner?
CREATE TABLE table_name_51 (surface VARCHAR, edition VARCHAR, outcome VARCHAR)
SELECT surface FROM table_name_51 WHERE edition = 2012 AND outcome = "winner"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (surface VARCHAR, edition VARCHAR, outcome VARCHAR) Question: What is Surface, when Edition is 2012, and when Outcome is Winner? [/INST] SELECT surface FROM table_name_51 WHERE edition = 2012 AND o...
What is Score, when Outcome is Loser, and when Edition is 2011?
CREATE TABLE table_name_32 (score VARCHAR, outcome VARCHAR, edition VARCHAR)
SELECT score FROM table_name_32 WHERE outcome = "loser" AND edition = 2011
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (score VARCHAR, outcome VARCHAR, edition VARCHAR) Question: What is Score, when Outcome is Loser, and when Edition is 2011? [/INST] SELECT score FROM table_name_32 WHERE outcome = "loser" AND editi...
What is Score, when Edition is 2011, and when Surface is Hard (i)?
CREATE TABLE table_name_37 (score VARCHAR, edition VARCHAR, surface VARCHAR)
SELECT score FROM table_name_37 WHERE edition = 2011 AND surface = "hard (i)"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (score VARCHAR, edition VARCHAR, surface VARCHAR) Question: What is Score, when Edition is 2011, and when Surface is Hard (i)? [/INST] SELECT score FROM table_name_37 WHERE edition = 2011 AND surfa...
What is Round, when Opponent Team is Slovakia, when Outcome is Loser, and when Edition is greater than 2010?
CREATE TABLE table_name_7 (round VARCHAR, edition VARCHAR, opponent_team VARCHAR, outcome VARCHAR)
SELECT round FROM table_name_7 WHERE opponent_team = "slovakia" AND outcome = "loser" AND edition > 2010
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (round VARCHAR, edition VARCHAR, opponent_team VARCHAR, outcome VARCHAR) Question: What is Round, when Opponent Team is Slovakia, when Outcome is Loser, and when Edition is greater than 2010? [/INST...
In what Week was the Record 4–7–1?
CREATE TABLE table_name_7 (week INTEGER, record VARCHAR)
SELECT MIN(week) FROM table_name_7 WHERE record = "4–7–1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (week INTEGER, record VARCHAR) Question: In what Week was the Record 4–7–1? [/INST] SELECT MIN(week) FROM table_name_7 WHERE record = "4–7–1" </s>