context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_49 (captain VARCHAR, manager VARCHAR)
SELECT captain FROM table_name_49 WHERE manager = "joe royle"
Which captain's manager is Joe Royle?
<s>[INST]Which captain's manager is Joe Royle? Context: CREATE TABLE table_name_49 (captain VARCHAR, manager VARCHAR)[/INST]SELECT captain FROM table_name_49 WHERE manager = "joe royle"</s>
CREATE TABLE table_27711947_1 (artist VARCHAR, choreographer VARCHAR, rating VARCHAR)
SELECT artist FROM table_27711947_1 WHERE choreographer = "Marcos Aguirre" AND rating = "Simple"
List all artists with choreographer Marcos Aguirre and a simple rating.
<s>[INST]List all artists with choreographer Marcos Aguirre and a simple rating. Context: CREATE TABLE table_27711947_1 (artist VARCHAR, choreographer VARCHAR, rating VARCHAR)[/INST]SELECT artist FROM table_27711947_1 WHERE choreographer = "Marcos Aguirre" AND rating = "Simple"</s>
CREATE TABLE table_name_59 (format VARCHAR, call_sign VARCHAR)
SELECT format FROM table_name_59 WHERE call_sign = "cjbx-fm"
What is the Format of the Frequency CJBX-FM?
<s>[INST]What is the Format of the Frequency CJBX-FM? Context: CREATE TABLE table_name_59 (format VARCHAR, call_sign VARCHAR)[/INST]SELECT format FROM table_name_59 WHERE call_sign = "cjbx-fm"</s>
CREATE TABLE table_12261926_2 (trofeo_fast_team VARCHAR, stage VARCHAR)
SELECT trofeo_fast_team FROM table_12261926_2 WHERE stage = 8
What is the trofeo fast team on stage 8?
<s>[INST]What is the trofeo fast team on stage 8? Context: CREATE TABLE table_12261926_2 (trofeo_fast_team VARCHAR, stage VARCHAR)[/INST]SELECT trofeo_fast_team FROM table_12261926_2 WHERE stage = 8</s>
CREATE TABLE table_name_26 (down__up_to_kbit_s_ INTEGER, provider VARCHAR, resale VARCHAR, up__up_to_kbit_s_ VARCHAR)
SELECT MAX(down__up_to_kbit_s_) FROM table_name_26 WHERE resale = "yes" AND up__up_to_kbit_s_ = 1180 AND provider = "1&1"
what is the highest down (up to kbits/s) when resale is yes, up ( up to kbit/s) is 1180 and provider is 1&1?
<s>[INST]what is the highest down (up to kbits/s) when resale is yes, up ( up to kbit/s) is 1180 and provider is 1&1? Context: CREATE TABLE table_name_26 (down__up_to_kbit_s_ INTEGER, provider VARCHAR, resale VARCHAR, up__up_to_kbit_s_ VARCHAR)[/INST]SELECT MAX(down__up_to_kbit_s_) FROM table_name_26 WHERE resale = "yes" AND up__up_to_kbit_s_ = 1180 AND provider = "1&1"</s>
CREATE TABLE table_name_29 (host_team VARCHAR, visiting_team VARCHAR)
SELECT host_team FROM table_name_29 WHERE visiting_team = "new england patriots"
Which host team played against the New England Patriots?
<s>[INST]Which host team played against the New England Patriots? Context: CREATE TABLE table_name_29 (host_team VARCHAR, visiting_team VARCHAR)[/INST]SELECT host_team FROM table_name_29 WHERE visiting_team = "new england patriots"</s>
CREATE TABLE table_name_51 (Id VARCHAR)
SELECT MAX(2000) FROM table_name_51 WHERE 2010 = 82 AND 2005 < 74
What is the highest 2000 value that has a 2010 value of 82 and a 2005 value less than 74?
<s>[INST]What is the highest 2000 value that has a 2010 value of 82 and a 2005 value less than 74? Context: CREATE TABLE table_name_51 (Id VARCHAR)[/INST]SELECT MAX(2000) FROM table_name_51 WHERE 2010 = 82 AND 2005 < 74</s>
CREATE TABLE song (f_id VARCHAR, formats VARCHAR, resolution INTEGER); CREATE TABLE files (f_id VARCHAR, formats VARCHAR, resolution INTEGER)
SELECT f_id FROM files WHERE formats = "mp4" UNION SELECT f_id FROM song WHERE resolution > 720
What are the ids of songs that are available in either mp4 format or have resolution above 720?
<s>[INST]What are the ids of songs that are available in either mp4 format or have resolution above 720? Context: CREATE TABLE song (f_id VARCHAR, formats VARCHAR, resolution INTEGER); CREATE TABLE files (f_id VARCHAR, formats VARCHAR, resolution INTEGER)[/INST]SELECT f_id FROM files WHERE formats = "mp4" UNION SELECT f_id FROM song WHERE resolution > 720</s>
CREATE TABLE table_1342359_42 (incumbent VARCHAR, district VARCHAR)
SELECT COUNT(incumbent) FROM table_1342359_42 WHERE district = "Texas 12"
Name the number of incumbents for texas 12
<s>[INST]Name the number of incumbents for texas 12 Context: CREATE TABLE table_1342359_42 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT COUNT(incumbent) FROM table_1342359_42 WHERE district = "Texas 12"</s>
CREATE TABLE table_name_81 (time VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT time FROM table_name_81 WHERE opponent = "white sox" AND record = "63-70"
At what time was the game when they played the White Sox and had a record of 63-70?
<s>[INST]At what time was the game when they played the White Sox and had a record of 63-70? Context: CREATE TABLE table_name_81 (time VARCHAR, opponent VARCHAR, record VARCHAR)[/INST]SELECT time FROM table_name_81 WHERE opponent = "white sox" AND record = "63-70"</s>
CREATE TABLE table_23224961_1 (niederbayern VARCHAR, oberbayern_b VARCHAR)
SELECT niederbayern FROM table_23224961_1 WHERE oberbayern_b = "ESV Ingolstadt"
When esv ingolstadt is the oberbayern b what is the niederbayern?
<s>[INST]When esv ingolstadt is the oberbayern b what is the niederbayern? Context: CREATE TABLE table_23224961_1 (niederbayern VARCHAR, oberbayern_b VARCHAR)[/INST]SELECT niederbayern FROM table_23224961_1 WHERE oberbayern_b = "ESV Ingolstadt"</s>
CREATE TABLE table_name_29 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_29 WHERE loss = "reed (0–2)"
What was the date of the game that had a loss of Reed (0–2)?
<s>[INST]What was the date of the game that had a loss of Reed (0–2)? Context: CREATE TABLE table_name_29 (date VARCHAR, loss VARCHAR)[/INST]SELECT date FROM table_name_29 WHERE loss = "reed (0–2)"</s>
CREATE TABLE table_name_59 (production_time VARCHAR, number_built VARCHAR, model VARCHAR)
SELECT production_time FROM table_name_59 WHERE number_built > 2.737 AND model = "280s"
What's the production time with more than 2.737 built and a 280s model?
<s>[INST]What's the production time with more than 2.737 built and a 280s model? Context: CREATE TABLE table_name_59 (production_time VARCHAR, number_built VARCHAR, model VARCHAR)[/INST]SELECT production_time FROM table_name_59 WHERE number_built > 2.737 AND model = "280s"</s>
CREATE TABLE table_name_90 (silver VARCHAR, rank VARCHAR, bronze VARCHAR)
SELECT COUNT(silver) FROM table_name_90 WHERE rank = 3 AND bronze > 0
How many silver medals had a rank of 3 with bronze larger than 0?
<s>[INST]How many silver medals had a rank of 3 with bronze larger than 0? Context: CREATE TABLE table_name_90 (silver VARCHAR, rank VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_90 WHERE rank = 3 AND bronze > 0</s>
CREATE TABLE table_name_74 (year INTEGER, opponent_in_the_final VARCHAR)
SELECT SUM(year) FROM table_name_74 WHERE opponent_in_the_final = "welby van horn"
How many years have an Opponent in the final of welby van horn?
<s>[INST]How many years have an Opponent in the final of welby van horn? Context: CREATE TABLE table_name_74 (year INTEGER, opponent_in_the_final VARCHAR)[/INST]SELECT SUM(year) FROM table_name_74 WHERE opponent_in_the_final = "welby van horn"</s>
CREATE TABLE table_1341718_14 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1341718_14 WHERE incumbent = "Ed Derwinski"
who were the candidates when the incumbent was ed derwinski?
<s>[INST]who were the candidates when the incumbent was ed derwinski? Context: CREATE TABLE table_1341718_14 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1341718_14 WHERE incumbent = "Ed Derwinski"</s>
CREATE TABLE table_name_33 (silver INTEGER, bronze VARCHAR, total VARCHAR)
SELECT MIN(silver) FROM table_name_33 WHERE bronze = 2 AND total > 4
What is the lowest silver that has 2 as the bronze, with a total greater than 4?
<s>[INST]What is the lowest silver that has 2 as the bronze, with a total greater than 4? Context: CREATE TABLE table_name_33 (silver INTEGER, bronze VARCHAR, total VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_33 WHERE bronze = 2 AND total > 4</s>
CREATE TABLE table_name_79 (gold INTEGER, total INTEGER)
SELECT SUM(gold) FROM table_name_79 WHERE total < 1
How many total golds do teams have when the total medals is less than 1?
<s>[INST]How many total golds do teams have when the total medals is less than 1? Context: CREATE TABLE table_name_79 (gold INTEGER, total INTEGER)[/INST]SELECT SUM(gold) FROM table_name_79 WHERE total < 1</s>
CREATE TABLE table_name_57 (constructor VARCHAR, grid VARCHAR)
SELECT constructor FROM table_name_57 WHERE grid = 8
Tell me the constructor for grid of 8
<s>[INST]Tell me the constructor for grid of 8 Context: CREATE TABLE table_name_57 (constructor VARCHAR, grid VARCHAR)[/INST]SELECT constructor FROM table_name_57 WHERE grid = 8</s>
CREATE TABLE table_name_29 (average_score INTEGER, artist VARCHAR)
SELECT MAX(average_score) FROM table_name_29 WHERE artist = "black milk"
What is the highest score for Black Milk?
<s>[INST]What is the highest score for Black Milk? Context: CREATE TABLE table_name_29 (average_score INTEGER, artist VARCHAR)[/INST]SELECT MAX(average_score) FROM table_name_29 WHERE artist = "black milk"</s>
CREATE TABLE table_11664625_2 (original_air_date VARCHAR, no_in_season VARCHAR)
SELECT original_air_date FROM table_11664625_2 WHERE no_in_season = 18
What is the original air date of season 18?
<s>[INST]What is the original air date of season 18? Context: CREATE TABLE table_11664625_2 (original_air_date VARCHAR, no_in_season VARCHAR)[/INST]SELECT original_air_date FROM table_11664625_2 WHERE no_in_season = 18</s>
CREATE TABLE table_name_8 (athlete VARCHAR)
SELECT athlete FROM table_name_8 WHERE 224 = "xo" AND 220 = "o" AND 215 = "o"
Which Athlete has a 2.24 of xo, and a 2.20 of o, and a 2.15 of o?
<s>[INST]Which Athlete has a 2.24 of xo, and a 2.20 of o, and a 2.15 of o? Context: CREATE TABLE table_name_8 (athlete VARCHAR)[/INST]SELECT athlete FROM table_name_8 WHERE 224 = "xo" AND 220 = "o" AND 215 = "o"</s>
CREATE TABLE table_name_64 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_64 WHERE venue = "western oval"
What was the away team score at Western Oval?
<s>[INST]What was the away team score at Western Oval? Context: CREATE TABLE table_name_64 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_64 WHERE venue = "western oval"</s>
CREATE TABLE table_name_98 (total VARCHAR, name VARCHAR)
SELECT total FROM table_name_98 WHERE name = "danny allsopp"
What is the total for danny allsopp?
<s>[INST]What is the total for danny allsopp? Context: CREATE TABLE table_name_98 (total VARCHAR, name VARCHAR)[/INST]SELECT total FROM table_name_98 WHERE name = "danny allsopp"</s>
CREATE TABLE table_name_94 (loss VARCHAR, name VARCHAR)
SELECT loss FROM table_name_94 WHERE name = "boris picano-nacci"
What was the loss for Boris Picano-Nacci?
<s>[INST]What was the loss for Boris Picano-Nacci? Context: CREATE TABLE table_name_94 (loss VARCHAR, name VARCHAR)[/INST]SELECT loss FROM table_name_94 WHERE name = "boris picano-nacci"</s>
CREATE TABLE table_17060277_6 (date VARCHAR, high_assists VARCHAR)
SELECT date FROM table_17060277_6 WHERE high_assists = "Chris Duhon (13)"
Which date did Chris Duhon (13) receive high assists?
<s>[INST]Which date did Chris Duhon (13) receive high assists? Context: CREATE TABLE table_17060277_6 (date VARCHAR, high_assists VARCHAR)[/INST]SELECT date FROM table_17060277_6 WHERE high_assists = "Chris Duhon (13)"</s>
CREATE TABLE table_name_13 (length VARCHAR, disc VARCHAR)
SELECT length FROM table_name_13 WHERE disc = "67"
What is the length of disc 67?
<s>[INST]What is the length of disc 67? Context: CREATE TABLE table_name_13 (length VARCHAR, disc VARCHAR)[/INST]SELECT length FROM table_name_13 WHERE disc = "67"</s>
CREATE TABLE Cartoon (title VARCHAR, Directed_by VARCHAR, Original_air_date VARCHAR)
SELECT title, Directed_by FROM Cartoon ORDER BY Original_air_date
list all cartoon titles and their directors ordered by their air date
<s>[INST]list all cartoon titles and their directors ordered by their air date Context: CREATE TABLE Cartoon (title VARCHAR, Directed_by VARCHAR, Original_air_date VARCHAR)[/INST]SELECT title, Directed_by FROM Cartoon ORDER BY Original_air_date</s>
CREATE TABLE Student (Fname VARCHAR, Lname VARCHAR, StuID VARCHAR); CREATE TABLE Sportsinfo (StuID VARCHAR)
SELECT T2.Fname, T2.Lname FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID GROUP BY T1.StuID ORDER BY COUNT(*) DESC LIMIT 1
What is the first name and last name of the student who have most number of sports?
<s>[INST]What is the first name and last name of the student who have most number of sports? Context: CREATE TABLE Student (Fname VARCHAR, Lname VARCHAR, StuID VARCHAR); CREATE TABLE Sportsinfo (StuID VARCHAR)[/INST]SELECT T2.Fname, T2.Lname FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID GROUP BY T1.StuID ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE appointment (patient VARCHAR); CREATE TABLE patient (ssn VARCHAR)
SELECT name, phone FROM appointment AS T1 JOIN patient AS T2 ON T1.patient = T2.ssn GROUP BY T1.patient HAVING COUNT(*) > 1
what are name and phone number of patients who had more than one appointment?
<s>[INST]what are name and phone number of patients who had more than one appointment? Context: CREATE TABLE appointment (patient VARCHAR); CREATE TABLE patient (ssn VARCHAR)[/INST]SELECT name, phone FROM appointment AS T1 JOIN patient AS T2 ON T1.patient = T2.ssn GROUP BY T1.patient HAVING COUNT(*) > 1</s>
CREATE TABLE table_name_81 (show VARCHAR, date VARCHAR)
SELECT show FROM table_name_81 WHERE date = "19 april"
Which show aired on 19 april?
<s>[INST]Which show aired on 19 april? Context: CREATE TABLE table_name_81 (show VARCHAR, date VARCHAR)[/INST]SELECT show FROM table_name_81 WHERE date = "19 april"</s>
CREATE TABLE table_name_86 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_name_86 WHERE date = "november 12"
Who had the most points in the game on November 12?
<s>[INST]Who had the most points in the game on November 12? Context: CREATE TABLE table_name_86 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_name_86 WHERE date = "november 12"</s>
CREATE TABLE table_name_35 (finish VARCHAR, to_par VARCHAR)
SELECT finish FROM table_name_35 WHERE to_par = "+21"
What finish has +21 as the to par?
<s>[INST]What finish has +21 as the to par? Context: CREATE TABLE table_name_35 (finish VARCHAR, to_par VARCHAR)[/INST]SELECT finish FROM table_name_35 WHERE to_par = "+21"</s>
CREATE TABLE table_name_6 (played INTEGER, position VARCHAR, goals_against VARCHAR)
SELECT MIN(played) FROM table_name_6 WHERE position = 2 AND goals_against > 53
Which lowest played has a Position of 2, and Goals against larger than 53?
<s>[INST]Which lowest played has a Position of 2, and Goals against larger than 53? Context: CREATE TABLE table_name_6 (played INTEGER, position VARCHAR, goals_against VARCHAR)[/INST]SELECT MIN(played) FROM table_name_6 WHERE position = 2 AND goals_against > 53</s>
CREATE TABLE table_11677691_9 (school VARCHAR, player VARCHAR)
SELECT school FROM table_11677691_9 WHERE player = "Thomas Tyner"
Which school has the player Thomas Tyner?
<s>[INST]Which school has the player Thomas Tyner? Context: CREATE TABLE table_11677691_9 (school VARCHAR, player VARCHAR)[/INST]SELECT school FROM table_11677691_9 WHERE player = "Thomas Tyner"</s>
CREATE TABLE table_name_31 (attendance VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_31 WHERE result = "l 17–20"
Result of l 17–20 had what attendance?
<s>[INST]Result of l 17–20 had what attendance? Context: CREATE TABLE table_name_31 (attendance VARCHAR, result VARCHAR)[/INST]SELECT attendance FROM table_name_31 WHERE result = "l 17–20"</s>
CREATE TABLE table_name_98 (poll_source VARCHAR, undecided VARCHAR, jim_demint__r_ VARCHAR)
SELECT poll_source FROM table_name_98 WHERE undecided = "5%" AND jim_demint__r_ = "58%"
Which poll source determined undecided of 5% and Jim DeMint (R) of 58%?
<s>[INST]Which poll source determined undecided of 5% and Jim DeMint (R) of 58%? Context: CREATE TABLE table_name_98 (poll_source VARCHAR, undecided VARCHAR, jim_demint__r_ VARCHAR)[/INST]SELECT poll_source FROM table_name_98 WHERE undecided = "5%" AND jim_demint__r_ = "58%"</s>
CREATE TABLE table_name_80 (name VARCHAR, reaction VARCHAR, lane VARCHAR)
SELECT name FROM table_name_80 WHERE reaction > 0.17400000000000002 AND lane > 6
Who had a reaction larger than 0.17400000000000002 and a lane larger than 6?
<s>[INST]Who had a reaction larger than 0.17400000000000002 and a lane larger than 6? Context: CREATE TABLE table_name_80 (name VARCHAR, reaction VARCHAR, lane VARCHAR)[/INST]SELECT name FROM table_name_80 WHERE reaction > 0.17400000000000002 AND lane > 6</s>
CREATE TABLE table_name_10 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_10 WHERE date = "august 21"
who lost on august 21?
<s>[INST]who lost on august 21? Context: CREATE TABLE table_name_10 (loss VARCHAR, date VARCHAR)[/INST]SELECT loss FROM table_name_10 WHERE date = "august 21"</s>
CREATE TABLE mission (Fate VARCHAR, Ship_ID VARCHAR); CREATE TABLE ship (Ship_ID VARCHAR, Nationality VARCHAR)
SELECT DISTINCT T1.Fate FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID = T2.Ship_ID WHERE T2.Nationality = "United States"
Show the distinct fate of missions that involve ships with nationality "United States"
<s>[INST]Show the distinct fate of missions that involve ships with nationality "United States" Context: CREATE TABLE mission (Fate VARCHAR, Ship_ID VARCHAR); CREATE TABLE ship (Ship_ID VARCHAR, Nationality VARCHAR)[/INST]SELECT DISTINCT T1.Fate FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID = T2.Ship_ID WHERE T2.Nationality = "United States"</s>
CREATE TABLE table_name_73 (wins INTEGER, goals_against VARCHAR, ties VARCHAR)
SELECT MAX(wins) FROM table_name_73 WHERE goals_against = 37 AND ties > 0
For teams with more than 0 ties and goals against of 37, how many wins were tallied?
<s>[INST]For teams with more than 0 ties and goals against of 37, how many wins were tallied? Context: CREATE TABLE table_name_73 (wins INTEGER, goals_against VARCHAR, ties VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_73 WHERE goals_against = 37 AND ties > 0</s>
CREATE TABLE table_15301258_1 (best_actor VARCHAR, best_film VARCHAR)
SELECT best_actor FROM table_15301258_1 WHERE best_film = "Uncle Boonmee Who Can Recall His Past Lives"
Name the best actor for uncle boonmee who can recall his past lives
<s>[INST]Name the best actor for uncle boonmee who can recall his past lives Context: CREATE TABLE table_15301258_1 (best_actor VARCHAR, best_film VARCHAR)[/INST]SELECT best_actor FROM table_15301258_1 WHERE best_film = "Uncle Boonmee Who Can Recall His Past Lives"</s>
CREATE TABLE table_name_24 (award VARCHAR, year VARCHAR, category VARCHAR)
SELECT award FROM table_name_24 WHERE year = 2009 AND category = "songwriter of the year"
what is the award for the 2009 songwriter of the year?
<s>[INST]what is the award for the 2009 songwriter of the year? Context: CREATE TABLE table_name_24 (award VARCHAR, year VARCHAR, category VARCHAR)[/INST]SELECT award FROM table_name_24 WHERE year = 2009 AND category = "songwriter of the year"</s>
CREATE TABLE table_name_54 (chapter INTEGER, pinyin VARCHAR, articles VARCHAR)
SELECT MIN(chapter) FROM table_name_54 WHERE pinyin = "dehua" AND articles < 16
Can you tell me the lowest Chapter that has the Pinyin of dehua, and the Articles smaller than 16?
<s>[INST]Can you tell me the lowest Chapter that has the Pinyin of dehua, and the Articles smaller than 16? Context: CREATE TABLE table_name_54 (chapter INTEGER, pinyin VARCHAR, articles VARCHAR)[/INST]SELECT MIN(chapter) FROM table_name_54 WHERE pinyin = "dehua" AND articles < 16</s>
CREATE TABLE table_name_79 (round INTEGER, pick VARCHAR, player VARCHAR)
SELECT SUM(round) FROM table_name_79 WHERE pick < 220 AND player = "alford turner"
How many rounds have picked smaller than 220, with Alford Turner as a player?
<s>[INST]How many rounds have picked smaller than 220, with Alford Turner as a player? Context: CREATE TABLE table_name_79 (round INTEGER, pick VARCHAR, player VARCHAR)[/INST]SELECT SUM(round) FROM table_name_79 WHERE pick < 220 AND player = "alford turner"</s>
CREATE TABLE table_name_44 (issue INTEGER, artist VARCHAR, spoofed_title VARCHAR)
SELECT SUM(issue) FROM table_name_44 WHERE artist = "mort drucker" AND spoofed_title = "route 67"
Which issue was the Spoofed title Route 67 for which Mort Drucker was the artist?
<s>[INST]Which issue was the Spoofed title Route 67 for which Mort Drucker was the artist? Context: CREATE TABLE table_name_44 (issue INTEGER, artist VARCHAR, spoofed_title VARCHAR)[/INST]SELECT SUM(issue) FROM table_name_44 WHERE artist = "mort drucker" AND spoofed_title = "route 67"</s>
CREATE TABLE table_name_18 (withdrawn INTEGER, number VARCHAR, converted VARCHAR)
SELECT MAX(withdrawn) FROM table_name_18 WHERE number = "32 (2nd)" AND converted < 1966
With a converted less than 1966 and a number of 32 (2nd), what is the largest number listed for withdrawn?
<s>[INST]With a converted less than 1966 and a number of 32 (2nd), what is the largest number listed for withdrawn? Context: CREATE TABLE table_name_18 (withdrawn INTEGER, number VARCHAR, converted VARCHAR)[/INST]SELECT MAX(withdrawn) FROM table_name_18 WHERE number = "32 (2nd)" AND converted < 1966</s>
CREATE TABLE table_11677100_5 (hometown VARCHAR, school VARCHAR)
SELECT hometown FROM table_11677100_5 WHERE school = "Athens Drive High school"
What was the hometown of the player who attended Athens Drive High School?
<s>[INST]What was the hometown of the player who attended Athens Drive High School? Context: CREATE TABLE table_11677100_5 (hometown VARCHAR, school VARCHAR)[/INST]SELECT hometown FROM table_11677100_5 WHERE school = "Athens Drive High school"</s>
CREATE TABLE table_26842217_8 (time VARCHAR, visiting_team VARCHAR)
SELECT time FROM table_26842217_8 WHERE visiting_team = "Clemson"
If the visiting team is Clemson, when was the time?
<s>[INST]If the visiting team is Clemson, when was the time? Context: CREATE TABLE table_26842217_8 (time VARCHAR, visiting_team VARCHAR)[/INST]SELECT time FROM table_26842217_8 WHERE visiting_team = "Clemson"</s>
CREATE TABLE table_name_68 (game INTEGER, location VARCHAR, attendance VARCHAR)
SELECT MIN(game) FROM table_name_68 WHERE location = "philips arena" AND attendance < 15 OFFSET 619
What is the lowest Game, when Location is Philips Arena, and when Attendance is less than 15,619?
<s>[INST]What is the lowest Game, when Location is Philips Arena, and when Attendance is less than 15,619? Context: CREATE TABLE table_name_68 (game INTEGER, location VARCHAR, attendance VARCHAR)[/INST]SELECT MIN(game) FROM table_name_68 WHERE location = "philips arena" AND attendance < 15 OFFSET 619</s>
CREATE TABLE table_name_65 (college VARCHAR, overall VARCHAR)
SELECT college FROM table_name_65 WHERE overall = 17
Name the college with overall of 17
<s>[INST]Name the college with overall of 17 Context: CREATE TABLE table_name_65 (college VARCHAR, overall VARCHAR)[/INST]SELECT college FROM table_name_65 WHERE overall = 17</s>
CREATE TABLE table_name_78 (grid INTEGER, laps INTEGER)
SELECT AVG(grid) FROM table_name_78 WHERE laps > 23
What is the average grid with more than 23 laps?
<s>[INST]What is the average grid with more than 23 laps? Context: CREATE TABLE table_name_78 (grid INTEGER, laps INTEGER)[/INST]SELECT AVG(grid) FROM table_name_78 WHERE laps > 23</s>
CREATE TABLE table_name_59 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_59 WHERE away_team = "geelong"
What was the score of the home team when the away team was Geelong?
<s>[INST]What was the score of the home team when the away team was Geelong? Context: CREATE TABLE table_name_59 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_59 WHERE away_team = "geelong"</s>
CREATE TABLE table_name_38 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_38 WHERE venue = "windy hill"
What was the highest attendance of the matches that took place at Windy Hill?
<s>[INST]What was the highest attendance of the matches that took place at Windy Hill? Context: CREATE TABLE table_name_38 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_38 WHERE venue = "windy hill"</s>
CREATE TABLE table_name_36 (seasons INTEGER, years VARCHAR, lost VARCHAR)
SELECT MIN(seasons) FROM table_name_36 WHERE years = "1982" AND lost > 9
What is the lowest number of seasons that the head coach of 1982 had with larger than 9 losses?
<s>[INST]What is the lowest number of seasons that the head coach of 1982 had with larger than 9 losses? Context: CREATE TABLE table_name_36 (seasons INTEGER, years VARCHAR, lost VARCHAR)[/INST]SELECT MIN(seasons) FROM table_name_36 WHERE years = "1982" AND lost > 9</s>
CREATE TABLE table_26060884_2 (vehicle_theft VARCHAR, forcible_rape VARCHAR)
SELECT COUNT(vehicle_theft) FROM table_26060884_2 WHERE forcible_rape = 1232
How many vehicle thefts data were recorded if forcible rape is 1232?
<s>[INST]How many vehicle thefts data were recorded if forcible rape is 1232? Context: CREATE TABLE table_26060884_2 (vehicle_theft VARCHAR, forcible_rape VARCHAR)[/INST]SELECT COUNT(vehicle_theft) FROM table_26060884_2 WHERE forcible_rape = 1232</s>
CREATE TABLE table_name_25 (team_name VARCHAR, poles VARCHAR, final_placing VARCHAR)
SELECT team_name FROM table_name_25 WHERE poles = "0" AND final_placing = "29th"
Which Team Name has Poles of 0, and a Final Placing of 29th?
<s>[INST]Which Team Name has Poles of 0, and a Final Placing of 29th? Context: CREATE TABLE table_name_25 (team_name VARCHAR, poles VARCHAR, final_placing VARCHAR)[/INST]SELECT team_name FROM table_name_25 WHERE poles = "0" AND final_placing = "29th"</s>
CREATE TABLE table_name_87 (ordered VARCHAR, name VARCHAR)
SELECT ordered FROM table_name_87 WHERE name = "helena"
What ordered has helena as the name?
<s>[INST]What ordered has helena as the name? Context: CREATE TABLE table_name_87 (ordered VARCHAR, name VARCHAR)[/INST]SELECT ordered FROM table_name_87 WHERE name = "helena"</s>
CREATE TABLE table_254776_1 (founded VARCHAR, institution VARCHAR)
SELECT founded FROM table_254776_1 WHERE institution = "Dickinson College"
When was Dickinson College founded?
<s>[INST]When was Dickinson College founded? Context: CREATE TABLE table_254776_1 (founded VARCHAR, institution VARCHAR)[/INST]SELECT founded FROM table_254776_1 WHERE institution = "Dickinson College"</s>
CREATE TABLE table_name_2 (class VARCHAR, rank VARCHAR, entrant VARCHAR, points VARCHAR, chassis VARCHAR)
SELECT class FROM table_name_2 WHERE points < 206 AND chassis = "audi r8" AND entrant = "adt champion racing" AND rank = "1st"
What was the class when adt champion racing ranked 1st with an audi r8 chassis, and less than 206 points?
<s>[INST]What was the class when adt champion racing ranked 1st with an audi r8 chassis, and less than 206 points? Context: CREATE TABLE table_name_2 (class VARCHAR, rank VARCHAR, entrant VARCHAR, points VARCHAR, chassis VARCHAR)[/INST]SELECT class FROM table_name_2 WHERE points < 206 AND chassis = "audi r8" AND entrant = "adt champion racing" AND rank = "1st"</s>
CREATE TABLE table_name_19 (height VARCHAR, name VARCHAR)
SELECT height FROM table_name_19 WHERE name = "james stanton"
How tall is player James Stanton?
<s>[INST]How tall is player James Stanton? Context: CREATE TABLE table_name_19 (height VARCHAR, name VARCHAR)[/INST]SELECT height FROM table_name_19 WHERE name = "james stanton"</s>
CREATE TABLE table_name_49 (last_final_lost VARCHAR, wins VARCHAR)
SELECT last_final_lost FROM table_name_49 WHERE wins = "7"
When was the last final lost of the club with 7 wins?
<s>[INST]When was the last final lost of the club with 7 wins? Context: CREATE TABLE table_name_49 (last_final_lost VARCHAR, wins VARCHAR)[/INST]SELECT last_final_lost FROM table_name_49 WHERE wins = "7"</s>
CREATE TABLE table_name_64 (partial_failures INTEGER, failures VARCHAR, successes VARCHAR)
SELECT MIN(partial_failures) FROM table_name_64 WHERE failures > 0 AND successes = 1
Failures larger than 0, and a Successes of 1 has what lowest partial failures?
<s>[INST]Failures larger than 0, and a Successes of 1 has what lowest partial failures? Context: CREATE TABLE table_name_64 (partial_failures INTEGER, failures VARCHAR, successes VARCHAR)[/INST]SELECT MIN(partial_failures) FROM table_name_64 WHERE failures > 0 AND successes = 1</s>
CREATE TABLE table_name_49 (date VARCHAR, outcome VARCHAR, score VARCHAR)
SELECT date FROM table_name_49 WHERE outcome = "runner-up" AND score = "4–6, 3–6"
When was the outcome runner-up with a score of 4–6, 3–6?
<s>[INST]When was the outcome runner-up with a score of 4–6, 3–6? Context: CREATE TABLE table_name_49 (date VARCHAR, outcome VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_49 WHERE outcome = "runner-up" AND score = "4–6, 3–6"</s>
CREATE TABLE table_20466963_13 (guest_4 VARCHAR, guest_2 VARCHAR)
SELECT guest_4 FROM table_20466963_13 WHERE guest_2 = "Steve Lamacq"
Name the guest 4 for steve lamacq
<s>[INST]Name the guest 4 for steve lamacq Context: CREATE TABLE table_20466963_13 (guest_4 VARCHAR, guest_2 VARCHAR)[/INST]SELECT guest_4 FROM table_20466963_13 WHERE guest_2 = "Steve Lamacq"</s>
CREATE TABLE table_name_32 (score VARCHAR, location_attendance VARCHAR, record VARCHAR)
SELECT score FROM table_name_32 WHERE location_attendance = "alexander memorial coliseum" AND record = "0-1"
What was the score for the game played in Alexander Memorial Coliseum when the record was 0-1?
<s>[INST]What was the score for the game played in Alexander Memorial Coliseum when the record was 0-1? Context: CREATE TABLE table_name_32 (score VARCHAR, location_attendance VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_32 WHERE location_attendance = "alexander memorial coliseum" AND record = "0-1"</s>
CREATE TABLE table_name_1 (televote_points VARCHAR, televotes VARCHAR)
SELECT televote_points FROM table_name_1 WHERE televotes = "6,131"
Who received 6,131 televotes?
<s>[INST]Who received 6,131 televotes? Context: CREATE TABLE table_name_1 (televote_points VARCHAR, televotes VARCHAR)[/INST]SELECT televote_points FROM table_name_1 WHERE televotes = "6,131"</s>
CREATE TABLE table_name_74 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_74 WHERE player = "dick metz"
What is the score of player dick metz?
<s>[INST]What is the score of player dick metz? Context: CREATE TABLE table_name_74 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_74 WHERE player = "dick metz"</s>
CREATE TABLE table_name_11 (date VARCHAR, opponents VARCHAR, score VARCHAR)
SELECT date FROM table_name_11 WHERE opponents = "scottish football league xi" AND score = "1-5"
When were scottish football league xi the opponents with a score of 1-5?
<s>[INST]When were scottish football league xi the opponents with a score of 1-5? Context: CREATE TABLE table_name_11 (date VARCHAR, opponents VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_11 WHERE opponents = "scottish football league xi" AND score = "1-5"</s>
CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_2 WHERE date = "april 3, 2007"
Date of april 3, 2007 had what score?
<s>[INST]Date of april 3, 2007 had what score? Context: CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_2 WHERE date = "april 3, 2007"</s>
CREATE TABLE table_name_9 (points_classification VARCHAR, general_classification VARCHAR)
SELECT points_classification FROM table_name_9 WHERE general_classification = "cyril dessel"
Which Points Classification does the General Classification of Cyril Dessel have?
<s>[INST]Which Points Classification does the General Classification of Cyril Dessel have? Context: CREATE TABLE table_name_9 (points_classification VARCHAR, general_classification VARCHAR)[/INST]SELECT points_classification FROM table_name_9 WHERE general_classification = "cyril dessel"</s>
CREATE TABLE table_171236_2 (area_km_2 VARCHAR, census_ranking VARCHAR)
SELECT area_km_2 FROM table_171236_2 WHERE census_ranking = "1,016 of 5,008"
What is the Area KM 2 of the place that has a Census ranking of 1,016 of 5,008?
<s>[INST]What is the Area KM 2 of the place that has a Census ranking of 1,016 of 5,008? Context: CREATE TABLE table_171236_2 (area_km_2 VARCHAR, census_ranking VARCHAR)[/INST]SELECT area_km_2 FROM table_171236_2 WHERE census_ranking = "1,016 of 5,008"</s>
CREATE TABLE table_169955_1 (gregorian_calendar VARCHAR, sign_of_zodiac VARCHAR)
SELECT COUNT(gregorian_calendar) FROM table_169955_1 WHERE sign_of_zodiac = "Gemini"
Name the number of gregorian calenda rof gemini
<s>[INST]Name the number of gregorian calenda rof gemini Context: CREATE TABLE table_169955_1 (gregorian_calendar VARCHAR, sign_of_zodiac VARCHAR)[/INST]SELECT COUNT(gregorian_calendar) FROM table_169955_1 WHERE sign_of_zodiac = "Gemini"</s>
CREATE TABLE table_name_20 (middle_german___luxemburgish__ VARCHAR, ein VARCHAR, Limburgish VARCHAR)
SELECT middle_german___luxemburgish__ FROM table_name_20 WHERE DUTCH(Limburgish) = ein
What is the Middle German (Luxemburgish) word for ein?
<s>[INST]What is the Middle German (Luxemburgish) word for ein? Context: CREATE TABLE table_name_20 (middle_german___luxemburgish__ VARCHAR, ein VARCHAR, Limburgish VARCHAR)[/INST]SELECT middle_german___luxemburgish__ FROM table_name_20 WHERE DUTCH(Limburgish) = ein</s>
CREATE TABLE salary (salary INTEGER, team_id VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR)
SELECT AVG(T1.salary) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings'
What is average salary of the players in the team named 'Boston Red Stockings' ?
<s>[INST]What is average salary of the players in the team named 'Boston Red Stockings' ? Context: CREATE TABLE salary (salary INTEGER, team_id VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR)[/INST]SELECT AVG(T1.salary) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings'</s>
CREATE TABLE table_name_34 (event VARCHAR, outcome VARCHAR)
SELECT event FROM table_name_34 WHERE outcome = "other open tournaments"
What Event has an Outcome of other open tournaments?
<s>[INST]What Event has an Outcome of other open tournaments? Context: CREATE TABLE table_name_34 (event VARCHAR, outcome VARCHAR)[/INST]SELECT event FROM table_name_34 WHERE outcome = "other open tournaments"</s>
CREATE TABLE table_21977627_1 (chassis VARCHAR, engine VARCHAR)
SELECT chassis FROM table_21977627_1 WHERE engine = "Maserati L6s"
What chasis did the maserati l6s have?
<s>[INST]What chasis did the maserati l6s have? Context: CREATE TABLE table_21977627_1 (chassis VARCHAR, engine VARCHAR)[/INST]SELECT chassis FROM table_21977627_1 WHERE engine = "Maserati L6s"</s>
CREATE TABLE table_27723526_13 (game INTEGER, date VARCHAR)
SELECT MAX(game) FROM table_27723526_13 WHERE date = "April 3"
What is the game number played on April 3?
<s>[INST]What is the game number played on April 3? Context: CREATE TABLE table_27723526_13 (game INTEGER, date VARCHAR)[/INST]SELECT MAX(game) FROM table_27723526_13 WHERE date = "April 3"</s>
CREATE TABLE table_name_91 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_91 WHERE result = "l 23-41"
Who was the Opponent of the Game with a Result of l 23-41?
<s>[INST]Who was the Opponent of the Game with a Result of l 23-41? Context: CREATE TABLE table_name_91 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_name_91 WHERE result = "l 23-41"</s>
CREATE TABLE table_name_35 (Id VARCHAR)
SELECT 1989 FROM table_name_35 WHERE 1992 = "0 / 1"
What is the result for 1989 that has a 1992 result of 0 / 1?
<s>[INST]What is the result for 1989 that has a 1992 result of 0 / 1? Context: CREATE TABLE table_name_35 (Id VARCHAR)[/INST]SELECT 1989 FROM table_name_35 WHERE 1992 = "0 / 1"</s>
CREATE TABLE artist (Id VARCHAR)
SELECT COUNT(*) FROM artist
How many artists do we have?
<s>[INST]How many artists do we have? Context: CREATE TABLE artist (Id VARCHAR)[/INST]SELECT COUNT(*) FROM artist</s>
CREATE TABLE table_name_8 (game VARCHAR, field_judge VARCHAR)
SELECT game FROM table_name_8 WHERE field_judge = "al jury"
What game had Al Jury as field judge?
<s>[INST]What game had Al Jury as field judge? Context: CREATE TABLE table_name_8 (game VARCHAR, field_judge VARCHAR)[/INST]SELECT game FROM table_name_8 WHERE field_judge = "al jury"</s>
CREATE TABLE table_name_83 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_83 WHERE away_team = "melbourne"
What was the smallest crowd for a Melbourne away game?
<s>[INST]What was the smallest crowd for a Melbourne away game? Context: CREATE TABLE table_name_83 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_83 WHERE away_team = "melbourne"</s>
CREATE TABLE table_21311525_1 (result VARCHAR, date VARCHAR)
SELECT COUNT(result) FROM table_21311525_1 WHERE date = "19/06/2009"
How many results were there on 19/06/2009?
<s>[INST]How many results were there on 19/06/2009? Context: CREATE TABLE table_21311525_1 (result VARCHAR, date VARCHAR)[/INST]SELECT COUNT(result) FROM table_21311525_1 WHERE date = "19/06/2009"</s>
CREATE TABLE table_20195922_3 (prize__eur_ VARCHAR, number_of_winning_tickets VARCHAR)
SELECT prize__eur_ FROM table_20195922_3 WHERE number_of_winning_tickets = 1
What are the prizes when 1 is the number of winning tickets?
<s>[INST]What are the prizes when 1 is the number of winning tickets? Context: CREATE TABLE table_20195922_3 (prize__eur_ VARCHAR, number_of_winning_tickets VARCHAR)[/INST]SELECT prize__eur_ FROM table_20195922_3 WHERE number_of_winning_tickets = 1</s>
CREATE TABLE table_name_88 (others_number VARCHAR, kerry_percentage VARCHAR)
SELECT COUNT(others_number) FROM table_name_88 WHERE kerry_percentage = "36.7%"
When Kerry is at 36.7%, what is the total number of others?
<s>[INST]When Kerry is at 36.7%, what is the total number of others? Context: CREATE TABLE table_name_88 (others_number VARCHAR, kerry_percentage VARCHAR)[/INST]SELECT COUNT(others_number) FROM table_name_88 WHERE kerry_percentage = "36.7%"</s>
CREATE TABLE table_2008069_2 (pinyin VARCHAR, uyghur___k̢ona_yezik̢__ VARCHAR)
SELECT pinyin FROM table_2008069_2 WHERE uyghur___k̢ona_yezik̢__ = "تىزناپ"
Name the pinyin for تىزناپ
<s>[INST]Name the pinyin for تىزناپ Context: CREATE TABLE table_2008069_2 (pinyin VARCHAR, uyghur___k̢ona_yezik̢__ VARCHAR)[/INST]SELECT pinyin FROM table_2008069_2 WHERE uyghur___k̢ona_yezik̢__ = "تىزناپ"</s>
CREATE TABLE table_name_42 (record VARCHAR, high_rebounds VARCHAR)
SELECT record FROM table_name_42 WHERE high_rebounds = "luc mbah a moute (11)"
Which Record has a High rebounds of luc mbah a moute (11)?
<s>[INST]Which Record has a High rebounds of luc mbah a moute (11)? Context: CREATE TABLE table_name_42 (record VARCHAR, high_rebounds VARCHAR)[/INST]SELECT record FROM table_name_42 WHERE high_rebounds = "luc mbah a moute (11)"</s>
CREATE TABLE table_name_92 (ice_level_reporters VARCHAR, colour_commentator_s_ VARCHAR, year VARCHAR)
SELECT ice_level_reporters FROM table_name_92 WHERE colour_commentator_s_ = "harry neale" AND year > 2004
Which ice level reporter has Harry Neale for the colour commentator after the year 2004?
<s>[INST]Which ice level reporter has Harry Neale for the colour commentator after the year 2004? Context: CREATE TABLE table_name_92 (ice_level_reporters VARCHAR, colour_commentator_s_ VARCHAR, year VARCHAR)[/INST]SELECT ice_level_reporters FROM table_name_92 WHERE colour_commentator_s_ = "harry neale" AND year > 2004</s>
CREATE TABLE participants (Participant_ID VARCHAR, participant_details VARCHAR); CREATE TABLE Participants_in_Events (Participant_ID VARCHAR)
SELECT COUNT(*) FROM participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID = T2.Participant_ID WHERE T1.participant_details LIKE '%Dr.%'
How many events had participants whose details had the substring 'Dr.'
<s>[INST]How many events had participants whose details had the substring 'Dr.' Context: CREATE TABLE participants (Participant_ID VARCHAR, participant_details VARCHAR); CREATE TABLE Participants_in_Events (Participant_ID VARCHAR)[/INST]SELECT COUNT(*) FROM participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID = T2.Participant_ID WHERE T1.participant_details LIKE '%Dr.%'</s>
CREATE TABLE table_10942714_1 (peak VARCHAR, chinese_title VARCHAR)
SELECT COUNT(peak) FROM table_10942714_1 WHERE chinese_title = "潮爆大狀"
How many are listed under 潮爆大狀
<s>[INST]How many are listed under 潮爆大狀 Context: CREATE TABLE table_10942714_1 (peak VARCHAR, chinese_title VARCHAR)[/INST]SELECT COUNT(peak) FROM table_10942714_1 WHERE chinese_title = "潮爆大狀"</s>
CREATE TABLE problems (problem_id VARCHAR, reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_last_name VARCHAR)
SELECT T1.problem_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_last_name = "Bosco"
Find the ids of the problems that are reported by the staff whose last name is Bosco.
<s>[INST]Find the ids of the problems that are reported by the staff whose last name is Bosco. Context: CREATE TABLE problems (problem_id VARCHAR, reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_last_name VARCHAR)[/INST]SELECT T1.problem_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_last_name = "Bosco"</s>
CREATE TABLE table_name_40 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_40 WHERE home_team = "collingwood"
Name the venue for collingwood home team
<s>[INST]Name the venue for collingwood home team Context: CREATE TABLE table_name_40 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_40 WHERE home_team = "collingwood"</s>
CREATE TABLE table_name_85 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_85 WHERE record = "30-32"
Which Loss has a Record of 30-32?
<s>[INST]Which Loss has a Record of 30-32? Context: CREATE TABLE table_name_85 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_85 WHERE record = "30-32"</s>
CREATE TABLE table_300283_1 (name_in_basque VARCHAR, official_name VARCHAR)
SELECT name_in_basque FROM table_300283_1 WHERE official_name = "Kuartango"
What is the name in Basque of the municipality whose official name is Kuartango?
<s>[INST]What is the name in Basque of the municipality whose official name is Kuartango? Context: CREATE TABLE table_300283_1 (name_in_basque VARCHAR, official_name VARCHAR)[/INST]SELECT name_in_basque FROM table_300283_1 WHERE official_name = "Kuartango"</s>
CREATE TABLE table_name_97 (d_48_√ VARCHAR, d_40_√ VARCHAR)
SELECT d_48_√ FROM table_name_97 WHERE d_40_√ = "d 37"
What's the D 48 √ when the D 40 √ is D 37?
<s>[INST]What's the D 48 √ when the D 40 √ is D 37? Context: CREATE TABLE table_name_97 (d_48_√ VARCHAR, d_40_√ VARCHAR)[/INST]SELECT d_48_√ FROM table_name_97 WHERE d_40_√ = "d 37"</s>
CREATE TABLE table_1886270_1 (cr_no INTEGER)
SELECT MAX(cr_no) FROM table_1886270_1
What is the highest cr number?
<s>[INST]What is the highest cr number? Context: CREATE TABLE table_1886270_1 (cr_no INTEGER)[/INST]SELECT MAX(cr_no) FROM table_1886270_1</s>
CREATE TABLE table_name_48 (wins INTEGER, losses INTEGER)
SELECT MAX(wins) FROM table_name_48 WHERE losses > 1
What is the greatest Wins with Losses larger than 1?
<s>[INST]What is the greatest Wins with Losses larger than 1? Context: CREATE TABLE table_name_48 (wins INTEGER, losses INTEGER)[/INST]SELECT MAX(wins) FROM table_name_48 WHERE losses > 1</s>
CREATE TABLE table_name_45 (category VARCHAR, award VARCHAR, title VARCHAR, year VARCHAR, result VARCHAR)
SELECT category FROM table_name_45 WHERE year > 1996 AND result = "won" AND title = "brokeback mountain" AND award = "golden globe award"
Which Category has a Year larger than 1996, and a Result of won, and a Title of brokeback mountain, and an Award of golden globe award?
<s>[INST]Which Category has a Year larger than 1996, and a Result of won, and a Title of brokeback mountain, and an Award of golden globe award? Context: CREATE TABLE table_name_45 (category VARCHAR, award VARCHAR, title VARCHAR, year VARCHAR, result VARCHAR)[/INST]SELECT category FROM table_name_45 WHERE year > 1996 AND result = "won" AND title = "brokeback mountain" AND award = "golden globe award"</s>
CREATE TABLE players (country_code VARCHAR)
SELECT country_code FROM players GROUP BY country_code ORDER BY COUNT(*) DESC LIMIT 1
find the code of the country where has the greatest number of players.
<s>[INST]find the code of the country where has the greatest number of players. Context: CREATE TABLE players (country_code VARCHAR)[/INST]SELECT country_code FROM players GROUP BY country_code ORDER BY COUNT(*) DESC LIMIT 1</s>