context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_7 (week INTEGER, record VARCHAR)
SELECT AVG(week) FROM table_name_7 WHERE record = "6-6"
Which week did the Seattle Seahawks have a record of 6-6?
<s>[INST]Which week did the Seattle Seahawks have a record of 6-6? Context: CREATE TABLE table_name_7 (week INTEGER, record VARCHAR)[/INST]SELECT AVG(week) FROM table_name_7 WHERE record = "6-6"</s>
CREATE TABLE ENROLLED_IN (CID VARCHAR); CREATE TABLE COURSE (CName VARCHAR, CID VARCHAR)
SELECT T1.CName FROM COURSE AS T1 JOIN ENROLLED_IN AS T2 ON T1.CID = T2.CID GROUP BY T2.CID HAVING COUNT(*) >= 5
What are the name of courses that have at least five enrollments?
<s>[INST]What are the name of courses that have at least five enrollments? Context: CREATE TABLE ENROLLED_IN (CID VARCHAR); CREATE TABLE COURSE (CName VARCHAR, CID VARCHAR)[/INST]SELECT T1.CName FROM COURSE AS T1 JOIN ENROLLED_IN AS T2 ON T1.CID = T2.CID GROUP BY T2.CID HAVING COUNT(*) >= 5</s>
CREATE TABLE table_name_19 (home_away VARCHAR, date VARCHAR)
SELECT home_away FROM table_name_19 WHERE date = "february 29, 2008"
What home/away game is on February 29, 2008?
<s>[INST]What home/away game is on February 29, 2008? Context: CREATE TABLE table_name_19 (home_away VARCHAR, date VARCHAR)[/INST]SELECT home_away FROM table_name_19 WHERE date = "february 29, 2008"</s>
CREATE TABLE table_name_3 (lifetime VARCHAR, name VARCHAR)
SELECT lifetime FROM table_name_3 WHERE name = "alan gendreau"
Which lifetime has alan gendreau?
<s>[INST]Which lifetime has alan gendreau? Context: CREATE TABLE table_name_3 (lifetime VARCHAR, name VARCHAR)[/INST]SELECT lifetime FROM table_name_3 WHERE name = "alan gendreau"</s>
CREATE TABLE table_name_77 (bronze INTEGER, silver VARCHAR, rank VARCHAR)
SELECT MAX(bronze) FROM table_name_77 WHERE silver > 0 AND rank = 7
What is the highest number of bronzes for teams ranked number 7 with more than 0 silver?
<s>[INST]What is the highest number of bronzes for teams ranked number 7 with more than 0 silver? Context: CREATE TABLE table_name_77 (bronze INTEGER, silver VARCHAR, rank VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_77 WHERE silver > 0 AND rank = 7</s>
CREATE TABLE table_name_62 (bronze INTEGER, total VARCHAR, gold VARCHAR)
SELECT AVG(bronze) FROM table_name_62 WHERE total > 1 AND gold > 0
How many bronze medals were won when the total is more than 1, and gold is more than 0?
<s>[INST]How many bronze medals were won when the total is more than 1, and gold is more than 0? Context: CREATE TABLE table_name_62 (bronze INTEGER, total VARCHAR, gold VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_62 WHERE total > 1 AND gold > 0</s>
CREATE TABLE table_name_29 (league_cup_goals VARCHAR, club VARCHAR, total VARCHAR, fa_cup_goals VARCHAR)
SELECT league_cup_goals FROM table_name_29 WHERE total > 15 AND fa_cup_goals = 3 AND club = "chesterfield"
How many League Cup goals correspond to 3 FA Cup Goals and a total over 15 for Chesterfield?
<s>[INST]How many League Cup goals correspond to 3 FA Cup Goals and a total over 15 for Chesterfield? Context: CREATE TABLE table_name_29 (league_cup_goals VARCHAR, club VARCHAR, total VARCHAR, fa_cup_goals VARCHAR)[/INST]SELECT league_cup_goals FROM table_name_29 WHERE total > 15 AND fa_cup_goals = 3 AND club = "chest...
CREATE TABLE table_name_14 (league_goals VARCHAR, name VARCHAR)
SELECT COUNT(league_goals) FROM table_name_14 WHERE name = "simon charlton"
What is the total number of league goals for Simon Charlton?
<s>[INST]What is the total number of league goals for Simon Charlton? Context: CREATE TABLE table_name_14 (league_goals VARCHAR, name VARCHAR)[/INST]SELECT COUNT(league_goals) FROM table_name_14 WHERE name = "simon charlton"</s>
CREATE TABLE table_name_22 (league_apps INTEGER, cup_goals VARCHAR, cup_apps VARCHAR)
SELECT SUM(league_apps) FROM table_name_22 WHERE cup_goals > 2 AND cup_apps > 6
How many league apps in the season with more than 2 cup goals and more than 6 cup apps?
<s>[INST]How many league apps in the season with more than 2 cup goals and more than 6 cup apps? Context: CREATE TABLE table_name_22 (league_apps INTEGER, cup_goals VARCHAR, cup_apps VARCHAR)[/INST]SELECT SUM(league_apps) FROM table_name_22 WHERE cup_goals > 2 AND cup_apps > 6</s>
CREATE TABLE table_2801442_1 (area__km²_ INTEGER, code VARCHAR)
SELECT MIN(area__km²_) FROM table_2801442_1 WHERE code = "BW"
How big (in km2) is the district with a code BW?
<s>[INST]How big (in km2) is the district with a code BW? Context: CREATE TABLE table_2801442_1 (area__km²_ INTEGER, code VARCHAR)[/INST]SELECT MIN(area__km²_) FROM table_2801442_1 WHERE code = "BW"</s>
CREATE TABLE table_name_64 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
SELECT city_of_license FROM table_name_64 WHERE frequency_mhz < 102.3 AND erp_w = 25
what is the city of license for the station with the frequency mhz less than 102.3 abd erp w of 25?
<s>[INST]what is the city of license for the station with the frequency mhz less than 102.3 abd erp w of 25? Context: CREATE TABLE table_name_64 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)[/INST]SELECT city_of_license FROM table_name_64 WHERE frequency_mhz < 102.3 AND erp_w = 25</s>
CREATE TABLE table_26808178_1 (us_viewers__millions_ VARCHAR, series__number VARCHAR)
SELECT us_viewers__millions_ FROM table_26808178_1 WHERE series__number = 3
How many million viewers watched episode 3 in the series?
<s>[INST]How many million viewers watched episode 3 in the series? Context: CREATE TABLE table_26808178_1 (us_viewers__millions_ VARCHAR, series__number VARCHAR)[/INST]SELECT us_viewers__millions_ FROM table_26808178_1 WHERE series__number = 3</s>
CREATE TABLE table_name_76 (played VARCHAR, drawn VARCHAR, tries_for VARCHAR)
SELECT played FROM table_name_76 WHERE drawn = "1" AND tries_for = "20"
Who was the player that had drawn 1 and tried for 20?
<s>[INST]Who was the player that had drawn 1 and tried for 20? Context: CREATE TABLE table_name_76 (played VARCHAR, drawn VARCHAR, tries_for VARCHAR)[/INST]SELECT played FROM table_name_76 WHERE drawn = "1" AND tries_for = "20"</s>
CREATE TABLE table_name_83 (left_office VARCHAR, party VARCHAR)
SELECT left_office FROM table_name_83 WHERE party = "vacant (1999-2001)"
What is Left Office, when Party is Vacant (1999-2001)?
<s>[INST]What is Left Office, when Party is Vacant (1999-2001)? Context: CREATE TABLE table_name_83 (left_office VARCHAR, party VARCHAR)[/INST]SELECT left_office FROM table_name_83 WHERE party = "vacant (1999-2001)"</s>
CREATE TABLE table_28019988_2 (series__number VARCHAR, production_code VARCHAR)
SELECT series__number FROM table_28019988_2 WHERE production_code = "BDF109"
What is the series number for the episode with production code bdf109?
<s>[INST]What is the series number for the episode with production code bdf109? Context: CREATE TABLE table_28019988_2 (series__number VARCHAR, production_code VARCHAR)[/INST]SELECT series__number FROM table_28019988_2 WHERE production_code = "BDF109"</s>
CREATE TABLE table_20669355_2 (height__ft_ VARCHAR, country VARCHAR)
SELECT height__ft_ FROM table_20669355_2 WHERE country = "Ecuador"
How tall is the contestant from Ecuador?
<s>[INST]How tall is the contestant from Ecuador? Context: CREATE TABLE table_20669355_2 (height__ft_ VARCHAR, country VARCHAR)[/INST]SELECT height__ft_ FROM table_20669355_2 WHERE country = "Ecuador"</s>
CREATE TABLE table_15277629_1 (original_title VARCHAR, director VARCHAR, year__ceremony_ VARCHAR)
SELECT original_title FROM table_15277629_1 WHERE director = "Bruno Barreto" AND year__ceremony_ = 1989
What was the original title of the Bruno Barreto film in 1989
<s>[INST]What was the original title of the Bruno Barreto film in 1989 Context: CREATE TABLE table_15277629_1 (original_title VARCHAR, director VARCHAR, year__ceremony_ VARCHAR)[/INST]SELECT original_title FROM table_15277629_1 WHERE director = "Bruno Barreto" AND year__ceremony_ = 1989</s>
CREATE TABLE table_11677691_1 (hometown VARCHAR, player VARCHAR)
SELECT hometown FROM table_11677691_1 WHERE player = "Jeremy Hill"
What is Jeremy Hill's hometown?
<s>[INST]What is Jeremy Hill's hometown? Context: CREATE TABLE table_11677691_1 (hometown VARCHAR, player VARCHAR)[/INST]SELECT hometown FROM table_11677691_1 WHERE player = "Jeremy Hill"</s>
CREATE TABLE table_19897294_10 (location_s_ VARCHAR, no_in_series VARCHAR)
SELECT location_s_ FROM table_19897294_10 WHERE no_in_series = "US9"
Where was the episode with series number US9 filmed?
<s>[INST]Where was the episode with series number US9 filmed? Context: CREATE TABLE table_19897294_10 (location_s_ VARCHAR, no_in_series VARCHAR)[/INST]SELECT location_s_ FROM table_19897294_10 WHERE no_in_series = "US9"</s>
CREATE TABLE table_name_80 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_80 WHERE score = 70 - 71 = 141
What Player had a Score of 70-71=141?
<s>[INST]What Player had a Score of 70-71=141? Context: CREATE TABLE table_name_80 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_80 WHERE score = 70 - 71 = 141</s>
CREATE TABLE table_name_88 (label VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_88 WHERE catalog = "mhcl-20005"
Name the label with catalog of mhcl-20005
<s>[INST]Name the label with catalog of mhcl-20005 Context: CREATE TABLE table_name_88 (label VARCHAR, catalog VARCHAR)[/INST]SELECT label FROM table_name_88 WHERE catalog = "mhcl-20005"</s>
CREATE TABLE useracct (name VARCHAR, u_id VARCHAR); CREATE TABLE trust (source_u_id VARCHAR)
SELECT T1.name FROM useracct AS T1 JOIN trust AS T2 ON T1.u_id = T2.source_u_id GROUP BY T2.source_u_id ORDER BY AVG(trust) DESC LIMIT 1
Find the name of the source user with the highest average trust score.
<s>[INST]Find the name of the source user with the highest average trust score. Context: CREATE TABLE useracct (name VARCHAR, u_id VARCHAR); CREATE TABLE trust (source_u_id VARCHAR)[/INST]SELECT T1.name FROM useracct AS T1 JOIN trust AS T2 ON T1.u_id = T2.source_u_id GROUP BY T2.source_u_id ORDER BY AVG(trust) DESC LIM...
CREATE TABLE table_name_27 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_27 WHERE score = "postponed (rain) rescheduled for august 7"
What date has postponed (rain) rescheduled for august 7 as the score?
<s>[INST]What date has postponed (rain) rescheduled for august 7 as the score? Context: CREATE TABLE table_name_27 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_27 WHERE score = "postponed (rain) rescheduled for august 7"</s>
CREATE TABLE Products (Product_ID VARCHAR, Product_price INTEGER); CREATE TABLE ORDER_ITEMS (Other_Item_Details VARCHAR, Product_ID VARCHAR)
SELECT T1.Other_Item_Details FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID = T2.Product_ID WHERE T2.Product_price > 2000
What are the order details of the products with price higher than 2000?
<s>[INST]What are the order details of the products with price higher than 2000? Context: CREATE TABLE Products (Product_ID VARCHAR, Product_price INTEGER); CREATE TABLE ORDER_ITEMS (Other_Item_Details VARCHAR, Product_ID VARCHAR)[/INST]SELECT T1.Other_Item_Details FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Produ...
CREATE TABLE table_name_63 (director VARCHAR, studio VARCHAR, gross VARCHAR)
SELECT director FROM table_name_63 WHERE studio = "paramount" AND gross = "$128,152,301"
What is the Director from Paramount with a Film with a Gross of $128,152,301?
<s>[INST]What is the Director from Paramount with a Film with a Gross of $128,152,301? Context: CREATE TABLE table_name_63 (director VARCHAR, studio VARCHAR, gross VARCHAR)[/INST]SELECT director FROM table_name_63 WHERE studio = "paramount" AND gross = "$128,152,301"</s>
CREATE TABLE table_name_56 (inns VARCHAR, matches VARCHAR)
SELECT COUNT(inns) FROM table_name_56 WHERE matches = 127
Matches of 127 has how many total number of inns?
<s>[INST]Matches of 127 has how many total number of inns? Context: CREATE TABLE table_name_56 (inns VARCHAR, matches VARCHAR)[/INST]SELECT COUNT(inns) FROM table_name_56 WHERE matches = 127</s>
CREATE TABLE table_name_41 (fuel_propulsion VARCHAR, year VARCHAR, numbers__quantity_ordered_ VARCHAR)
SELECT fuel_propulsion FROM table_name_41 WHERE year = 1975 AND numbers__quantity_ordered_ = "4756-4788 (33 buses)"
For the year 1975, what is Propulsion, with a Number (quantity ordered) of 4756-4788 (33 buses)?
<s>[INST]For the year 1975, what is Propulsion, with a Number (quantity ordered) of 4756-4788 (33 buses)? Context: CREATE TABLE table_name_41 (fuel_propulsion VARCHAR, year VARCHAR, numbers__quantity_ordered_ VARCHAR)[/INST]SELECT fuel_propulsion FROM table_name_41 WHERE year = 1975 AND numbers__quantity_ordered_ = "47...
CREATE TABLE table_19744915_15 (couple VARCHAR, total VARCHAR)
SELECT couple FROM table_19744915_15 WHERE total = 6
What couple had a total score of 6?
<s>[INST]What couple had a total score of 6? Context: CREATE TABLE table_19744915_15 (couple VARCHAR, total VARCHAR)[/INST]SELECT couple FROM table_19744915_15 WHERE total = 6</s>
CREATE TABLE table_1566852_5 (date VARCHAR)
SELECT 20 AS _questions FROM table_1566852_5 WHERE date = "8-04"
Name the 20 questions for 8-04
<s>[INST]Name the 20 questions for 8-04 Context: CREATE TABLE table_1566852_5 (date VARCHAR)[/INST]SELECT 20 AS _questions FROM table_1566852_5 WHERE date = "8-04"</s>
CREATE TABLE table_name_3 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_3 WHERE game = 34
What is the score of game 34?
<s>[INST]What is the score of game 34? Context: CREATE TABLE table_name_3 (score VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_name_3 WHERE game = 34</s>
CREATE TABLE table_name_46 (season VARCHAR, champion VARCHAR)
SELECT season FROM table_name_46 WHERE champion = "manresa"
Which season was Manresa the champion?
<s>[INST]Which season was Manresa the champion? Context: CREATE TABLE table_name_46 (season VARCHAR, champion VARCHAR)[/INST]SELECT season FROM table_name_46 WHERE champion = "manresa"</s>
CREATE TABLE table_name_39 (winning_score VARCHAR, date VARCHAR)
SELECT winning_score FROM table_name_39 WHERE date = "apr 29, 2001"
What was Rosie's winning score on Apr 29, 2001?
<s>[INST]What was Rosie's winning score on Apr 29, 2001? Context: CREATE TABLE table_name_39 (winning_score VARCHAR, date VARCHAR)[/INST]SELECT winning_score FROM table_name_39 WHERE date = "apr 29, 2001"</s>
CREATE TABLE table_name_28 (rank VARCHAR, season VARCHAR)
SELECT rank FROM table_name_28 WHERE season = 1
What rank for season 1?
<s>[INST]What rank for season 1? Context: CREATE TABLE table_name_28 (rank VARCHAR, season VARCHAR)[/INST]SELECT rank FROM table_name_28 WHERE season = 1</s>
CREATE TABLE table_name_92 (team VARCHAR, time VARCHAR)
SELECT team FROM table_name_92 WHERE time = "+1'25.337"
what team has +1'25.337 for the time?
<s>[INST]what team has +1'25.337 for the time? Context: CREATE TABLE table_name_92 (team VARCHAR, time VARCHAR)[/INST]SELECT team FROM table_name_92 WHERE time = "+1'25.337"</s>
CREATE TABLE table_name_9 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT country FROM table_name_9 WHERE place = "t1" AND player = "wayne grady"
What is the country of t1 place player wayne grady?
<s>[INST]What is the country of t1 place player wayne grady? Context: CREATE TABLE table_name_9 (country VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_9 WHERE place = "t1" AND player = "wayne grady"</s>
CREATE TABLE table_name_4 (part_3 VARCHAR, class VARCHAR)
SELECT part_3 FROM table_name_4 WHERE class = "4"
Which part three is class 4?
<s>[INST]Which part three is class 4? Context: CREATE TABLE table_name_4 (part_3 VARCHAR, class VARCHAR)[/INST]SELECT part_3 FROM table_name_4 WHERE class = "4"</s>
CREATE TABLE table_name_99 (d_45_√ VARCHAR, d_46_√ VARCHAR)
SELECT d_45_√ FROM table_name_99 WHERE d_46_√ = "d 46 √"
What is the D 45 √ with a D 46 √ with d 46 √?
<s>[INST]What is the D 45 √ with a D 46 √ with d 46 √? Context: CREATE TABLE table_name_99 (d_45_√ VARCHAR, d_46_√ VARCHAR)[/INST]SELECT d_45_√ FROM table_name_99 WHERE d_46_√ = "d 46 √"</s>
CREATE TABLE table_name_22 (tournament VARCHAR)
SELECT 2008 FROM table_name_22 WHERE tournament = "shanghai"
What shows for 2008 at the Shanghai tournament?
<s>[INST]What shows for 2008 at the Shanghai tournament? Context: CREATE TABLE table_name_22 (tournament VARCHAR)[/INST]SELECT 2008 FROM table_name_22 WHERE tournament = "shanghai"</s>
CREATE TABLE table_name_33 (rowers VARCHAR, notes VARCHAR, time VARCHAR)
SELECT rowers FROM table_name_33 WHERE notes = "fa" AND time = "6:41.45"
Who are the rowers with a time of 6:41.45 and notes of FA?
<s>[INST]Who are the rowers with a time of 6:41.45 and notes of FA? Context: CREATE TABLE table_name_33 (rowers VARCHAR, notes VARCHAR, time VARCHAR)[/INST]SELECT rowers FROM table_name_33 WHERE notes = "fa" AND time = "6:41.45"</s>
CREATE TABLE table_name_93 (home VARCHAR, score VARCHAR)
SELECT home FROM table_name_93 WHERE score = "21-17"
Name the home for 21-17
<s>[INST]Name the home for 21-17 Context: CREATE TABLE table_name_93 (home VARCHAR, score VARCHAR)[/INST]SELECT home FROM table_name_93 WHERE score = "21-17"</s>
CREATE TABLE table_18646111_13 (event VARCHAR, athlete VARCHAR)
SELECT event FROM table_18646111_13 WHERE athlete = "Hans Ruep"
Name the event for hans ruep
<s>[INST]Name the event for hans ruep Context: CREATE TABLE table_18646111_13 (event VARCHAR, athlete VARCHAR)[/INST]SELECT event FROM table_18646111_13 WHERE athlete = "Hans Ruep"</s>
CREATE TABLE table_name_77 (game INTEGER, opponent VARCHAR)
SELECT SUM(game) FROM table_name_77 WHERE opponent = "@ boston bruins"
How many games total were played against @ Boston Bruins this season?
<s>[INST]How many games total were played against @ Boston Bruins this season? Context: CREATE TABLE table_name_77 (game INTEGER, opponent VARCHAR)[/INST]SELECT SUM(game) FROM table_name_77 WHERE opponent = "@ boston bruins"</s>
CREATE TABLE table_name_26 (result VARCHAR, attendance INTEGER)
SELECT result FROM table_name_26 WHERE attendance > 33 OFFSET 435
Which had an attendance of larger than 33,435?
<s>[INST]Which had an attendance of larger than 33,435? Context: CREATE TABLE table_name_26 (result VARCHAR, attendance INTEGER)[/INST]SELECT result FROM table_name_26 WHERE attendance > 33 OFFSET 435</s>
CREATE TABLE table_name_8 (catalog__number VARCHAR, label VARCHAR, region VARCHAR)
SELECT catalog__number FROM table_name_8 WHERE label = "atlantic records" AND region = "united states"
What is the catalog number of the album whose label is Atlantic Records and region is the United States?
<s>[INST]What is the catalog number of the album whose label is Atlantic Records and region is the United States? Context: CREATE TABLE table_name_8 (catalog__number VARCHAR, label VARCHAR, region VARCHAR)[/INST]SELECT catalog__number FROM table_name_8 WHERE label = "atlantic records" AND region = "united states"</s>
CREATE TABLE table_15352382_1 (against VARCHAR, difference VARCHAR)
SELECT COUNT(against) FROM table_15352382_1 WHERE difference = 11
How many under the category of Against have a Difference of 11
<s>[INST]How many under the category of Against have a Difference of 11 Context: CREATE TABLE table_15352382_1 (against VARCHAR, difference VARCHAR)[/INST]SELECT COUNT(against) FROM table_15352382_1 WHERE difference = 11</s>
CREATE TABLE table_name_86 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_86 WHERE competition = "fifa world cup 1986 qualifying"
What is the Score of the Fifa World Cup 1986 Qualifying Competition?
<s>[INST]What is the Score of the Fifa World Cup 1986 Qualifying Competition? Context: CREATE TABLE table_name_86 (score VARCHAR, competition VARCHAR)[/INST]SELECT score FROM table_name_86 WHERE competition = "fifa world cup 1986 qualifying"</s>
CREATE TABLE table_name_91 (grid INTEGER, laps VARCHAR, driver VARCHAR)
SELECT SUM(grid) FROM table_name_91 WHERE laps > 14 AND driver = "alain prost"
What is the grid total for alain prost with over 14 laps?
<s>[INST]What is the grid total for alain prost with over 14 laps? Context: CREATE TABLE table_name_91 (grid INTEGER, laps VARCHAR, driver VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_91 WHERE laps > 14 AND driver = "alain prost"</s>
CREATE TABLE table_2400842_1 (directed_by VARCHAR, prod__number VARCHAR)
SELECT directed_by FROM table_2400842_1 WHERE prod__number = 109
Who directed the epsiode with production number 109?
<s>[INST]Who directed the epsiode with production number 109? Context: CREATE TABLE table_2400842_1 (directed_by VARCHAR, prod__number VARCHAR)[/INST]SELECT directed_by FROM table_2400842_1 WHERE prod__number = 109</s>
CREATE TABLE table_name_13 (played INTEGER, position VARCHAR, drawn VARCHAR)
SELECT MAX(played) FROM table_name_13 WHERE position < 2 AND drawn < 4
What is the highest number of Played games with a Position smaller than 2 and Drawn games less than 4?
<s>[INST]What is the highest number of Played games with a Position smaller than 2 and Drawn games less than 4? Context: CREATE TABLE table_name_13 (played INTEGER, position VARCHAR, drawn VARCHAR)[/INST]SELECT MAX(played) FROM table_name_13 WHERE position < 2 AND drawn < 4</s>
CREATE TABLE table_name_3 (time VARCHAR, date VARCHAR)
SELECT time FROM table_name_3 WHERE date = "december 15, 2010"
What was the time of December 15, 2010?
<s>[INST]What was the time of December 15, 2010? Context: CREATE TABLE table_name_3 (time VARCHAR, date VARCHAR)[/INST]SELECT time FROM table_name_3 WHERE date = "december 15, 2010"</s>
CREATE TABLE table_name_59 (population VARCHAR, median_family_income VARCHAR)
SELECT COUNT(population) FROM table_name_59 WHERE median_family_income = "$71,278"
What is the population of the area with a median family income of $71,278?
<s>[INST]What is the population of the area with a median family income of $71,278? Context: CREATE TABLE table_name_59 (population VARCHAR, median_family_income VARCHAR)[/INST]SELECT COUNT(population) FROM table_name_59 WHERE median_family_income = "$71,278"</s>
CREATE TABLE farm_competition (Theme VARCHAR, YEAR VARCHAR)
SELECT Theme FROM farm_competition ORDER BY YEAR
What are the themes of farm competitions sorted by year in ascending order?
<s>[INST]What are the themes of farm competitions sorted by year in ascending order? Context: CREATE TABLE farm_competition (Theme VARCHAR, YEAR VARCHAR)[/INST]SELECT Theme FROM farm_competition ORDER BY YEAR</s>
CREATE TABLE table_name_30 (nation VARCHAR, penalty_points VARCHAR, judge_e VARCHAR)
SELECT nation FROM table_name_30 WHERE penalty_points < 40.2 AND judge_e = "82.22"
what is the nation when the penalty points is less than 40.2 and judge e is 82.22?
<s>[INST]what is the nation when the penalty points is less than 40.2 and judge e is 82.22? Context: CREATE TABLE table_name_30 (nation VARCHAR, penalty_points VARCHAR, judge_e VARCHAR)[/INST]SELECT nation FROM table_name_30 WHERE penalty_points < 40.2 AND judge_e = "82.22"</s>
CREATE TABLE table_name_41 (mascot VARCHAR, _number___county VARCHAR)
SELECT mascot FROM table_name_41 WHERE _number___county = "34 howard"
What is the mascot with a #/County of 34 Howard?
<s>[INST]What is the mascot with a #/County of 34 Howard? Context: CREATE TABLE table_name_41 (mascot VARCHAR, _number___county VARCHAR)[/INST]SELECT mascot FROM table_name_41 WHERE _number___county = "34 howard"</s>
CREATE TABLE table_name_52 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_name_52 WHERE date = "february 25"
What is the location attendance of the game on February 25?
<s>[INST]What is the location attendance of the game on February 25? Context: CREATE TABLE table_name_52 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_name_52 WHERE date = "february 25"</s>
CREATE TABLE table_name_70 (wins INTEGER, events INTEGER)
SELECT MIN(wins) FROM table_name_70 WHERE events > 30
Which Wins is the lowest one that has Events larger than 30?
<s>[INST]Which Wins is the lowest one that has Events larger than 30? Context: CREATE TABLE table_name_70 (wins INTEGER, events INTEGER)[/INST]SELECT MIN(wins) FROM table_name_70 WHERE events > 30</s>
CREATE TABLE table_name_70 (opponenent VARCHAR, result VARCHAR)
SELECT opponenent FROM table_name_70 WHERE result = "2-2 (draw)"
Who was the opponent when the result was 2-2 (draw)?
<s>[INST]Who was the opponent when the result was 2-2 (draw)? Context: CREATE TABLE table_name_70 (opponenent VARCHAR, result VARCHAR)[/INST]SELECT opponenent FROM table_name_70 WHERE result = "2-2 (draw)"</s>
CREATE TABLE table_14302582_1 (result VARCHAR, home_matches VARCHAR)
SELECT result FROM table_14302582_1 WHERE home_matches = 14
What was the result when the team had contested 14 home games?
<s>[INST]What was the result when the team had contested 14 home games? Context: CREATE TABLE table_14302582_1 (result VARCHAR, home_matches VARCHAR)[/INST]SELECT result FROM table_14302582_1 WHERE home_matches = 14</s>
CREATE TABLE table_name_20 (opponent_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR)
SELECT opponent_in_the_final FROM table_name_20 WHERE surface = "clay" AND tournament = "lyneham"
Who is the opponent in the final with a clay surface at the Tournament of Lyneham?
<s>[INST]Who is the opponent in the final with a clay surface at the Tournament of Lyneham? Context: CREATE TABLE table_name_20 (opponent_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_20 WHERE surface = "clay" AND tournament = "lyneham"</s>
CREATE TABLE table_name_36 (laps VARCHAR, grid VARCHAR)
SELECT laps FROM table_name_36 WHERE grid = "3"
What is the number of laps for Grid 3?
<s>[INST]What is the number of laps for Grid 3? Context: CREATE TABLE table_name_36 (laps VARCHAR, grid VARCHAR)[/INST]SELECT laps FROM table_name_36 WHERE grid = "3"</s>
CREATE TABLE table_name_17 (afc_cup VARCHAR, name VARCHAR)
SELECT afc_cup FROM table_name_17 WHERE name = "masahiro fukasawa"
Which AFC cup does Masahiro Fukasawa have?
<s>[INST]Which AFC cup does Masahiro Fukasawa have? Context: CREATE TABLE table_name_17 (afc_cup VARCHAR, name VARCHAR)[/INST]SELECT afc_cup FROM table_name_17 WHERE name = "masahiro fukasawa"</s>
CREATE TABLE table_name_13 (rank INTEGER, earnings___$__ INTEGER)
SELECT MAX(rank) FROM table_name_13 WHERE earnings___$__ > 533 OFFSET 929
What is the high rank for players earning over $533,929?
<s>[INST]What is the high rank for players earning over $533,929? Context: CREATE TABLE table_name_13 (rank INTEGER, earnings___$__ INTEGER)[/INST]SELECT MAX(rank) FROM table_name_13 WHERE earnings___$__ > 533 OFFSET 929</s>
CREATE TABLE table_name_39 (class VARCHAR, part_4 VARCHAR)
SELECT class FROM table_name_39 WHERE part_4 = "*rādanaz"
What was the class when part 4 was *rādanaz?
<s>[INST]What was the class when part 4 was *rādanaz? Context: CREATE TABLE table_name_39 (class VARCHAR, part_4 VARCHAR)[/INST]SELECT class FROM table_name_39 WHERE part_4 = "*rādanaz"</s>
CREATE TABLE table_name_23 (notable_for VARCHAR, connection_with_australia VARCHAR, name VARCHAR)
SELECT notable_for FROM table_name_23 WHERE connection_with_australia = "born in australia" AND name = "rick springfield"
What is the person born in Australia, rick springfield notable for?
<s>[INST]What is the person born in Australia, rick springfield notable for? Context: CREATE TABLE table_name_23 (notable_for VARCHAR, connection_with_australia VARCHAR, name VARCHAR)[/INST]SELECT notable_for FROM table_name_23 WHERE connection_with_australia = "born in australia" AND name = "rick springfield"</s>
CREATE TABLE table_name_7 (attendance INTEGER, opponents VARCHAR)
SELECT AVG(attendance) FROM table_name_7 WHERE opponents = "cork city"
What is the attendance when Cork City is the opponent?
<s>[INST]What is the attendance when Cork City is the opponent? Context: CREATE TABLE table_name_7 (attendance INTEGER, opponents VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_7 WHERE opponents = "cork city"</s>
CREATE TABLE table_name_18 (country VARCHAR)
SELECT country FROM table_name_18 WHERE 2012 > 0 AND 2009 > 0 AND 2008 = 0 AND 2004 > 0
Which country has more than 0 in 2012 and 2009, 0 in 2008 and more than 0 in 2004?
<s>[INST]Which country has more than 0 in 2012 and 2009, 0 in 2008 and more than 0 in 2004? Context: CREATE TABLE table_name_18 (country VARCHAR)[/INST]SELECT country FROM table_name_18 WHERE 2012 > 0 AND 2009 > 0 AND 2008 = 0 AND 2004 > 0</s>
CREATE TABLE table_name_1 (region_served VARCHAR, transmitter_location VARCHAR)
SELECT region_served FROM table_name_1 WHERE transmitter_location = "mount sugarloaf"
What region has a transmitter located at Mount Sugarloaf?
<s>[INST]What region has a transmitter located at Mount Sugarloaf? Context: CREATE TABLE table_name_1 (region_served VARCHAR, transmitter_location VARCHAR)[/INST]SELECT region_served FROM table_name_1 WHERE transmitter_location = "mount sugarloaf"</s>
CREATE TABLE table_14948647_1 (bhofen_number2__rk_ VARCHAR, ga_pa__rk_ VARCHAR)
SELECT bhofen_number2__rk_ FROM table_14948647_1 WHERE ga_pa__rk_ = "233.4 (16)"
What was the Bhofen #2 score and rank for the player whose GA-PA score and rank was 233.4 (16)?
<s>[INST]What was the Bhofen #2 score and rank for the player whose GA-PA score and rank was 233.4 (16)? Context: CREATE TABLE table_14948647_1 (bhofen_number2__rk_ VARCHAR, ga_pa__rk_ VARCHAR)[/INST]SELECT bhofen_number2__rk_ FROM table_14948647_1 WHERE ga_pa__rk_ = "233.4 (16)"</s>
CREATE TABLE table_name_48 (tries_against VARCHAR, losing_bonus VARCHAR)
SELECT tries_against FROM table_name_48 WHERE losing_bonus = "losing bonus"
What is the tries against for the team that has a losing bonus?
<s>[INST]What is the tries against for the team that has a losing bonus? Context: CREATE TABLE table_name_48 (tries_against VARCHAR, losing_bonus VARCHAR)[/INST]SELECT tries_against FROM table_name_48 WHERE losing_bonus = "losing bonus"</s>
CREATE TABLE table_28334498_3 (no_in_season INTEGER, directed_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT MIN(no_in_season) FROM table_28334498_3 WHERE directed_by = "Jeff Melman" AND us_viewers__millions_ = "1.21"
How many episodes were directed by Jeff Melman and 1.21million viewers?
<s>[INST]How many episodes were directed by Jeff Melman and 1.21million viewers? Context: CREATE TABLE table_28334498_3 (no_in_season INTEGER, directed_by VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT MIN(no_in_season) FROM table_28334498_3 WHERE directed_by = "Jeff Melman" AND us_viewers__millions_ = "1.21"</s>
CREATE TABLE table_name_38 (club VARCHAR, tries_against VARCHAR, try_bonus VARCHAR)
SELECT club FROM table_name_38 WHERE tries_against = "43" AND try_bonus = "9"
Which club has a try bonus of 9 and 43 tries against?
<s>[INST]Which club has a try bonus of 9 and 43 tries against? Context: CREATE TABLE table_name_38 (club VARCHAR, tries_against VARCHAR, try_bonus VARCHAR)[/INST]SELECT club FROM table_name_38 WHERE tries_against = "43" AND try_bonus = "9"</s>
CREATE TABLE table_name_49 (money___ VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR)
SELECT COUNT(money___) AS $__ FROM table_name_49 WHERE place = "t2" AND country = "united states" AND player = "leo diegel"
What is the total amount of money that has a t2 place, is from the United States for player Leo Diegel?
<s>[INST]What is the total amount of money that has a t2 place, is from the United States for player Leo Diegel? Context: CREATE TABLE table_name_49 (money___ VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR)[/INST]SELECT COUNT(money___) AS $__ FROM table_name_49 WHERE place = "t2" AND country = "united states" ...
CREATE TABLE table_name_10 (total_goals INTEGER, total_apps VARCHAR, league_goals VARCHAR)
SELECT MAX(total_goals) FROM table_name_10 WHERE total_apps = "42 (3)" AND league_goals < 1
Which Total Goals have Total Apps of 42 (3), and League Goals smaller than 1?
<s>[INST]Which Total Goals have Total Apps of 42 (3), and League Goals smaller than 1? Context: CREATE TABLE table_name_10 (total_goals INTEGER, total_apps VARCHAR, league_goals VARCHAR)[/INST]SELECT MAX(total_goals) FROM table_name_10 WHERE total_apps = "42 (3)" AND league_goals < 1</s>
CREATE TABLE cars_data (year VARCHAR, weight INTEGER)
SELECT DISTINCT year FROM cars_data WHERE weight BETWEEN 3000 AND 4000
In which years cars were produced weighing no less than 3000 and no more than 4000 ?
<s>[INST]In which years cars were produced weighing no less than 3000 and no more than 4000 ? Context: CREATE TABLE cars_data (year VARCHAR, weight INTEGER)[/INST]SELECT DISTINCT year FROM cars_data WHERE weight BETWEEN 3000 AND 4000</s>
CREATE TABLE Documents (document_name VARCHAR, template_id VARCHAR); CREATE TABLE Templates (template_id VARCHAR, template_type_code VARCHAR)
SELECT T2.document_name FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T1.template_type_code = "BK"
Show all document names using templates with template type code BK.
<s>[INST]Show all document names using templates with template type code BK. Context: CREATE TABLE Documents (document_name VARCHAR, template_id VARCHAR); CREATE TABLE Templates (template_id VARCHAR, template_type_code VARCHAR)[/INST]SELECT T2.document_name FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = ...
CREATE TABLE table_name_93 (set_1 VARCHAR, set_2 VARCHAR)
SELECT set_1 FROM table_name_93 WHERE set_2 = "21:17"
What is the Set 1 with set 2 at 21:17?
<s>[INST]What is the Set 1 with set 2 at 21:17? Context: CREATE TABLE table_name_93 (set_1 VARCHAR, set_2 VARCHAR)[/INST]SELECT set_1 FROM table_name_93 WHERE set_2 = "21:17"</s>
CREATE TABLE table_name_11 (wins INTEGER, against VARCHAR, losses VARCHAR)
SELECT AVG(wins) FROM table_name_11 WHERE against = 1132 AND losses < 7
Can you tell me the average Wins that has the Against of 1132, and the Losses smaller than 7?
<s>[INST]Can you tell me the average Wins that has the Against of 1132, and the Losses smaller than 7? Context: CREATE TABLE table_name_11 (wins INTEGER, against VARCHAR, losses VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_11 WHERE against = 1132 AND losses < 7</s>
CREATE TABLE table_name_23 (notes VARCHAR, builder VARCHAR, total VARCHAR)
SELECT notes FROM table_name_23 WHERE builder = "ford" AND total = "5"
What are the notes for Ford when the total is 5?
<s>[INST]What are the notes for Ford when the total is 5? Context: CREATE TABLE table_name_23 (notes VARCHAR, builder VARCHAR, total VARCHAR)[/INST]SELECT notes FROM table_name_23 WHERE builder = "ford" AND total = "5"</s>
CREATE TABLE table_name_53 (engine_s_ VARCHAR, points VARCHAR, year VARCHAR)
SELECT engine_s_ FROM table_name_53 WHERE points > 0 AND year < 1984
Which engine has more than 0 points and a year before 1984?
<s>[INST]Which engine has more than 0 points and a year before 1984? Context: CREATE TABLE table_name_53 (engine_s_ VARCHAR, points VARCHAR, year VARCHAR)[/INST]SELECT engine_s_ FROM table_name_53 WHERE points > 0 AND year < 1984</s>
CREATE TABLE table_name_6 (magnitude VARCHAR, epicenter VARCHAR)
SELECT magnitude FROM table_name_6 WHERE epicenter = "biskra province"
What is the magnitude of the earthquake with an epicenter in biskra province?
<s>[INST]What is the magnitude of the earthquake with an epicenter in biskra province? Context: CREATE TABLE table_name_6 (magnitude VARCHAR, epicenter VARCHAR)[/INST]SELECT magnitude FROM table_name_6 WHERE epicenter = "biskra province"</s>
CREATE TABLE table_name_67 (share_of_votes VARCHAR, dáil VARCHAR)
SELECT share_of_votes FROM table_name_67 WHERE dáil = "6th"
What is the 6th dail share of votes?
<s>[INST]What is the 6th dail share of votes? Context: CREATE TABLE table_name_67 (share_of_votes VARCHAR, dáil VARCHAR)[/INST]SELECT share_of_votes FROM table_name_67 WHERE dáil = "6th"</s>
CREATE TABLE table_10295819_1 (current_singles_ranking VARCHAR, player VARCHAR)
SELECT current_singles_ranking FROM table_10295819_1 WHERE player = "Mantas Bugailiškis"
What is the Current singles ranking for the player named Mantas Bugailiškis?
<s>[INST]What is the Current singles ranking for the player named Mantas Bugailiškis? Context: CREATE TABLE table_10295819_1 (current_singles_ranking VARCHAR, player VARCHAR)[/INST]SELECT current_singles_ranking FROM table_10295819_1 WHERE player = "Mantas Bugailiškis"</s>
CREATE TABLE table_16678052_2 (date VARCHAR, opponents VARCHAR, result VARCHAR)
SELECT date FROM table_16678052_2 WHERE opponents = 17 AND result = "Win"
On what date did the opponents win with 17 points?
<s>[INST]On what date did the opponents win with 17 points? Context: CREATE TABLE table_16678052_2 (date VARCHAR, opponents VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_16678052_2 WHERE opponents = 17 AND result = "Win"</s>
CREATE TABLE table_name_27 (gold VARCHAR, silver VARCHAR, bronze VARCHAR, nation VARCHAR)
SELECT COUNT(gold) FROM table_name_27 WHERE bronze > 1 AND nation = "total" AND silver < 18
How many golds have a bronze greater than 1, total as the nation, and a silver less than 18?
<s>[INST]How many golds have a bronze greater than 1, total as the nation, and a silver less than 18? Context: CREATE TABLE table_name_27 (gold VARCHAR, silver VARCHAR, bronze VARCHAR, nation VARCHAR)[/INST]SELECT COUNT(gold) FROM table_name_27 WHERE bronze > 1 AND nation = "total" AND silver < 18</s>
CREATE TABLE city (Name VARCHAR, County_ID VARCHAR); CREATE TABLE county_public_safety (Name VARCHAR, County_ID VARCHAR)
SELECT T1.Name, T2.Name FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID = T2.County_ID
Show names of cities and names of counties they are in.
<s>[INST]Show names of cities and names of counties they are in. Context: CREATE TABLE city (Name VARCHAR, County_ID VARCHAR); CREATE TABLE county_public_safety (Name VARCHAR, County_ID VARCHAR)[/INST]SELECT T1.Name, T2.Name FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID = T2.County_ID</s>
CREATE TABLE table_name_40 (shortstop VARCHAR, second_baseman VARCHAR, catcher VARCHAR, third_baseman VARCHAR)
SELECT shortstop FROM table_name_40 WHERE catcher = "johnny roseboro" AND third_baseman = "jim lefebvre" AND second_baseman = "nate oliver"
What is the name of the shortstop when the Catcher was johnny roseboro, and a Third Baseman of jim lefebvre, and a Second Baseman of nate oliver?
<s>[INST]What is the name of the shortstop when the Catcher was johnny roseboro, and a Third Baseman of jim lefebvre, and a Second Baseman of nate oliver? Context: CREATE TABLE table_name_40 (shortstop VARCHAR, second_baseman VARCHAR, catcher VARCHAR, third_baseman VARCHAR)[/INST]SELECT shortstop FROM table_name_40 WHE...
CREATE TABLE table_2259285_1 (winning_pct__percentage VARCHAR, goals_for VARCHAR)
SELECT winning_pct__percentage FROM table_2259285_1 WHERE goals_for = 322
What was the winning % when there were 322 goals?
<s>[INST]What was the winning % when there were 322 goals? Context: CREATE TABLE table_2259285_1 (winning_pct__percentage VARCHAR, goals_for VARCHAR)[/INST]SELECT winning_pct__percentage FROM table_2259285_1 WHERE goals_for = 322</s>
CREATE TABLE table_12834315_4 (forward_assist VARCHAR, barrel_profile VARCHAR)
SELECT forward_assist FROM table_12834315_4 WHERE barrel_profile = "A2"
Name the forward assist for a2 barrel profile
<s>[INST]Name the forward assist for a2 barrel profile Context: CREATE TABLE table_12834315_4 (forward_assist VARCHAR, barrel_profile VARCHAR)[/INST]SELECT forward_assist FROM table_12834315_4 WHERE barrel_profile = "A2"</s>
CREATE TABLE table_name_68 (manufacturer VARCHAR, type VARCHAR)
SELECT manufacturer FROM table_name_68 WHERE type = "2-6-0"
Which manucfaturer's type was 2-6-0?
<s>[INST]Which manucfaturer's type was 2-6-0? Context: CREATE TABLE table_name_68 (manufacturer VARCHAR, type VARCHAR)[/INST]SELECT manufacturer FROM table_name_68 WHERE type = "2-6-0"</s>
CREATE TABLE table_13608101_1 (bush_number INTEGER, others_percentage VARCHAR)
SELECT MAX(bush_number) FROM table_13608101_1 WHERE others_percentage = "1.57%"
what is the maximum bush# with others% being 1.57%
<s>[INST]what is the maximum bush# with others% being 1.57% Context: CREATE TABLE table_13608101_1 (bush_number INTEGER, others_percentage VARCHAR)[/INST]SELECT MAX(bush_number) FROM table_13608101_1 WHERE others_percentage = "1.57%"</s>
CREATE TABLE table_1404984_1 (network VARCHAR, virtual_channel VARCHAR)
SELECT network FROM table_1404984_1 WHERE virtual_channel = "9.1"
What network is virtual channel 9.1 linked to?
<s>[INST]What network is virtual channel 9.1 linked to? Context: CREATE TABLE table_1404984_1 (network VARCHAR, virtual_channel VARCHAR)[/INST]SELECT network FROM table_1404984_1 WHERE virtual_channel = "9.1"</s>
CREATE TABLE WINE (Grape VARCHAR, Winery VARCHAR, YEAR VARCHAR, Price INTEGER)
SELECT Grape, Winery, YEAR FROM WINE WHERE Price > 100 ORDER BY YEAR
List the grape, winery and year of the wines whose price is bigger than 100 ordered by year.
<s>[INST]List the grape, winery and year of the wines whose price is bigger than 100 ordered by year. Context: CREATE TABLE WINE (Grape VARCHAR, Winery VARCHAR, YEAR VARCHAR, Price INTEGER)[/INST]SELECT Grape, Winery, YEAR FROM WINE WHERE Price > 100 ORDER BY YEAR</s>
CREATE TABLE table_14181578_1 (club__city_town_ VARCHAR, goals_for_against VARCHAR)
SELECT club__city_town_ FROM table_14181578_1 WHERE goals_for_against = "14-2"
who is the the club (city/town) with goals for/against being 14-2
<s>[INST]who is the the club (city/town) with goals for/against being 14-2 Context: CREATE TABLE table_14181578_1 (club__city_town_ VARCHAR, goals_for_against VARCHAR)[/INST]SELECT club__city_town_ FROM table_14181578_1 WHERE goals_for_against = "14-2"</s>
CREATE TABLE table_name_22 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_22 WHERE date = "11/09/1935"
How many spectators attended the game on 11/09/1935?
<s>[INST]How many spectators attended the game on 11/09/1935? Context: CREATE TABLE table_name_22 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_22 WHERE date = "11/09/1935"</s>
CREATE TABLE table_name_67 (location VARCHAR, record VARCHAR)
SELECT location FROM table_name_67 WHERE record = "23-17"
What is the location for the 23-17 record?
<s>[INST]What is the location for the 23-17 record? Context: CREATE TABLE table_name_67 (location VARCHAR, record VARCHAR)[/INST]SELECT location FROM table_name_67 WHERE record = "23-17"</s>
CREATE TABLE table_name_40 (game_site VARCHAR, date VARCHAR)
SELECT game_site FROM table_name_40 WHERE date = "october 4, 1992"
Name the game site for october 4, 1992
<s>[INST]Name the game site for october 4, 1992 Context: CREATE TABLE table_name_40 (game_site VARCHAR, date VARCHAR)[/INST]SELECT game_site FROM table_name_40 WHERE date = "october 4, 1992"</s>
CREATE TABLE table_name_4 (rank INTEGER, title VARCHAR)
SELECT MIN(rank) FROM table_name_4 WHERE title = "american pie 2"
What is the rank of American Pie 2?
<s>[INST]What is the rank of American Pie 2? Context: CREATE TABLE table_name_4 (rank INTEGER, title VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_4 WHERE title = "american pie 2"</s>
CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1341586_44 WHERE incumbent = "Henry B. Gonzalez"
Who are all the candidates vying for Henry B. Gonzalez' seat?
<s>[INST]Who are all the candidates vying for Henry B. Gonzalez' seat? Context: CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1341586_44 WHERE incumbent = "Henry B. Gonzalez"</s>
CREATE TABLE table_name_53 (place__posición_ VARCHAR, won__pg_ VARCHAR, draw__pe_ VARCHAR, team__equipo_ VARCHAR)
SELECT COUNT(place__posición_) FROM table_name_53 WHERE draw__pe_ > 2 AND team__equipo_ = "paraíso" AND won__pg_ > 6
How many Places (Posición) has a Draw (PE) larger than 2 and a Team (Equipo) of paraíso and a Won (PG) larger than 6?
<s>[INST]How many Places (Posición) has a Draw (PE) larger than 2 and a Team (Equipo) of paraíso and a Won (PG) larger than 6? Context: CREATE TABLE table_name_53 (place__posición_ VARCHAR, won__pg_ VARCHAR, draw__pe_ VARCHAR, team__equipo_ VARCHAR)[/INST]SELECT COUNT(place__posición_) FROM table_name_53 WHERE draw__pe...
CREATE TABLE table_name_16 (time VARCHAR, rank VARCHAR)
SELECT time FROM table_name_16 WHERE rank = 6
Rank of 6 has what time?
<s>[INST]Rank of 6 has what time? Context: CREATE TABLE table_name_16 (time VARCHAR, rank VARCHAR)[/INST]SELECT time FROM table_name_16 WHERE rank = 6</s>