context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_12 (date VARCHAR, opponents_in_the_final VARCHAR)
SELECT date FROM table_name_12 WHERE opponents_in_the_final = "patrick mcenroe tim wilkison"
Name the Date which has Opponents in the final of patrick mcenroe tim wilkison?
<s>[INST]Name the Date which has Opponents in the final of patrick mcenroe tim wilkison? Context: CREATE TABLE table_name_12 (date VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT date FROM table_name_12 WHERE opponents_in_the_final = "patrick mcenroe tim wilkison"</s>
CREATE TABLE table_name_94 (final_score VARCHAR, visiting_team VARCHAR)
SELECT final_score FROM table_name_94 WHERE visiting_team = "buffalo bills"
What was the final score when the Buffalo Bills were the visiting team?
<s>[INST]What was the final score when the Buffalo Bills were the visiting team? Context: CREATE TABLE table_name_94 (final_score VARCHAR, visiting_team VARCHAR)[/INST]SELECT final_score FROM table_name_94 WHERE visiting_team = "buffalo bills"</s>
CREATE TABLE table_name_67 (place VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT place FROM table_name_67 WHERE to_par = "+4" AND score = 70 - 76 - 71 = 217
What is the Place of the Player with a To par of +4 and Score of 70-76-71=217?
<s>[INST]What is the Place of the Player with a To par of +4 and Score of 70-76-71=217? Context: CREATE TABLE table_name_67 (place VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_67 WHERE to_par = "+4" AND score = 70 - 76 - 71 = 217</s>
CREATE TABLE table_name_4 (visitor VARCHAR, decision VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_4 WHERE decision = "ward" AND record = "22–21–4"
Who was the visitor when ward recorded the decision with a record of 22–21–4?
<s>[INST]Who was the visitor when ward recorded the decision with a record of 22–21–4? Context: CREATE TABLE table_name_4 (visitor VARCHAR, decision VARCHAR, record VARCHAR)[/INST]SELECT visitor FROM table_name_4 WHERE decision = "ward" AND record = "22–21–4"</s>
CREATE TABLE table_name_89 (Id VARCHAR)
SELECT 2007 FROM table_name_89 WHERE 2011 = "4r" AND 2009 = "2r"
How many sets were played in 2007 at the tournament that had 4R in 2011 and 2R in 2009?
<s>[INST]How many sets were played in 2007 at the tournament that had 4R in 2011 and 2R in 2009? Context: CREATE TABLE table_name_89 (Id VARCHAR)[/INST]SELECT 2007 FROM table_name_89 WHERE 2011 = "4r" AND 2009 = "2r"</s>
CREATE TABLE table_14929574_3 (series__number INTEGER, directed_by VARCHAR)
SELECT MIN(series__number) FROM table_14929574_3 WHERE directed_by = "Bill Eagles"
Which episode number was directed by Bill Eagles?
<s>[INST]Which episode number was directed by Bill Eagles? Context: CREATE TABLE table_14929574_3 (series__number INTEGER, directed_by VARCHAR)[/INST]SELECT MIN(series__number) FROM table_14929574_3 WHERE directed_by = "Bill Eagles"</s>
CREATE TABLE table_name_60 (final_points VARCHAR, total VARCHAR, draw VARCHAR)
SELECT final_points FROM table_name_60 WHERE total = "0" AND draw = 22
What are the final points a 0 total and 22 draws?
<s>[INST]What are the final points a 0 total and 22 draws? Context: CREATE TABLE table_name_60 (final_points VARCHAR, total VARCHAR, draw VARCHAR)[/INST]SELECT final_points FROM table_name_60 WHERE total = "0" AND draw = 22</s>
CREATE TABLE table_name_30 (crowd INTEGER, venue VARCHAR)
SELECT SUM(crowd) FROM table_name_30 WHERE venue = "junction oval"
How big was the crowd size, at the Junction Oval venue?
<s>[INST]How big was the crowd size, at the Junction Oval venue? Context: CREATE TABLE table_name_30 (crowd INTEGER, venue VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_30 WHERE venue = "junction oval"</s>
CREATE TABLE table_name_59 (crowd VARCHAR, round VARCHAR)
SELECT COUNT(crowd) FROM table_name_59 WHERE round = "round 9"
What was the attendance at Round 9?
<s>[INST]What was the attendance at Round 9? Context: CREATE TABLE table_name_59 (crowd VARCHAR, round VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_59 WHERE round = "round 9"</s>
CREATE TABLE table_28925058_1 (race_winner VARCHAR, date VARCHAR)
SELECT race_winner FROM table_28925058_1 WHERE date = "August 15"
Who won the race on August 15?
<s>[INST]Who won the race on August 15? Context: CREATE TABLE table_28925058_1 (race_winner VARCHAR, date VARCHAR)[/INST]SELECT race_winner FROM table_28925058_1 WHERE date = "August 15"</s>
CREATE TABLE table_name_14 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_14 WHERE player = "mike weir"
What was the to par score for Mike Weir?
<s>[INST]What was the to par score for Mike Weir? Context: CREATE TABLE table_name_14 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_14 WHERE player = "mike weir"</s>
CREATE TABLE table_18569389_1 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_18569389_1 WHERE production_code = "2T6908"
Name the title for production code 2t6908
<s>[INST]Name the title for production code 2t6908 Context: CREATE TABLE table_18569389_1 (title VARCHAR, production_code VARCHAR)[/INST]SELECT title FROM table_18569389_1 WHERE production_code = "2T6908"</s>
CREATE TABLE table_name_73 (theme VARCHAR, original_artist VARCHAR)
SELECT theme FROM table_name_73 WHERE original_artist = "fontella bass"
What is the Theme when Fontella Bass was the original artist?
<s>[INST]What is the Theme when Fontella Bass was the original artist? Context: CREATE TABLE table_name_73 (theme VARCHAR, original_artist VARCHAR)[/INST]SELECT theme FROM table_name_73 WHERE original_artist = "fontella bass"</s>
CREATE TABLE table_name_8 (bronze VARCHAR, total VARCHAR, silver VARCHAR)
SELECT COUNT(bronze) FROM table_name_8 WHERE total > 1 AND silver < 1
What is the total number of bronze medals with more than 1 medal total and fewer than 1 silver medal?
<s>[INST]What is the total number of bronze medals with more than 1 medal total and fewer than 1 silver medal? Context: CREATE TABLE table_name_8 (bronze VARCHAR, total VARCHAR, silver VARCHAR)[/INST]SELECT COUNT(bronze) FROM table_name_8 WHERE total > 1 AND silver < 1</s>
CREATE TABLE table_name_26 (average VARCHAR, matches VARCHAR, wickets VARCHAR)
SELECT average FROM table_name_26 WHERE matches < 5 AND wickets > 9
what is the average when matches is less than 5 and wickets is more than 9?
<s>[INST]what is the average when matches is less than 5 and wickets is more than 9? Context: CREATE TABLE table_name_26 (average VARCHAR, matches VARCHAR, wickets VARCHAR)[/INST]SELECT average FROM table_name_26 WHERE matches < 5 AND wickets > 9</s>
CREATE TABLE table_name_51 (no_8 VARCHAR, no_10 VARCHAR, no_5 VARCHAR)
SELECT no_8 FROM table_name_51 WHERE no_10 = "jackson" AND no_5 = "mason"
Who was No. 8 when No. 10 Jackson and No. 5 Mason?
<s>[INST]Who was No. 8 when No. 10 Jackson and No. 5 Mason? Context: CREATE TABLE table_name_51 (no_8 VARCHAR, no_10 VARCHAR, no_5 VARCHAR)[/INST]SELECT no_8 FROM table_name_51 WHERE no_10 = "jackson" AND no_5 = "mason"</s>
CREATE TABLE table_22824312_1 (hometown VARCHAR, player VARCHAR)
SELECT hometown FROM table_22824312_1 WHERE player = "Jim Dutcher"
What is jim dutcher's hometown?
<s>[INST]What is jim dutcher's hometown? Context: CREATE TABLE table_22824312_1 (hometown VARCHAR, player VARCHAR)[/INST]SELECT hometown FROM table_22824312_1 WHERE player = "Jim Dutcher"</s>
CREATE TABLE table_name_60 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_60 WHERE week = 13
How many people attended the game in week 13?
<s>[INST]How many people attended the game in week 13? Context: CREATE TABLE table_name_60 (attendance VARCHAR, week VARCHAR)[/INST]SELECT attendance FROM table_name_60 WHERE week = 13</s>
CREATE TABLE table_27389024_2 (original_air_date VARCHAR, written_by VARCHAR)
SELECT original_air_date FROM table_27389024_2 WHERE written_by = "Rama Stagner"
What is the original air date of the episode that was written by Rama Stagner?
<s>[INST]What is the original air date of the episode that was written by Rama Stagner? Context: CREATE TABLE table_27389024_2 (original_air_date VARCHAR, written_by VARCHAR)[/INST]SELECT original_air_date FROM table_27389024_2 WHERE written_by = "Rama Stagner"</s>
CREATE TABLE table_name_45 (ceremony VARCHAR, outcome VARCHAR, nominee VARCHAR)
SELECT ceremony FROM table_name_45 WHERE outcome = "nominated" AND nominee = "leela chitnis"
What ceremony was leela chitnis nominated at?
<s>[INST]What ceremony was leela chitnis nominated at? Context: CREATE TABLE table_name_45 (ceremony VARCHAR, outcome VARCHAR, nominee VARCHAR)[/INST]SELECT ceremony FROM table_name_45 WHERE outcome = "nominated" AND nominee = "leela chitnis"</s>
CREATE TABLE table_15187735_3 (episode VARCHAR, segment_c VARCHAR)
SELECT COUNT(episode) FROM table_15187735_3 WHERE segment_c = "Phyllo Dough"
Name the number of episode for phyllo dough
<s>[INST]Name the number of episode for phyllo dough Context: CREATE TABLE table_15187735_3 (episode VARCHAR, segment_c VARCHAR)[/INST]SELECT COUNT(episode) FROM table_15187735_3 WHERE segment_c = "Phyllo Dough"</s>
CREATE TABLE table_18703133_1 (wins INTEGER, team VARCHAR)
SELECT MAX(wins) FROM table_18703133_1 WHERE team = "Sport Colombia"
Name the most wins for sport colombia
<s>[INST]Name the most wins for sport colombia Context: CREATE TABLE table_18703133_1 (wins INTEGER, team VARCHAR)[/INST]SELECT MAX(wins) FROM table_18703133_1 WHERE team = "Sport Colombia"</s>
CREATE TABLE party (Governor VARCHAR)
SELECT COUNT(DISTINCT Governor) FROM party
How many distinct governors are there?
<s>[INST]How many distinct governors are there? Context: CREATE TABLE party (Governor VARCHAR)[/INST]SELECT COUNT(DISTINCT Governor) FROM party</s>
CREATE TABLE table_name_66 (against VARCHAR, draw VARCHAR, losses VARCHAR, matches VARCHAR)
SELECT COUNT(against) FROM table_name_66 WHERE losses < 52 AND matches > 4 AND draw < 2
What is the total number of Against, when Losses is less than 52, when Matches is greater than 4, and when Draw is less than 2?
<s>[INST]What is the total number of Against, when Losses is less than 52, when Matches is greater than 4, and when Draw is less than 2? Context: CREATE TABLE table_name_66 (against VARCHAR, draw VARCHAR, losses VARCHAR, matches VARCHAR)[/INST]SELECT COUNT(against) FROM table_name_66 WHERE losses < 52 AND matches > 4 A...
CREATE TABLE table_name_5 (fa_cup_goals INTEGER, league_goals VARCHAR)
SELECT SUM(fa_cup_goals) FROM table_name_5 WHERE league_goals = "19"
What is the sum of FA Cup goals when there are 19 league goals?
<s>[INST]What is the sum of FA Cup goals when there are 19 league goals? Context: CREATE TABLE table_name_5 (fa_cup_goals INTEGER, league_goals VARCHAR)[/INST]SELECT SUM(fa_cup_goals) FROM table_name_5 WHERE league_goals = "19"</s>
CREATE TABLE table_24307126_3 (assets_2013__bil VARCHAR, base VARCHAR)
SELECT COUNT(assets_2013__bil) AS $_ FROM table_24307126_3 WHERE base = "Australia"
Name the number of assets for australia
<s>[INST]Name the number of assets for australia Context: CREATE TABLE table_24307126_3 (assets_2013__bil VARCHAR, base VARCHAR)[/INST]SELECT COUNT(assets_2013__bil) AS $_ FROM table_24307126_3 WHERE base = "Australia"</s>
CREATE TABLE table_name_89 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_89 WHERE date = "15 july 1967" AND away_team = "fitzroy"
When the Away team is fitzroy on the Date of 15 july 1967, what was the Home team playing?
<s>[INST]When the Away team is fitzroy on the Date of 15 july 1967, what was the Home team playing? Context: CREATE TABLE table_name_89 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_89 WHERE date = "15 july 1967" AND away_team = "fitzroy"</s>
CREATE TABLE table_2668243_25 (result VARCHAR, candidates VARCHAR)
SELECT result FROM table_2668243_25 WHERE candidates = "Andrew Stevenson (J) 100%"
What was the result of the election featuring andrew stevenson (j) 100%?
<s>[INST]What was the result of the election featuring andrew stevenson (j) 100%? Context: CREATE TABLE table_2668243_25 (result VARCHAR, candidates VARCHAR)[/INST]SELECT result FROM table_2668243_25 WHERE candidates = "Andrew Stevenson (J) 100%"</s>
CREATE TABLE table_name_27 (distance VARCHAR, bearing VARCHAR)
SELECT distance FROM table_name_27 WHERE bearing = "297°"
what is the distance for bearing 297°?
<s>[INST]what is the distance for bearing 297°? Context: CREATE TABLE table_name_27 (distance VARCHAR, bearing VARCHAR)[/INST]SELECT distance FROM table_name_27 WHERE bearing = "297°"</s>
CREATE TABLE table_name_39 (nationality VARCHAR, date VARCHAR)
SELECT nationality FROM table_name_39 WHERE date = "8 may 1942"
Which Nationality has a Date of 8 may 1942?
<s>[INST]Which Nationality has a Date of 8 may 1942? Context: CREATE TABLE table_name_39 (nationality VARCHAR, date VARCHAR)[/INST]SELECT nationality FROM table_name_39 WHERE date = "8 may 1942"</s>
CREATE TABLE table_name_57 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_57 WHERE place = "t4" AND score = 71 - 74 - 66 = 211
What is the T4 Place Player with a Score of 71-74-66=211?
<s>[INST]What is the T4 Place Player with a Score of 71-74-66=211? Context: CREATE TABLE table_name_57 (player VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_57 WHERE place = "t4" AND score = 71 - 74 - 66 = 211</s>
CREATE TABLE table_name_82 (tournament VARCHAR)
SELECT tournament FROM table_name_82 WHERE 2008 = "a" AND 2011 = "a"
WHAT IS THE TOURNAMENT WITH 2008 AND 2011 WITH A?
<s>[INST]WHAT IS THE TOURNAMENT WITH 2008 AND 2011 WITH A? Context: CREATE TABLE table_name_82 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_82 WHERE 2008 = "a" AND 2011 = "a"</s>
CREATE TABLE table_260938_1 (si_prefix VARCHAR, chuquet VARCHAR)
SELECT si_prefix FROM table_260938_1 WHERE chuquet = "thousand"
Name the si prefix for thousand chuquet
<s>[INST]Name the si prefix for thousand chuquet Context: CREATE TABLE table_260938_1 (si_prefix VARCHAR, chuquet VARCHAR)[/INST]SELECT si_prefix FROM table_260938_1 WHERE chuquet = "thousand"</s>
CREATE TABLE table_name_89 (opponent VARCHAR, location VARCHAR)
SELECT opponent FROM table_name_89 WHERE location = "pontiac silverdome"
Who was the opposing team during a game in the Pontiac Silverdome?
<s>[INST]Who was the opposing team during a game in the Pontiac Silverdome? Context: CREATE TABLE table_name_89 (opponent VARCHAR, location VARCHAR)[/INST]SELECT opponent FROM table_name_89 WHERE location = "pontiac silverdome"</s>
CREATE TABLE table_15187735_21 (segment_a VARCHAR, series_ep VARCHAR)
SELECT segment_a FROM table_15187735_21 WHERE series_ep = "21-12"
What are the titles of segment a for series episode 21-12?
<s>[INST]What are the titles of segment a for series episode 21-12? Context: CREATE TABLE table_15187735_21 (segment_a VARCHAR, series_ep VARCHAR)[/INST]SELECT segment_a FROM table_15187735_21 WHERE series_ep = "21-12"</s>
CREATE TABLE table_15442974_1 (fourth_district VARCHAR, second_district VARCHAR)
SELECT fourth_district FROM table_15442974_1 WHERE second_district = "Joan Runnels"
Name the fourth district for joan runnels
<s>[INST]Name the fourth district for joan runnels Context: CREATE TABLE table_15442974_1 (fourth_district VARCHAR, second_district VARCHAR)[/INST]SELECT fourth_district FROM table_15442974_1 WHERE second_district = "Joan Runnels"</s>
CREATE TABLE table_22853654_9 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_22853654_9 WHERE result = "3–6, 4–6, 6–1, 6–7 (7–9)"
Name the opponent for 3–6, 4–6, 6–1, 6–7 (7–9)
<s>[INST]Name the opponent for 3–6, 4–6, 6–1, 6–7 (7–9) Context: CREATE TABLE table_22853654_9 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_22853654_9 WHERE result = "3–6, 4–6, 6–1, 6–7 (7–9)"</s>
CREATE TABLE table_name_40 (year INTEGER, points VARCHAR, entrant VARCHAR)
SELECT MIN(year) FROM table_name_40 WHERE points < 3 AND entrant = "parmalat forti ford"
What is the earliest year with less than 3 points and Parmalat Forti Ford was the entrant?
<s>[INST]What is the earliest year with less than 3 points and Parmalat Forti Ford was the entrant? Context: CREATE TABLE table_name_40 (year INTEGER, points VARCHAR, entrant VARCHAR)[/INST]SELECT MIN(year) FROM table_name_40 WHERE points < 3 AND entrant = "parmalat forti ford"</s>
CREATE TABLE table_name_88 (end_term INTEGER, title VARCHAR)
SELECT SUM(end_term) FROM table_name_88 WHERE title = "prince regent of bavaria"
What is the total End term with a Title of prince regent of bavaria?
<s>[INST]What is the total End term with a Title of prince regent of bavaria? Context: CREATE TABLE table_name_88 (end_term INTEGER, title VARCHAR)[/INST]SELECT SUM(end_term) FROM table_name_88 WHERE title = "prince regent of bavaria"</s>
CREATE TABLE table_name_76 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_76 WHERE score = "12–6"
What was the record of the game with a score of 12–6?
<s>[INST]What was the record of the game with a score of 12–6? Context: CREATE TABLE table_name_76 (record VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_76 WHERE score = "12–6"</s>
CREATE TABLE table_name_37 (platform VARCHAR, publisher VARCHAR)
SELECT platform FROM table_name_37 WHERE publisher = "mindark"
For what platform does Mindark publish?
<s>[INST]For what platform does Mindark publish? Context: CREATE TABLE table_name_37 (platform VARCHAR, publisher VARCHAR)[/INST]SELECT platform FROM table_name_37 WHERE publisher = "mindark"</s>
CREATE TABLE table_name_82 (decision VARCHAR, game INTEGER)
SELECT decision FROM table_name_82 WHERE game > 6
What is the decision of the game larger than 6.
<s>[INST]What is the decision of the game larger than 6. Context: CREATE TABLE table_name_82 (decision VARCHAR, game INTEGER)[/INST]SELECT decision FROM table_name_82 WHERE game > 6</s>
CREATE TABLE table_name_79 (number INTEGER, home_club VARCHAR, year_end VARCHAR)
SELECT MIN(number) FROM table_name_79 WHERE home_club = "broomstones" AND year_end < 1999
Which Number has a Home Club of broomstones, and a Year End smaller than 1999?
<s>[INST]Which Number has a Home Club of broomstones, and a Year End smaller than 1999? Context: CREATE TABLE table_name_79 (number INTEGER, home_club VARCHAR, year_end VARCHAR)[/INST]SELECT MIN(number) FROM table_name_79 WHERE home_club = "broomstones" AND year_end < 1999</s>
CREATE TABLE table_21692771_1 (isin VARCHAR, maturity VARCHAR)
SELECT isin FROM table_21692771_1 WHERE maturity = "3/11/2011"
What is the ISIN associated with the maturity date of 3/11/2011?
<s>[INST]What is the ISIN associated with the maturity date of 3/11/2011? Context: CREATE TABLE table_21692771_1 (isin VARCHAR, maturity VARCHAR)[/INST]SELECT isin FROM table_21692771_1 WHERE maturity = "3/11/2011"</s>
CREATE TABLE table_name_1 (period__days_ INTEGER, type VARCHAR, planetary_mass___m⊕__ VARCHAR, stellar_mass___m__ VARCHAR)
SELECT MIN(period__days_) FROM table_name_1 WHERE planetary_mass___m⊕__ = 1 AND stellar_mass___m__ > 0.21 AND type = "m0"
What is the smallest period (days) to have a planetary mass of 1, a stellar mass greater than 0.21 and of the type M0?
<s>[INST]What is the smallest period (days) to have a planetary mass of 1, a stellar mass greater than 0.21 and of the type M0? Context: CREATE TABLE table_name_1 (period__days_ INTEGER, type VARCHAR, planetary_mass___m⊕__ VARCHAR, stellar_mass___m__ VARCHAR)[/INST]SELECT MIN(period__days_) FROM table_name_1 WHERE plan...
CREATE TABLE table_14342367_15 (extra_points_1_point INTEGER, player VARCHAR)
SELECT MAX(extra_points_1_point) FROM table_14342367_15 WHERE player = "Paul Dickey"
How many extra points did Paul Dickey received
<s>[INST]How many extra points did Paul Dickey received Context: CREATE TABLE table_14342367_15 (extra_points_1_point INTEGER, player VARCHAR)[/INST]SELECT MAX(extra_points_1_point) FROM table_14342367_15 WHERE player = "Paul Dickey"</s>
CREATE TABLE table_name_2 (title VARCHAR, year VARCHAR)
SELECT title FROM table_name_2 WHERE year = 2005
Name the title for 2005
<s>[INST]Name the title for 2005 Context: CREATE TABLE table_name_2 (title VARCHAR, year VARCHAR)[/INST]SELECT title FROM table_name_2 WHERE year = 2005</s>
CREATE TABLE table_name_17 (year VARCHAR, team VARCHAR, rank VARCHAR)
SELECT year FROM table_name_17 WHERE team = "aprilia" AND rank = "4th"
Which year had a team of Aprilia and a rank of 4th?
<s>[INST]Which year had a team of Aprilia and a rank of 4th? Context: CREATE TABLE table_name_17 (year VARCHAR, team VARCHAR, rank VARCHAR)[/INST]SELECT year FROM table_name_17 WHERE team = "aprilia" AND rank = "4th"</s>
CREATE TABLE gymnast (Gymnast_ID VARCHAR, Total_Points INTEGER); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR)
SELECT DISTINCT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID WHERE T1.Total_Points > 57.5
What are the distinct hometowns of gymnasts with total points more than 57.5?
<s>[INST]What are the distinct hometowns of gymnasts with total points more than 57.5? Context: CREATE TABLE gymnast (Gymnast_ID VARCHAR, Total_Points INTEGER); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR)[/INST]SELECT DISTINCT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_I...
CREATE TABLE table_name_9 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_9 WHERE venue = "western oval"
What home team played at western oval?
<s>[INST]What home team played at western oval? Context: CREATE TABLE table_name_9 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_9 WHERE venue = "western oval"</s>
CREATE TABLE table_name_59 (televotes INTEGER, performer VARCHAR, draw VARCHAR)
SELECT MIN(televotes) FROM table_name_59 WHERE performer = "biljana dodeva" AND draw > 10
WHich Televotes has a Performer of biljana dodeva, and a Draw larger than 10?
<s>[INST]WHich Televotes has a Performer of biljana dodeva, and a Draw larger than 10? Context: CREATE TABLE table_name_59 (televotes INTEGER, performer VARCHAR, draw VARCHAR)[/INST]SELECT MIN(televotes) FROM table_name_59 WHERE performer = "biljana dodeva" AND draw > 10</s>
CREATE TABLE table_23259077_1 (year INTEGER, opponent_in_the_final VARCHAR)
SELECT MIN(year) FROM table_23259077_1 WHERE opponent_in_the_final = "Clark Graebner"
On what year did Newcombe first face Clark Graebner in a final match?
<s>[INST]On what year did Newcombe first face Clark Graebner in a final match? Context: CREATE TABLE table_23259077_1 (year INTEGER, opponent_in_the_final VARCHAR)[/INST]SELECT MIN(year) FROM table_23259077_1 WHERE opponent_in_the_final = "Clark Graebner"</s>
CREATE TABLE table_name_32 (name VARCHAR, mark VARCHAR, lane VARCHAR)
SELECT name FROM table_name_32 WHERE mark = "8.19" AND lane = 3
What name has 8.19 as the mark, with 3 as the lane?
<s>[INST]What name has 8.19 as the mark, with 3 as the lane? Context: CREATE TABLE table_name_32 (name VARCHAR, mark VARCHAR, lane VARCHAR)[/INST]SELECT name FROM table_name_32 WHERE mark = "8.19" AND lane = 3</s>
CREATE TABLE table_name_48 (institution VARCHAR, location VARCHAR)
SELECT institution FROM table_name_48 WHERE location = "big rapids, michigan"
what is the institution when the location is big rapids, michigan?
<s>[INST]what is the institution when the location is big rapids, michigan? Context: CREATE TABLE table_name_48 (institution VARCHAR, location VARCHAR)[/INST]SELECT institution FROM table_name_48 WHERE location = "big rapids, michigan"</s>
CREATE TABLE table_1147701_5 (torque__nm VARCHAR, engine_code VARCHAR)
SELECT torque__nm AS @rpm_ FROM table_1147701_5 WHERE engine_code = "D5244 T5"
Name the torque of the engine is d5244 t5
<s>[INST]Name the torque of the engine is d5244 t5 Context: CREATE TABLE table_1147701_5 (torque__nm VARCHAR, engine_code VARCHAR)[/INST]SELECT torque__nm AS @rpm_ FROM table_1147701_5 WHERE engine_code = "D5244 T5"</s>
CREATE TABLE table_name_31 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_31 WHERE date = "26th"
What was the result on the 26th?
<s>[INST]What was the result on the 26th? Context: CREATE TABLE table_name_31 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_31 WHERE date = "26th"</s>
CREATE TABLE table_name_21 (purse VARCHAR, trainer VARCHAR)
SELECT purse FROM table_name_21 WHERE trainer = "aidan o'brien"
What was the purse when the trainer was Aidan O'Brien?
<s>[INST]What was the purse when the trainer was Aidan O'Brien? Context: CREATE TABLE table_name_21 (purse VARCHAR, trainer VARCHAR)[/INST]SELECT purse FROM table_name_21 WHERE trainer = "aidan o'brien"</s>
CREATE TABLE table_name_22 (hometown VARCHAR, legislatures VARCHAR)
SELECT hometown FROM table_name_22 WHERE legislatures = "twenty-sixth"
What is the hometown of the representative that served the twenty-sixth legislature?
<s>[INST]What is the hometown of the representative that served the twenty-sixth legislature? Context: CREATE TABLE table_name_22 (hometown VARCHAR, legislatures VARCHAR)[/INST]SELECT hometown FROM table_name_22 WHERE legislatures = "twenty-sixth"</s>
CREATE TABLE table_11019212_1 (saturday VARCHAR, wednesday VARCHAR)
SELECT saturday FROM table_11019212_1 WHERE wednesday = "10:00-5:00"
what's the saturday time with wednesday being 10:00-5:00
<s>[INST]what's the saturday time with wednesday being 10:00-5:00 Context: CREATE TABLE table_11019212_1 (saturday VARCHAR, wednesday VARCHAR)[/INST]SELECT saturday FROM table_11019212_1 WHERE wednesday = "10:00-5:00"</s>
CREATE TABLE products (product_id VARCHAR, product_type_code VARCHAR, product_price VARCHAR)
SELECT product_id, product_type_code FROM products ORDER BY product_price LIMIT 1
What are the product id and product type of the cheapest product?
<s>[INST]What are the product id and product type of the cheapest product? Context: CREATE TABLE products (product_id VARCHAR, product_type_code VARCHAR, product_price VARCHAR)[/INST]SELECT product_id, product_type_code FROM products ORDER BY product_price LIMIT 1</s>
CREATE TABLE table_name_22 (frequency_mhz VARCHAR, erp_w VARCHAR, call_sign VARCHAR)
SELECT COUNT(frequency_mhz) FROM table_name_22 WHERE erp_w = 1 AND call_sign = "w215bj"
Name the total number of frequency Mhz for when it has ERP W of 1 and call sign of w215bj
<s>[INST]Name the total number of frequency Mhz for when it has ERP W of 1 and call sign of w215bj Context: CREATE TABLE table_name_22 (frequency_mhz VARCHAR, erp_w VARCHAR, call_sign VARCHAR)[/INST]SELECT COUNT(frequency_mhz) FROM table_name_22 WHERE erp_w = 1 AND call_sign = "w215bj"</s>
CREATE TABLE phone (Company_name VARCHAR)
SELECT COUNT(*) FROM phone WHERE Company_name = "Nokia Corporation"
How many phone hardware models are produced by the company named "Nokia Corporation"?
<s>[INST]How many phone hardware models are produced by the company named "Nokia Corporation"? Context: CREATE TABLE phone (Company_name VARCHAR)[/INST]SELECT COUNT(*) FROM phone WHERE Company_name = "Nokia Corporation"</s>
CREATE TABLE table_2849652_2 (season VARCHAR, _number_of_divisions VARCHAR)
SELECT COUNT(1 AS st_tournament) FROM table_2849652_2 WHERE season = "Winter" AND _number_of_divisions = 1
How many first tournaments were winter sports with exactly 1 division?
<s>[INST]How many first tournaments were winter sports with exactly 1 division? Context: CREATE TABLE table_2849652_2 (season VARCHAR, _number_of_divisions VARCHAR)[/INST]SELECT COUNT(1 AS st_tournament) FROM table_2849652_2 WHERE season = "Winter" AND _number_of_divisions = 1</s>
CREATE TABLE table_name_2 (number VARCHAR, builder VARCHAR, works_number VARCHAR)
SELECT number FROM table_name_2 WHERE builder = "baldwin locomotive works" AND works_number = 40864
Baldwin Locomotive Works, also with works number 40864, is listed as what number?
<s>[INST]Baldwin Locomotive Works, also with works number 40864, is listed as what number? Context: CREATE TABLE table_name_2 (number VARCHAR, builder VARCHAR, works_number VARCHAR)[/INST]SELECT number FROM table_name_2 WHERE builder = "baldwin locomotive works" AND works_number = 40864</s>
CREATE TABLE table_name_37 (year INTEGER, venue VARCHAR, position VARCHAR)
SELECT SUM(year) FROM table_name_37 WHERE venue = "götzis, austria" AND position = "1st"
In what Year did Chernova come in 1st in Götzis, Austria?
<s>[INST]In what Year did Chernova come in 1st in Götzis, Austria? Context: CREATE TABLE table_name_37 (year INTEGER, venue VARCHAR, position VARCHAR)[/INST]SELECT SUM(year) FROM table_name_37 WHERE venue = "götzis, austria" AND position = "1st"</s>
CREATE TABLE table_name_32 (class___type VARCHAR, location VARCHAR)
SELECT class___type FROM table_name_32 WHERE location = "trieste"
What is the class/type at Trieste?
<s>[INST]What is the class/type at Trieste? Context: CREATE TABLE table_name_32 (class___type VARCHAR, location VARCHAR)[/INST]SELECT class___type FROM table_name_32 WHERE location = "trieste"</s>
CREATE TABLE table_name_24 (against INTEGER, difference VARCHAR, lost VARCHAR)
SELECT AVG(against) FROM table_name_24 WHERE difference = "10" AND lost < 2
Which average Against has a Difference of 10, and a Lost smaller than 2?
<s>[INST]Which average Against has a Difference of 10, and a Lost smaller than 2? Context: CREATE TABLE table_name_24 (against INTEGER, difference VARCHAR, lost VARCHAR)[/INST]SELECT AVG(against) FROM table_name_24 WHERE difference = "10" AND lost < 2</s>
CREATE TABLE table_17004367_3 (weekly_rank VARCHAR, total VARCHAR)
SELECT COUNT(weekly_rank) FROM table_17004367_3 WHERE total = 1980000
what is the number of weekly rank where the total is 1980000?
<s>[INST]what is the number of weekly rank where the total is 1980000? Context: CREATE TABLE table_17004367_3 (weekly_rank VARCHAR, total VARCHAR)[/INST]SELECT COUNT(weekly_rank) FROM table_17004367_3 WHERE total = 1980000</s>
CREATE TABLE table_name_57 (origin VARCHAR, in_service VARCHAR)
SELECT origin FROM table_name_57 WHERE in_service = 1
For the vessel with a listed In service of 1, what is the origin given?
<s>[INST]For the vessel with a listed In service of 1, what is the origin given? Context: CREATE TABLE table_name_57 (origin VARCHAR, in_service VARCHAR)[/INST]SELECT origin FROM table_name_57 WHERE in_service = 1</s>
CREATE TABLE table_25640730_7 (written_by VARCHAR, uk_air_date VARCHAR)
SELECT written_by FROM table_25640730_7 WHERE uk_air_date = "February 18, 2013"
If the UK air date is February 18, 2013, who was the episode written by?
<s>[INST]If the UK air date is February 18, 2013, who was the episode written by? Context: CREATE TABLE table_25640730_7 (written_by VARCHAR, uk_air_date VARCHAR)[/INST]SELECT written_by FROM table_25640730_7 WHERE uk_air_date = "February 18, 2013"</s>
CREATE TABLE table_13557843_7 (game VARCHAR, date VARCHAR)
SELECT game FROM table_13557843_7 WHERE date = "March 7"
what's the game with date being march 7
<s>[INST]what's the game with date being march 7 Context: CREATE TABLE table_13557843_7 (game VARCHAR, date VARCHAR)[/INST]SELECT game FROM table_13557843_7 WHERE date = "March 7"</s>
CREATE TABLE table_name_9 (rank VARCHAR, athlete VARCHAR)
SELECT COUNT(rank) FROM table_name_9 WHERE athlete = "lassi karonen"
What rank was Lassi Karonen?
<s>[INST]What rank was Lassi Karonen? Context: CREATE TABLE table_name_9 (rank VARCHAR, athlete VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_9 WHERE athlete = "lassi karonen"</s>
CREATE TABLE table_name_12 (sfc_in_g__kn INTEGER, engine_type VARCHAR, sfc_in_lb__lbf·h_ VARCHAR)
SELECT MAX(sfc_in_g__kn) AS ·s_ FROM table_name_12 WHERE engine_type = "rolls-royce/snecma olympus 593" AND sfc_in_lb__lbf·h_ < 1.195
What is the highest SFC in g/(kN*s) for Rolls-Royce/Snecma Olympus 593 engines and SFCs under 1.195 lb/(lbf*h)?
<s>[INST]What is the highest SFC in g/(kN*s) for Rolls-Royce/Snecma Olympus 593 engines and SFCs under 1.195 lb/(lbf*h)? Context: CREATE TABLE table_name_12 (sfc_in_g__kn INTEGER, engine_type VARCHAR, sfc_in_lb__lbf·h_ VARCHAR)[/INST]SELECT MAX(sfc_in_g__kn) AS ·s_ FROM table_name_12 WHERE engine_type = "rolls-royce/sn...
CREATE TABLE table_name_38 (lane INTEGER, name VARCHAR)
SELECT MAX(lane) FROM table_name_38 WHERE name = "nimrod shapira bar-or"
What is the highest lane that has nimrod shapira bar-or as the name?
<s>[INST]What is the highest lane that has nimrod shapira bar-or as the name? Context: CREATE TABLE table_name_38 (lane INTEGER, name VARCHAR)[/INST]SELECT MAX(lane) FROM table_name_38 WHERE name = "nimrod shapira bar-or"</s>
CREATE TABLE table_28561455_1 (no_in_series INTEGER, directed_by VARCHAR)
SELECT MAX(no_in_series) FROM table_28561455_1 WHERE directed_by = "Tom DiCillo"
What is the latest episode number that was directed by Tom Dicillo?
<s>[INST]What is the latest episode number that was directed by Tom Dicillo? Context: CREATE TABLE table_28561455_1 (no_in_series INTEGER, directed_by VARCHAR)[/INST]SELECT MAX(no_in_series) FROM table_28561455_1 WHERE directed_by = "Tom DiCillo"</s>
CREATE TABLE table_name_99 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_99 WHERE driver = "rolf stommelen" AND grid > 18
what is the least laps when the driver is rolf stommelen and the grid is more than 18?
<s>[INST]what is the least laps when the driver is rolf stommelen and the grid is more than 18? Context: CREATE TABLE table_name_99 (laps INTEGER, driver VARCHAR, grid VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_99 WHERE driver = "rolf stommelen" AND grid > 18</s>
CREATE TABLE table_name_34 (game INTEGER, time VARCHAR)
SELECT MAX(game) FROM table_name_34 WHERE time = "2:35"
What game had the highest score and a time of 2:35?
<s>[INST]What game had the highest score and a time of 2:35? Context: CREATE TABLE table_name_34 (game INTEGER, time VARCHAR)[/INST]SELECT MAX(game) FROM table_name_34 WHERE time = "2:35"</s>
CREATE TABLE table_14342210_6 (player VARCHAR, touchdowns VARCHAR, position VARCHAR)
SELECT player FROM table_14342210_6 WHERE touchdowns = 4 AND position = "Left halfback"
Which player made 4 touchdowns while playing left halfback?
<s>[INST]Which player made 4 touchdowns while playing left halfback? Context: CREATE TABLE table_14342210_6 (player VARCHAR, touchdowns VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_14342210_6 WHERE touchdowns = 4 AND position = "Left halfback"</s>
CREATE TABLE table_name_77 (team VARCHAR, home_city VARCHAR)
SELECT team FROM table_name_77 WHERE home_city = "koprivnica"
What team has a home city of Koprivnica?
<s>[INST]What team has a home city of Koprivnica? Context: CREATE TABLE table_name_77 (team VARCHAR, home_city VARCHAR)[/INST]SELECT team FROM table_name_77 WHERE home_city = "koprivnica"</s>
CREATE TABLE table_name_89 (catalog VARCHAR, date VARCHAR)
SELECT catalog FROM table_name_89 WHERE date = "may 27, 2009"
What is the catalog number of the May 27, 2009 release?
<s>[INST]What is the catalog number of the May 27, 2009 release? Context: CREATE TABLE table_name_89 (catalog VARCHAR, date VARCHAR)[/INST]SELECT catalog FROM table_name_89 WHERE date = "may 27, 2009"</s>
CREATE TABLE table_26211058_1 (specimen_weight_size VARCHAR, calculated_activity___ci__ VARCHAR)
SELECT specimen_weight_size FROM table_26211058_1 WHERE calculated_activity___ci__ = "4.96×10 −11"
If the calculated activity (CI) is 4.96×10 −11, what is the specimen weight/size?
<s>[INST]If the calculated activity (CI) is 4.96×10 −11, what is the specimen weight/size? Context: CREATE TABLE table_26211058_1 (specimen_weight_size VARCHAR, calculated_activity___ci__ VARCHAR)[/INST]SELECT specimen_weight_size FROM table_26211058_1 WHERE calculated_activity___ci__ = "4.96×10 −11"</s>
CREATE TABLE table_name_95 (manager_1 VARCHAR, team VARCHAR)
SELECT manager_1 FROM table_name_95 WHERE team = "leeds united"
Who is the manager 1 for Leeds United?
<s>[INST]Who is the manager 1 for Leeds United? Context: CREATE TABLE table_name_95 (manager_1 VARCHAR, team VARCHAR)[/INST]SELECT manager_1 FROM table_name_95 WHERE team = "leeds united"</s>
CREATE TABLE table_name_81 (loss VARCHAR, name VARCHAR, long VARCHAR)
SELECT COUNT(loss) FROM table_name_81 WHERE name = "jake sharp" AND long < 30
How many losses have jake sharp as the name, with a long less than 30?
<s>[INST]How many losses have jake sharp as the name, with a long less than 30? Context: CREATE TABLE table_name_81 (loss VARCHAR, name VARCHAR, long VARCHAR)[/INST]SELECT COUNT(loss) FROM table_name_81 WHERE name = "jake sharp" AND long < 30</s>
CREATE TABLE table_name_78 (nationality VARCHAR, team_from VARCHAR)
SELECT nationality FROM table_name_78 WHERE team_from = "södertälje sk"
Name the Nationality of södertälje sk?
<s>[INST]Name the Nationality of södertälje sk? Context: CREATE TABLE table_name_78 (nationality VARCHAR, team_from VARCHAR)[/INST]SELECT nationality FROM table_name_78 WHERE team_from = "södertälje sk"</s>
CREATE TABLE management (department_id VARCHAR, head_id VARCHAR); CREATE TABLE head (born_state VARCHAR, head_id VARCHAR); CREATE TABLE department (department_id VARCHAR, name VARCHAR)
SELECT T3.born_state FROM department AS T1 JOIN management AS T2 ON T1.department_id = T2.department_id JOIN head AS T3 ON T2.head_id = T3.head_id WHERE T1.name = 'Treasury' INTERSECT SELECT T3.born_state FROM department AS T1 JOIN management AS T2 ON T1.department_id = T2.department_id JOIN head AS T3 ON T2.head_id = ...
List the states where both the secretary of 'Treasury' department and the secretary of 'Homeland Security' were born.
<s>[INST]List the states where both the secretary of 'Treasury' department and the secretary of 'Homeland Security' were born. Context: CREATE TABLE management (department_id VARCHAR, head_id VARCHAR); CREATE TABLE head (born_state VARCHAR, head_id VARCHAR); CREATE TABLE department (department_id VARCHAR, name VARCHAR)...
CREATE TABLE table_name_44 (conf VARCHAR, pos VARCHAR)
SELECT conf FROM table_name_44 WHERE pos = "rb"
What conference did the player with the position of rb play in?
<s>[INST]What conference did the player with the position of rb play in? Context: CREATE TABLE table_name_44 (conf VARCHAR, pos VARCHAR)[/INST]SELECT conf FROM table_name_44 WHERE pos = "rb"</s>
CREATE TABLE table_name_80 (purse__ INTEGER, dates VARCHAR)
SELECT MAX(purse__) AS $_ FROM table_name_80 WHERE dates = "aug 3–5"
What is the highest Purse for aug 3–5?
<s>[INST]What is the highest Purse for aug 3–5? Context: CREATE TABLE table_name_80 (purse__ INTEGER, dates VARCHAR)[/INST]SELECT MAX(purse__) AS $_ FROM table_name_80 WHERE dates = "aug 3–5"</s>
CREATE TABLE table_name_47 (country VARCHAR, supermarkets VARCHAR)
SELECT country FROM table_name_47 WHERE supermarkets = "370"
What country has 370 supermarkets?
<s>[INST]What country has 370 supermarkets? Context: CREATE TABLE table_name_47 (country VARCHAR, supermarkets VARCHAR)[/INST]SELECT country FROM table_name_47 WHERE supermarkets = "370"</s>
CREATE TABLE table_2679061_6 (nhl_team VARCHAR, position VARCHAR, nationality VARCHAR)
SELECT nhl_team FROM table_2679061_6 WHERE position = "Centre" AND nationality = "United States"
What is the nhl team for the position centre and nationality united states?
<s>[INST]What is the nhl team for the position centre and nationality united states? Context: CREATE TABLE table_2679061_6 (nhl_team VARCHAR, position VARCHAR, nationality VARCHAR)[/INST]SELECT nhl_team FROM table_2679061_6 WHERE position = "Centre" AND nationality = "United States"</s>
CREATE TABLE table_2248784_3 (rank_subcontinent INTEGER, country VARCHAR)
SELECT MIN(rank_subcontinent) FROM table_2248784_3 WHERE country = "Bangladesh"
Name the least rank subcontinent for bangladesh
<s>[INST]Name the least rank subcontinent for bangladesh Context: CREATE TABLE table_2248784_3 (rank_subcontinent INTEGER, country VARCHAR)[/INST]SELECT MIN(rank_subcontinent) FROM table_2248784_3 WHERE country = "Bangladesh"</s>
CREATE TABLE table_name_2 (mutated_from VARCHAR, habit VARCHAR, pattern VARCHAR)
SELECT "inventor" FROM table_name_2 WHERE habit = "spur" AND pattern = "stripe" AND mutated_from = "redsport type 2"
Who's the inventor when it was mutated from Redsport Type 2, has a stripe pattern and a spur habit?
<s>[INST]Who's the inventor when it was mutated from Redsport Type 2, has a stripe pattern and a spur habit? Context: CREATE TABLE table_name_2 (mutated_from VARCHAR, habit VARCHAR, pattern VARCHAR)[/INST]SELECT "inventor" FROM table_name_2 WHERE habit = "spur" AND pattern = "stripe" AND mutated_from = "redsport type 2...
CREATE TABLE table_name_20 (background VARCHAR, result VARCHAR)
SELECT background FROM table_name_20 WHERE result = "07 fired in task 6 (2009-04-05)"
What is the Background of the contestant with a Result of 07 fired in task 6 (2009-04-05)?
<s>[INST]What is the Background of the contestant with a Result of 07 fired in task 6 (2009-04-05)? Context: CREATE TABLE table_name_20 (background VARCHAR, result VARCHAR)[/INST]SELECT background FROM table_name_20 WHERE result = "07 fired in task 6 (2009-04-05)"</s>
CREATE TABLE table_name_91 (channels___analog___digital__ VARCHAR, first_air_date VARCHAR, region_served VARCHAR)
SELECT channels___analog___digital__ FROM table_name_91 WHERE first_air_date = "31 december 1990" AND region_served = "southern downs"
What channels first aired on 31 December 1990 in the Southern Downs region?
<s>[INST]What channels first aired on 31 December 1990 in the Southern Downs region? Context: CREATE TABLE table_name_91 (channels___analog___digital__ VARCHAR, first_air_date VARCHAR, region_served VARCHAR)[/INST]SELECT channels___analog___digital__ FROM table_name_91 WHERE first_air_date = "31 december 1990" AND regi...
CREATE TABLE table_name_77 (seasons VARCHAR, goals VARCHAR, lost VARCHAR)
SELECT COUNT(seasons) FROM table_name_77 WHERE goals = "261-338" AND lost > 111
How many seasons have goals of 261-338 with more than 111 losses?
<s>[INST]How many seasons have goals of 261-338 with more than 111 losses? Context: CREATE TABLE table_name_77 (seasons VARCHAR, goals VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(seasons) FROM table_name_77 WHERE goals = "261-338" AND lost > 111</s>
CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_51 WHERE away_team = "armthorpe welfare"
Who was the home team that played against Armthorpe Welfare?
<s>[INST]Who was the home team that played against Armthorpe Welfare? Context: CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_51 WHERE away_team = "armthorpe welfare"</s>
CREATE TABLE table_name_86 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_86 WHERE score = 68 - 73 - 76 = 217
What is the Place of the Player with a Score of 68-73-76=217?
<s>[INST]What is the Place of the Player with a Score of 68-73-76=217? Context: CREATE TABLE table_name_86 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_86 WHERE score = 68 - 73 - 76 = 217</s>
CREATE TABLE table_name_41 (final_score VARCHAR, sport VARCHAR, year VARCHAR)
SELECT final_score FROM table_name_41 WHERE sport = "baseball" AND year < 2005
What was the final score of a baseball game that happened before 2005?
<s>[INST]What was the final score of a baseball game that happened before 2005? Context: CREATE TABLE table_name_41 (final_score VARCHAR, sport VARCHAR, year VARCHAR)[/INST]SELECT final_score FROM table_name_41 WHERE sport = "baseball" AND year < 2005</s>
CREATE TABLE table_name_59 (tournament VARCHAR)
SELECT tournament FROM table_name_59 WHERE 2006 = "a" AND 2011 = "3r"
What is the tournament with a 2006 value of A and a 2011 value of 3r?
<s>[INST]What is the tournament with a 2006 value of A and a 2011 value of 3r? Context: CREATE TABLE table_name_59 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_59 WHERE 2006 = "a" AND 2011 = "3r"</s>
CREATE TABLE table_name_67 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_67 WHERE venue = "brunswick street oval"
What did the visiting team score at brunswick street oval?
<s>[INST]What did the visiting team score at brunswick street oval? Context: CREATE TABLE table_name_67 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_67 WHERE venue = "brunswick street oval"</s>
CREATE TABLE players (first_name VARCHAR, birth_date VARCHAR, country_code VARCHAR)
SELECT first_name, birth_date FROM players WHERE country_code = 'USA'
List the first name and birth date of all players from the country with code USA.
<s>[INST]List the first name and birth date of all players from the country with code USA. Context: CREATE TABLE players (first_name VARCHAR, birth_date VARCHAR, country_code VARCHAR)[/INST]SELECT first_name, birth_date FROM players WHERE country_code = 'USA'</s>