context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_45 (votes VARCHAR, quotient VARCHAR)
SELECT votes FROM table_name_45 WHERE quotient = "97 350,333"
Quotient of 97 350,333 has how many votes?
<s>[INST]Quotient of 97 350,333 has how many votes? Context: CREATE TABLE table_name_45 (votes VARCHAR, quotient VARCHAR)[/INST]SELECT votes FROM table_name_45 WHERE quotient = "97 350,333"</s>
CREATE TABLE table_name_65 (title VARCHAR, release_date VARCHAR)
SELECT title FROM table_name_65 WHERE release_date = "2011-12-01 december 2011"
What is Title, when Release Date is 2011-12-01 December 2011?
<s>[INST]What is Title, when Release Date is 2011-12-01 December 2011? Context: CREATE TABLE table_name_65 (title VARCHAR, release_date VARCHAR)[/INST]SELECT title FROM table_name_65 WHERE release_date = "2011-12-01 december 2011"</s>
CREATE TABLE table_19061741_3 (age VARCHAR, edition VARCHAR, home_or_representative_town_or_province VARCHAR)
SELECT COUNT(age) FROM table_19061741_3 WHERE edition = "Clash 2010" AND home_or_representative_town_or_province = "Davao City"
When davao city is the home or representative town or province and clash 2010 is the edition how many ages are there?
<s>[INST]When davao city is the home or representative town or province and clash 2010 is the edition how many ages are there? Context: CREATE TABLE table_19061741_3 (age VARCHAR, edition VARCHAR, home_or_representative_town_or_province VARCHAR)[/INST]SELECT COUNT(age) FROM table_19061741_3 WHERE edition = "Clash 2010...
CREATE TABLE table_21578303_2 (stage VARCHAR, name VARCHAR)
SELECT stage FROM table_21578303_2 WHERE name = "Kourdali"
Which stage has kourdali as the name?
<s>[INST]Which stage has kourdali as the name? Context: CREATE TABLE table_21578303_2 (stage VARCHAR, name VARCHAR)[/INST]SELECT stage FROM table_21578303_2 WHERE name = "Kourdali"</s>
CREATE TABLE table_name_71 (method VARCHAR, time VARCHAR)
SELECT method FROM table_name_71 WHERE time = "2:32"
What win method has a time of 2:32?
<s>[INST]What win method has a time of 2:32? Context: CREATE TABLE table_name_71 (method VARCHAR, time VARCHAR)[/INST]SELECT method FROM table_name_71 WHERE time = "2:32"</s>
CREATE TABLE table_name_31 (best VARCHAR, qual_2 VARCHAR)
SELECT best FROM table_name_31 WHERE qual_2 = "1:00.588"
What is the Best of the racer with a Qual 2 of 1:00.588?
<s>[INST]What is the Best of the racer with a Qual 2 of 1:00.588? Context: CREATE TABLE table_name_31 (best VARCHAR, qual_2 VARCHAR)[/INST]SELECT best FROM table_name_31 WHERE qual_2 = "1:00.588"</s>
CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_42 WHERE away_team = "fitzroy"
Who played Fitzroy at their own home?
<s>[INST]Who played Fitzroy at their own home? Context: CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_42 WHERE away_team = "fitzroy"</s>
CREATE TABLE table_name_85 (Id VARCHAR)
SELECT 2002 FROM table_name_85 WHERE 2010 = "69"
What shows for 2002 when 2010 shows 69?
<s>[INST]What shows for 2002 when 2010 shows 69? Context: CREATE TABLE table_name_85 (Id VARCHAR)[/INST]SELECT 2002 FROM table_name_85 WHERE 2010 = "69"</s>
CREATE TABLE table_name_8 (date VARCHAR, against VARCHAR)
SELECT date FROM table_name_8 WHERE against = 42
What is the date of the 42 Against?
<s>[INST]What is the date of the 42 Against? Context: CREATE TABLE table_name_8 (date VARCHAR, against VARCHAR)[/INST]SELECT date FROM table_name_8 WHERE against = 42</s>
CREATE TABLE table_name_30 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_30 WHERE attendance = "60,066"
Who was the opponent in the game that had an attendance of 60,066?
<s>[INST]Who was the opponent in the game that had an attendance of 60,066? Context: CREATE TABLE table_name_30 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_30 WHERE attendance = "60,066"</s>
CREATE TABLE table_10015132_16 (school_club_team VARCHAR, years_in_toronto VARCHAR)
SELECT school_club_team FROM table_10015132_16 WHERE years_in_toronto = "2003-06"
which club was in toronto 2003-06
<s>[INST]which club was in toronto 2003-06 Context: CREATE TABLE table_10015132_16 (school_club_team VARCHAR, years_in_toronto VARCHAR)[/INST]SELECT school_club_team FROM table_10015132_16 WHERE years_in_toronto = "2003-06"</s>
CREATE TABLE table_name_2 (wins INTEGER, year VARCHAR, drivers VARCHAR)
SELECT SUM(wins) FROM table_name_2 WHERE year = 2011 AND drivers = "michael meadows"
In 2011, how many wins did Michael Meadows have?
<s>[INST]In 2011, how many wins did Michael Meadows have? Context: CREATE TABLE table_name_2 (wins INTEGER, year VARCHAR, drivers VARCHAR)[/INST]SELECT SUM(wins) FROM table_name_2 WHERE year = 2011 AND drivers = "michael meadows"</s>
CREATE TABLE table_27887723_1 (winner VARCHAR, location VARCHAR)
SELECT winner FROM table_27887723_1 WHERE location = "Souderton, PA"
who was the winner for souderton, pa?
<s>[INST]who was the winner for souderton, pa? Context: CREATE TABLE table_27887723_1 (winner VARCHAR, location VARCHAR)[/INST]SELECT winner FROM table_27887723_1 WHERE location = "Souderton, PA"</s>
CREATE TABLE table_27047554_1 (directed_by VARCHAR, us_viewers__in_millions_ VARCHAR)
SELECT COUNT(directed_by) FROM table_27047554_1 WHERE us_viewers__in_millions_ = "2.48"
How many directors directed an episode that reached 2.48 million viewers?
<s>[INST]How many directors directed an episode that reached 2.48 million viewers? Context: CREATE TABLE table_27047554_1 (directed_by VARCHAR, us_viewers__in_millions_ VARCHAR)[/INST]SELECT COUNT(directed_by) FROM table_27047554_1 WHERE us_viewers__in_millions_ = "2.48"</s>
CREATE TABLE table_name_37 (host_team VARCHAR, date VARCHAR)
SELECT host_team FROM table_name_37 WHERE date = "september 11"
What team was the host on september 11?
<s>[INST]What team was the host on september 11? Context: CREATE TABLE table_name_37 (host_team VARCHAR, date VARCHAR)[/INST]SELECT host_team FROM table_name_37 WHERE date = "september 11"</s>
CREATE TABLE table_13564702_3 (points_for VARCHAR, try_bonus VARCHAR)
SELECT COUNT(points_for) FROM table_13564702_3 WHERE try_bonus = "10"
Name the total number of points for when try bonus is 10
<s>[INST]Name the total number of points for when try bonus is 10 Context: CREATE TABLE table_13564702_3 (points_for VARCHAR, try_bonus VARCHAR)[/INST]SELECT COUNT(points_for) FROM table_13564702_3 WHERE try_bonus = "10"</s>
CREATE TABLE table_name_48 (coach VARCHAR, loss VARCHAR, pct VARCHAR, pts VARCHAR)
SELECT coach FROM table_name_48 WHERE pct > 0.1 AND pts > 9 AND loss = 19
What coach has a PCT larger than 0.1, PTS larger than 9 and a loss of 19?
<s>[INST]What coach has a PCT larger than 0.1, PTS larger than 9 and a loss of 19? Context: CREATE TABLE table_name_48 (coach VARCHAR, loss VARCHAR, pct VARCHAR, pts VARCHAR)[/INST]SELECT coach FROM table_name_48 WHERE pct > 0.1 AND pts > 9 AND loss = 19</s>
CREATE TABLE table_14332822_1 (coding VARCHAR, genbank_id VARCHAR)
SELECT coding FROM table_14332822_1 WHERE genbank_id = "HQ021442"
What is the coding for hq021442 genbankid?
<s>[INST]What is the coding for hq021442 genbankid? Context: CREATE TABLE table_14332822_1 (coding VARCHAR, genbank_id VARCHAR)[/INST]SELECT coding FROM table_14332822_1 WHERE genbank_id = "HQ021442"</s>
CREATE TABLE table_name_42 (to_par INTEGER, country VARCHAR, year_s__won VARCHAR)
SELECT MIN(to_par) FROM table_name_42 WHERE country = "australia" AND year_s__won = "1990"
Which To par has a Country of australia, and a Year(s) won of 1990?
<s>[INST]Which To par has a Country of australia, and a Year(s) won of 1990? Context: CREATE TABLE table_name_42 (to_par INTEGER, country VARCHAR, year_s__won VARCHAR)[/INST]SELECT MIN(to_par) FROM table_name_42 WHERE country = "australia" AND year_s__won = "1990"</s>
CREATE TABLE table_name_72 (up INTEGER, upstream VARCHAR)
SELECT MAX(up) AS :down_ratio FROM table_name_72 WHERE upstream = "4 mbit/s"
What is the highest up:down ratio with 4 mbit/s upstream?
<s>[INST]What is the highest up:down ratio with 4 mbit/s upstream? Context: CREATE TABLE table_name_72 (up INTEGER, upstream VARCHAR)[/INST]SELECT MAX(up) AS :down_ratio FROM table_name_72 WHERE upstream = "4 mbit/s"</s>
CREATE TABLE table_21109892_1 (rank VARCHAR, value_world_rank VARCHAR)
SELECT rank FROM table_21109892_1 WHERE value_world_rank = "7"
When the value world rank is 7, what is the rank?
<s>[INST]When the value world rank is 7, what is the rank? Context: CREATE TABLE table_21109892_1 (rank VARCHAR, value_world_rank VARCHAR)[/INST]SELECT rank FROM table_21109892_1 WHERE value_world_rank = "7"</s>
CREATE TABLE table_name_21 (week INTEGER, result VARCHAR)
SELECT MIN(week) FROM table_name_21 WHERE result = "w 31-16"
What week number saw a w 31-16 result?
<s>[INST]What week number saw a w 31-16 result? Context: CREATE TABLE table_name_21 (week INTEGER, result VARCHAR)[/INST]SELECT MIN(week) FROM table_name_21 WHERE result = "w 31-16"</s>
CREATE TABLE table_11677691_9 (player VARCHAR, college VARCHAR)
SELECT player FROM table_11677691_9 WHERE college = "Ohio State"
What player is from Ohio State college?
<s>[INST]What player is from Ohio State college? Context: CREATE TABLE table_11677691_9 (player VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_11677691_9 WHERE college = "Ohio State"</s>
CREATE TABLE table_name_12 (report VARCHAR, score VARCHAR, set_1 VARCHAR)
SELECT report FROM table_name_12 WHERE score = "3–1" AND set_1 = "19–25"
What is the Report with a Score of 3–1, and Set 1 is 19–25?
<s>[INST]What is the Report with a Score of 3–1, and Set 1 is 19–25? Context: CREATE TABLE table_name_12 (report VARCHAR, score VARCHAR, set_1 VARCHAR)[/INST]SELECT report FROM table_name_12 WHERE score = "3–1" AND set_1 = "19–25"</s>
CREATE TABLE table_name_10 (april INTEGER, game INTEGER)
SELECT MIN(april) FROM table_name_10 WHERE game < 76
What is the earliest April date with a game less than 76?
<s>[INST]What is the earliest April date with a game less than 76? Context: CREATE TABLE table_name_10 (april INTEGER, game INTEGER)[/INST]SELECT MIN(april) FROM table_name_10 WHERE game < 76</s>
CREATE TABLE table_name_6 (rank VARCHAR, opposition VARCHAR)
SELECT COUNT(rank) FROM table_name_6 WHERE opposition = "tipperary"
What is the total rank of the match with tipperary as the opposition?
<s>[INST]What is the total rank of the match with tipperary as the opposition? Context: CREATE TABLE table_name_6 (rank VARCHAR, opposition VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_6 WHERE opposition = "tipperary"</s>
CREATE TABLE table_name_73 (population VARCHAR, official_name VARCHAR)
SELECT COUNT(population) FROM table_name_73 WHERE official_name = "durham"
What's the population of durham parish?
<s>[INST]What's the population of durham parish? Context: CREATE TABLE table_name_73 (population VARCHAR, official_name VARCHAR)[/INST]SELECT COUNT(population) FROM table_name_73 WHERE official_name = "durham"</s>
CREATE TABLE table_name_63 (laps INTEGER, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR)
SELECT MAX(laps) FROM table_name_63 WHERE grid > 6 AND constructor = "renault" AND time_retired = "ignition"
When renault is the constructor, the grid is over 6, and the time was labeled ignition, what's the largest amount of laps on record?
<s>[INST]When renault is the constructor, the grid is over 6, and the time was labeled ignition, what's the largest amount of laps on record? Context: CREATE TABLE table_name_63 (laps INTEGER, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_63 WHERE grid > 6 AND construct...
CREATE TABLE school_bus (name VARCHAR, driver_id VARCHAR); CREATE TABLE driver (name VARCHAR, driver_id VARCHAR)
SELECT name FROM driver WHERE NOT driver_id IN (SELECT driver_id FROM school_bus)
Show the names of the drivers without a school bus.
<s>[INST]Show the names of the drivers without a school bus. Context: CREATE TABLE school_bus (name VARCHAR, driver_id VARCHAR); CREATE TABLE driver (name VARCHAR, driver_id VARCHAR)[/INST]SELECT name FROM driver WHERE NOT driver_id IN (SELECT driver_id FROM school_bus)</s>
CREATE TABLE table_name_15 (gold VARCHAR, bronze INTEGER)
SELECT COUNT(gold) FROM table_name_15 WHERE bronze > 3
What is the total number of Gold medals for the Nation with more than 3 Bronze?
<s>[INST]What is the total number of Gold medals for the Nation with more than 3 Bronze? Context: CREATE TABLE table_name_15 (gold VARCHAR, bronze INTEGER)[/INST]SELECT COUNT(gold) FROM table_name_15 WHERE bronze > 3</s>
CREATE TABLE paragraphs (other_details VARCHAR, paragraph_text VARCHAR)
SELECT other_details FROM paragraphs WHERE paragraph_text LIKE 'korea'
Show paragraph details for paragraph with text 'Korea ' .
<s>[INST]Show paragraph details for paragraph with text 'Korea ' . Context: CREATE TABLE paragraphs (other_details VARCHAR, paragraph_text VARCHAR)[/INST]SELECT other_details FROM paragraphs WHERE paragraph_text LIKE 'korea'</s>
CREATE TABLE table_name_62 (population_112008 INTEGER, urban_area VARCHAR, population_112006 VARCHAR)
SELECT SUM(population_112008) FROM table_name_62 WHERE urban_area = "tønsberg" AND population_112006 > 45.447
Name the sum of population 1.1.2008 for tønsberg and population 1.1.2006 more than 45.447
<s>[INST]Name the sum of population 1.1.2008 for tønsberg and population 1.1.2006 more than 45.447 Context: CREATE TABLE table_name_62 (population_112008 INTEGER, urban_area VARCHAR, population_112006 VARCHAR)[/INST]SELECT SUM(population_112008) FROM table_name_62 WHERE urban_area = "tønsberg" AND population_112006 > 4...
CREATE TABLE table_15261_1 (clock_multiplier VARCHAR, part_number VARCHAR, voltage_range__v_ VARCHAR, input_clock__mhz_ VARCHAR)
SELECT clock_multiplier FROM table_15261_1 WHERE voltage_range__v_ = "3.3 - 3.6" AND input_clock__mhz_ = "33 X 3 / 50 X 2" AND part_number = "A80486DX4-100"
What is the clock multiplier if the voltage range (v) is 3.3 - 3.6; input clock (mhz) is 33 x 3 / 50 x 2; and part number is a80486dx4-100?
<s>[INST]What is the clock multiplier if the voltage range (v) is 3.3 - 3.6; input clock (mhz) is 33 x 3 / 50 x 2; and part number is a80486dx4-100? Context: CREATE TABLE table_15261_1 (clock_multiplier VARCHAR, part_number VARCHAR, voltage_range__v_ VARCHAR, input_clock__mhz_ VARCHAR)[/INST]SELECT clock_multiplier FRO...
CREATE TABLE table_name_8 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_8 WHERE score = 76 - 71 = 147
What country has a 76-71=147 score?
<s>[INST]What country has a 76-71=147 score? Context: CREATE TABLE table_name_8 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_8 WHERE score = 76 - 71 = 147</s>
CREATE TABLE table_275506_1 (start_of_stage VARCHAR, year VARCHAR)
SELECT COUNT(start_of_stage) FROM table_275506_1 WHERE year = "2006"
How many entries for start of stage occur in the year 2006?
<s>[INST]How many entries for start of stage occur in the year 2006? Context: CREATE TABLE table_275506_1 (start_of_stage VARCHAR, year VARCHAR)[/INST]SELECT COUNT(start_of_stage) FROM table_275506_1 WHERE year = "2006"</s>
CREATE TABLE table_name_37 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_name_37 WHERE circuit = "sandown raceway"
On what Date is the Circuit at Sandown Raceway?
<s>[INST]On what Date is the Circuit at Sandown Raceway? Context: CREATE TABLE table_name_37 (date VARCHAR, circuit VARCHAR)[/INST]SELECT date FROM table_name_37 WHERE circuit = "sandown raceway"</s>
CREATE TABLE table_2231241_1 (seat_no_6 VARCHAR, seat_no_1 VARCHAR, seat_no_5 VARCHAR)
SELECT seat_no_6 FROM table_2231241_1 WHERE seat_no_1 = "Jacques Lachapelle" AND seat_no_5 = "Donald S. Dutton"
Who was seat no 6 when seat no 1 and seat no 5 were jacques lachapelle and donald s. dutton
<s>[INST]Who was seat no 6 when seat no 1 and seat no 5 were jacques lachapelle and donald s. dutton Context: CREATE TABLE table_2231241_1 (seat_no_6 VARCHAR, seat_no_1 VARCHAR, seat_no_5 VARCHAR)[/INST]SELECT seat_no_6 FROM table_2231241_1 WHERE seat_no_1 = "Jacques Lachapelle" AND seat_no_5 = "Donald S. Dutton"</s>
CREATE TABLE table_14836185_3 (scoring_average VARCHAR)
SELECT COUNT(2 AS nd) FROM table_14836185_3 WHERE scoring_average = "71.62"
In the year where Angela Stanford had a scoring average of 71.62, how many times did she take second place?
<s>[INST]In the year where Angela Stanford had a scoring average of 71.62, how many times did she take second place? Context: CREATE TABLE table_14836185_3 (scoring_average VARCHAR)[/INST]SELECT COUNT(2 AS nd) FROM table_14836185_3 WHERE scoring_average = "71.62"</s>
CREATE TABLE table_29487895_2 (series_premiere VARCHAR, source_s_ VARCHAR)
SELECT series_premiere FROM table_29487895_2 WHERE source_s_ = "American Disney XD Tron Uprising Site"
What is the premiere date of the american disney xd tron uprising site?
<s>[INST]What is the premiere date of the american disney xd tron uprising site? Context: CREATE TABLE table_29487895_2 (series_premiere VARCHAR, source_s_ VARCHAR)[/INST]SELECT series_premiere FROM table_29487895_2 WHERE source_s_ = "American Disney XD Tron Uprising Site"</s>
CREATE TABLE table_name_48 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_48 WHERE venue = "victoria park"
What's the Home teams Venue near Victoria Park?
<s>[INST]What's the Home teams Venue near Victoria Park? Context: CREATE TABLE table_name_48 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_48 WHERE venue = "victoria park"</s>
CREATE TABLE country (Official_native_language VARCHAR)
SELECT Official_native_language FROM country WHERE Official_native_language LIKE "%English%"
Show all official native languages that contain the word "English".
<s>[INST]Show all official native languages that contain the word "English". Context: CREATE TABLE country (Official_native_language VARCHAR)[/INST]SELECT Official_native_language FROM country WHERE Official_native_language LIKE "%English%"</s>
CREATE TABLE table_name_49 (date INTEGER, game VARCHAR, opponent VARCHAR)
SELECT MAX(date) FROM table_name_49 WHERE game > 69 AND opponent = "st. louis blues"
What is the latest date for a game over 69 with a St. Louis Blues opponent?
<s>[INST]What is the latest date for a game over 69 with a St. Louis Blues opponent? Context: CREATE TABLE table_name_49 (date INTEGER, game VARCHAR, opponent VARCHAR)[/INST]SELECT MAX(date) FROM table_name_49 WHERE game > 69 AND opponent = "st. louis blues"</s>
CREATE TABLE table_13998897_1 (height_m___ft__ VARCHAR, frequency_mhz VARCHAR)
SELECT COUNT(height_m___ft__) FROM table_13998897_1 WHERE frequency_mhz = "100.1"
how many height m ( ft ) with frequency mhz being 100.1
<s>[INST] how many height m ( ft ) with frequency mhz being 100.1 Context: CREATE TABLE table_13998897_1 (height_m___ft__ VARCHAR, frequency_mhz VARCHAR)[/INST]SELECT COUNT(height_m___ft__) FROM table_13998897_1 WHERE frequency_mhz = "100.1"</s>
CREATE TABLE table_name_70 (date VARCHAR, japan VARCHAR)
SELECT date FROM table_name_70 WHERE japan = "0.59 million"
Which date had Japanese sales of 0.59 million?
<s>[INST]Which date had Japanese sales of 0.59 million? Context: CREATE TABLE table_name_70 (date VARCHAR, japan VARCHAR)[/INST]SELECT date FROM table_name_70 WHERE japan = "0.59 million"</s>
CREATE TABLE table_11839306_2 (track VARCHAR, rōmaji_title VARCHAR)
SELECT COUNT(track) FROM table_11839306_2 WHERE rōmaji_title = "Mō Sukoshi Tōku"
How many tracks are titled Mō Sukoshi Tōku?
<s>[INST]How many tracks are titled Mō Sukoshi Tōku? Context: CREATE TABLE table_11839306_2 (track VARCHAR, rōmaji_title VARCHAR)[/INST]SELECT COUNT(track) FROM table_11839306_2 WHERE rōmaji_title = "Mō Sukoshi Tōku"</s>
CREATE TABLE table_name_66 (assists INTEGER, rank VARCHAR, games VARCHAR)
SELECT AVG(assists) FROM table_name_66 WHERE rank > 3 AND games < 25
How many Assists for the Player with a Rank greater than 3 in less than 25 Games?
<s>[INST]How many Assists for the Player with a Rank greater than 3 in less than 25 Games? Context: CREATE TABLE table_name_66 (assists INTEGER, rank VARCHAR, games VARCHAR)[/INST]SELECT AVG(assists) FROM table_name_66 WHERE rank > 3 AND games < 25</s>
CREATE TABLE table_name_75 (away_team VARCHAR, score VARCHAR)
SELECT away_team FROM table_name_75 WHERE score = "139-119"
Who was the away team for the game with a score of 139-119?
<s>[INST]Who was the away team for the game with a score of 139-119? Context: CREATE TABLE table_name_75 (away_team VARCHAR, score VARCHAR)[/INST]SELECT away_team FROM table_name_75 WHERE score = "139-119"</s>
CREATE TABLE table_17360840_6 (score VARCHAR, date VARCHAR)
SELECT score FROM table_17360840_6 WHERE date = "December 11"
What was the score of the game on December 11?
<s>[INST]What was the score of the game on December 11? Context: CREATE TABLE table_17360840_6 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_17360840_6 WHERE date = "December 11"</s>
CREATE TABLE table_name_89 (pick__number VARCHAR, college VARCHAR)
SELECT pick__number FROM table_name_89 WHERE college = "mcmaster"
Which pick number attended McMaster College?
<s>[INST]Which pick number attended McMaster College? Context: CREATE TABLE table_name_89 (pick__number VARCHAR, college VARCHAR)[/INST]SELECT pick__number FROM table_name_89 WHERE college = "mcmaster"</s>
CREATE TABLE table_name_70 (format VARCHAR, frequency VARCHAR, station VARCHAR)
SELECT format FROM table_name_70 WHERE frequency > 1050 AND station = "kvto"
Which format has a Frequency larger than 1050, and a Station of kvto?
<s>[INST]Which format has a Frequency larger than 1050, and a Station of kvto? Context: CREATE TABLE table_name_70 (format VARCHAR, frequency VARCHAR, station VARCHAR)[/INST]SELECT format FROM table_name_70 WHERE frequency > 1050 AND station = "kvto"</s>
CREATE TABLE table_name_20 (laps INTEGER, driver VARCHAR, time_retired VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_20 WHERE time_retired = "engine" AND grid > 8 AND driver = "george eaton"
What's the least amount of laps that George Eaton completed that has a time/retired engine and a grid larger than 8?
<s>[INST]What's the least amount of laps that George Eaton completed that has a time/retired engine and a grid larger than 8? Context: CREATE TABLE table_name_20 (laps INTEGER, driver VARCHAR, time_retired VARCHAR, grid VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_20 WHERE time_retired = "engine" AND grid > 8 AND dr...
CREATE TABLE Countries (countryId VARCHAR, CountryName VARCHAR, CountryId VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR, Id VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR, Model VARCHAR)
SELECT T1.countryId, T1.CountryName FROM Countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country GROUP BY T1.countryId HAVING COUNT(*) > 3 UNION SELECT T1.countryId, T1.CountryName FROM Countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.CountryId = T2.Country JOIN MODEL_LIST AS T3 ON T2.Id = T3.Maker WHERE T3.Model...
What are the id and names of the countries which have more than 3 car makers or produce the 'fiat' model?
<s>[INST]What are the id and names of the countries which have more than 3 car makers or produce the 'fiat' model? Context: CREATE TABLE Countries (countryId VARCHAR, CountryName VARCHAR, CountryId VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR, Id VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR, Model VARCHAR)[/I...
CREATE TABLE table_29302781_12 (semifinalists VARCHAR, runner_up VARCHAR)
SELECT semifinalists FROM table_29302781_12 WHERE runner_up = "Pat Du Pré"
Who were the semifinalists when the runner-up was Pat Du Pré?
<s>[INST]Who were the semifinalists when the runner-up was Pat Du Pré? Context: CREATE TABLE table_29302781_12 (semifinalists VARCHAR, runner_up VARCHAR)[/INST]SELECT semifinalists FROM table_29302781_12 WHERE runner_up = "Pat Du Pré"</s>
CREATE TABLE table_name_40 (to_par INTEGER, score VARCHAR)
SELECT AVG(to_par) FROM table_name_40 WHERE score = 72 - 67 - 71 - 72 = 282
What is the average To Par, when Score is "72-67-71-72=282"?
<s>[INST]What is the average To Par, when Score is "72-67-71-72=282"? Context: CREATE TABLE table_name_40 (to_par INTEGER, score VARCHAR)[/INST]SELECT AVG(to_par) FROM table_name_40 WHERE score = 72 - 67 - 71 - 72 = 282</s>
CREATE TABLE table_name_79 (club VARCHAR, tries_for VARCHAR)
SELECT club FROM table_name_79 WHERE tries_for = "101"
Which club has 101 tries for?
<s>[INST]Which club has 101 tries for? Context: CREATE TABLE table_name_79 (club VARCHAR, tries_for VARCHAR)[/INST]SELECT club FROM table_name_79 WHERE tries_for = "101"</s>
CREATE TABLE table_name_66 (overs VARCHAR, mdns VARCHAR)
SELECT overs FROM table_name_66 WHERE mdns = "4"
Tell me the overs for mdns of 4
<s>[INST]Tell me the overs for mdns of 4 Context: CREATE TABLE table_name_66 (overs VARCHAR, mdns VARCHAR)[/INST]SELECT overs FROM table_name_66 WHERE mdns = "4"</s>
CREATE TABLE table_17289224_1 (team_name VARCHAR, season VARCHAR)
SELECT team_name FROM table_17289224_1 WHERE season = "2010"
Which team started 2010?
<s>[INST]Which team started 2010? Context: CREATE TABLE table_17289224_1 (team_name VARCHAR, season VARCHAR)[/INST]SELECT team_name FROM table_17289224_1 WHERE season = "2010"</s>
CREATE TABLE table_name_25 (year_completed INTEGER, dam_type VARCHAR, dam_constructed VARCHAR)
SELECT MAX(year_completed) FROM table_name_25 WHERE dam_type = "earthfill embankment" AND dam_constructed = "khancoban dam"
Which Year completed has a Dam type of earthfill embankment, and a Dam constructed of khancoban dam?
<s>[INST]Which Year completed has a Dam type of earthfill embankment, and a Dam constructed of khancoban dam? Context: CREATE TABLE table_name_25 (year_completed INTEGER, dam_type VARCHAR, dam_constructed VARCHAR)[/INST]SELECT MAX(year_completed) FROM table_name_25 WHERE dam_type = "earthfill embankment" AND dam_constr...
CREATE TABLE table_name_11 (number_of_electorates__2009_ INTEGER, district VARCHAR, name VARCHAR)
SELECT SUM(number_of_electorates__2009_) FROM table_name_11 WHERE district = "fatehpur" AND name = "jahanabad"
Count the Number of electorates (2009) that has a District of fatehpur and jahanabad?
<s>[INST]Count the Number of electorates (2009) that has a District of fatehpur and jahanabad? Context: CREATE TABLE table_name_11 (number_of_electorates__2009_ INTEGER, district VARCHAR, name VARCHAR)[/INST]SELECT SUM(number_of_electorates__2009_) FROM table_name_11 WHERE district = "fatehpur" AND name = "jahanabad"<...
CREATE TABLE problems (problem_id VARCHAR, reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR); CREATE TABLE problems (reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR)
SELECT T1.problem_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE date_problem_reported < (SELECT MIN(date_problem_reported) FROM problems AS T3 JOIN staff AS T4 ON T3.reported_by_staff_id = T4.staff_id WHERE T4.staff_first_name = "Lysanne" AND T4.staff_last_name = "Turcotte")
What are the ids of the problems reported before the date of any problem reported by Lysanne Turcotte?
<s>[INST]What are the ids of the problems reported before the date of any problem reported by Lysanne Turcotte? Context: CREATE TABLE problems (problem_id VARCHAR, reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR); CREATE TABLE problems (reported_by_...
CREATE TABLE table_name_47 (tries_for VARCHAR, losing_bonus VARCHAR)
SELECT tries_for FROM table_name_47 WHERE losing_bonus = "losing bonus"
what is the tries fow when losing bonus is losing bonus?
<s>[INST]what is the tries fow when losing bonus is losing bonus? Context: CREATE TABLE table_name_47 (tries_for VARCHAR, losing_bonus VARCHAR)[/INST]SELECT tries_for FROM table_name_47 WHERE losing_bonus = "losing bonus"</s>
CREATE TABLE table_name_41 (status VARCHAR, height VARCHAR)
SELECT "built" FROM table_name_41 WHERE status = "built" AND height = "42 m."
What is the year built of the home with a built status and a 42 m. height?
<s>[INST]What is the year built of the home with a built status and a 42 m. height? Context: CREATE TABLE table_name_41 (status VARCHAR, height VARCHAR)[/INST]SELECT "built" FROM table_name_41 WHERE status = "built" AND height = "42 m."</s>
CREATE TABLE table_name_70 (country VARCHAR, total INTEGER)
SELECT country FROM table_name_70 WHERE total > 300
What is the country of the player who has a total larger than 300?
<s>[INST]What is the country of the player who has a total larger than 300? Context: CREATE TABLE table_name_70 (country VARCHAR, total INTEGER)[/INST]SELECT country FROM table_name_70 WHERE total > 300</s>
CREATE TABLE table_name_27 (Id VARCHAR)
SELECT 2006 FROM table_name_27 WHERE 2005 = "grand slam tournaments"
What 2006 has grand slam tournaments of 2005?
<s>[INST]What 2006 has grand slam tournaments of 2005? Context: CREATE TABLE table_name_27 (Id VARCHAR)[/INST]SELECT 2006 FROM table_name_27 WHERE 2005 = "grand slam tournaments"</s>
CREATE TABLE table_25572068_1 (location VARCHAR, winning_driver VARCHAR)
SELECT location FROM table_25572068_1 WHERE winning_driver = "Nathanaël Berthon"
What was the location when the winning driver was Nathanaël Berthon?
<s>[INST]What was the location when the winning driver was Nathanaël Berthon? Context: CREATE TABLE table_25572068_1 (location VARCHAR, winning_driver VARCHAR)[/INST]SELECT location FROM table_25572068_1 WHERE winning_driver = "Nathanaël Berthon"</s>
CREATE TABLE table_name_13 (class VARCHAR, race VARCHAR, length VARCHAR)
SELECT class FROM table_name_13 WHERE race = "budweiser grand prix of miami" AND length = "3 hours"
What is the class of the Budweiser Grand Prix of Miami race with a length of 3 hours?
<s>[INST]What is the class of the Budweiser Grand Prix of Miami race with a length of 3 hours? Context: CREATE TABLE table_name_13 (class VARCHAR, race VARCHAR, length VARCHAR)[/INST]SELECT class FROM table_name_13 WHERE race = "budweiser grand prix of miami" AND length = "3 hours"</s>
CREATE TABLE table_name_30 (tv_time VARCHAR, home_team VARCHAR, result VARCHAR)
SELECT tv_time FROM table_name_30 WHERE home_team = "phoenix" AND result = "98-99"
What was the TV time for the road game against Phoenix where the score was 98-99?
<s>[INST]What was the TV time for the road game against Phoenix where the score was 98-99? Context: CREATE TABLE table_name_30 (tv_time VARCHAR, home_team VARCHAR, result VARCHAR)[/INST]SELECT tv_time FROM table_name_30 WHERE home_team = "phoenix" AND result = "98-99"</s>
CREATE TABLE table_name_22 (series VARCHAR, isbn VARCHAR)
SELECT series FROM table_name_22 WHERE isbn = "978-1-59582-523-0 (tpb)"
What is the name of the series with an ISBN of 978-1-59582-523-0 (tpb)?
<s>[INST]What is the name of the series with an ISBN of 978-1-59582-523-0 (tpb)? Context: CREATE TABLE table_name_22 (series VARCHAR, isbn VARCHAR)[/INST]SELECT series FROM table_name_22 WHERE isbn = "978-1-59582-523-0 (tpb)"</s>
CREATE TABLE COUNTRIES (Continent VARCHAR); CREATE TABLE CONTINENTS (ContId VARCHAR, Continent VARCHAR)
SELECT T1.ContId, T1.Continent, COUNT(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.Continent GROUP BY T1.ContId
How many countries does each continent have? List the continent id, continent name and the number of countries.
<s>[INST]How many countries does each continent have? List the continent id, continent name and the number of countries. Context: CREATE TABLE COUNTRIES (Continent VARCHAR); CREATE TABLE CONTINENTS (ContId VARCHAR, Continent VARCHAR)[/INST]SELECT T1.ContId, T1.Continent, COUNT(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS...
CREATE TABLE table_25084227_1 (no INTEGER, directed_by VARCHAR)
SELECT MIN(no) FROM table_25084227_1 WHERE directed_by = "Michael Offer"
If the episode was directed by Michael Offer, what was the episode number?
<s>[INST]If the episode was directed by Michael Offer, what was the episode number? Context: CREATE TABLE table_25084227_1 (no INTEGER, directed_by VARCHAR)[/INST]SELECT MIN(no) FROM table_25084227_1 WHERE directed_by = "Michael Offer"</s>
CREATE TABLE table_name_30 (tournament VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_30 WHERE score = "6-4, 6-4"
Which tournament has a Score of 6-4, 6-4?
<s>[INST]Which tournament has a Score of 6-4, 6-4? Context: CREATE TABLE table_name_30 (tournament VARCHAR, score VARCHAR)[/INST]SELECT tournament FROM table_name_30 WHERE score = "6-4, 6-4"</s>
CREATE TABLE table_name_1 (upstream VARCHAR, price VARCHAR)
SELECT upstream FROM table_name_1 WHERE price = "65 chf"
What is the upstream with the price 65 chf?
<s>[INST]What is the upstream with the price 65 chf? Context: CREATE TABLE table_name_1 (upstream VARCHAR, price VARCHAR)[/INST]SELECT upstream FROM table_name_1 WHERE price = "65 chf"</s>
CREATE TABLE table_name_98 (winning__percentage VARCHAR, years VARCHAR)
SELECT winning__percentage FROM table_name_98 WHERE years = "2006-11"
what is the winning % for the years 2006-11?
<s>[INST]what is the winning % for the years 2006-11? Context: CREATE TABLE table_name_98 (winning__percentage VARCHAR, years VARCHAR)[/INST]SELECT winning__percentage FROM table_name_98 WHERE years = "2006-11"</s>
CREATE TABLE table_name_91 (competition VARCHAR, result VARCHAR, score VARCHAR)
SELECT competition FROM table_name_91 WHERE result = "win" AND score = "1-0"
What is the Competition with a Result of win with a Score that is 1-0?
<s>[INST]What is the Competition with a Result of win with a Score that is 1-0? Context: CREATE TABLE table_name_91 (competition VARCHAR, result VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_91 WHERE result = "win" AND score = "1-0"</s>
CREATE TABLE COUNTRIES (continent VARCHAR, CountryId VARCHAR); CREATE TABLE CONTINENTS (Continent VARCHAR, ContId VARCHAR); CREATE TABLE car_makers (Country VARCHAR)
SELECT T1.Continent, COUNT(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.continent JOIN car_makers AS T3 ON T2.CountryId = T3.Country GROUP BY T1.Continent
How many car makers are there in each continents? List the continent name and the count.
<s>[INST]How many car makers are there in each continents? List the continent name and the count. Context: CREATE TABLE COUNTRIES (continent VARCHAR, CountryId VARCHAR); CREATE TABLE CONTINENTS (Continent VARCHAR, ContId VARCHAR); CREATE TABLE car_makers (Country VARCHAR)[/INST]SELECT T1.Continent, COUNT(*) FROM CONTIN...
CREATE TABLE table_name_6 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_6 WHERE result = "w48-0"
What is the name of the Opponent when the Result was w48-0?
<s>[INST]What is the name of the Opponent when the Result was w48-0? Context: CREATE TABLE table_name_6 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_name_6 WHERE result = "w48-0"</s>
CREATE TABLE table_name_8 (label VARCHAR, date VARCHAR)
SELECT label FROM table_name_8 WHERE date = "22 january 2008"
What label has 22 January 2008 date?
<s>[INST]What label has 22 January 2008 date? Context: CREATE TABLE table_name_8 (label VARCHAR, date VARCHAR)[/INST]SELECT label FROM table_name_8 WHERE date = "22 january 2008"</s>
CREATE TABLE table_250230_2 (brakes VARCHAR, model VARCHAR, wheels VARCHAR, tyres VARCHAR)
SELECT brakes FROM table_250230_2 WHERE wheels = "16x8.0JJ (front) 16x8.0JJ (rear)" AND tyres = "225/50R16 92V(front) 225/50R16 92V(rear)" AND model = "Type RB 4AT"
What kind of brakes for the model type rb 4at with 16x8.0jj (front) 16x8.0jj (rear) wheels and 225/50r16 92v(front) 225/50r16 92v(rear) tyres?
<s>[INST]What kind of brakes for the model type rb 4at with 16x8.0jj (front) 16x8.0jj (rear) wheels and 225/50r16 92v(front) 225/50r16 92v(rear) tyres? Context: CREATE TABLE table_250230_2 (brakes VARCHAR, model VARCHAR, wheels VARCHAR, tyres VARCHAR)[/INST]SELECT brakes FROM table_250230_2 WHERE wheels = "16x8.0JJ (fr...
CREATE TABLE table_name_60 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_60 WHERE date = "april 8"
Which record is dated April 8?
<s>[INST]Which record is dated April 8? Context: CREATE TABLE table_name_60 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_60 WHERE date = "april 8"</s>
CREATE TABLE table_name_80 (game INTEGER, record VARCHAR, october VARCHAR)
SELECT SUM(game) FROM table_name_80 WHERE record = "5–3–1" AND october < 29
Which Game has a Record of 5–3–1, and an October smaller than 29?
<s>[INST]Which Game has a Record of 5–3–1, and an October smaller than 29? Context: CREATE TABLE table_name_80 (game INTEGER, record VARCHAR, october VARCHAR)[/INST]SELECT SUM(game) FROM table_name_80 WHERE record = "5–3–1" AND october < 29</s>
CREATE TABLE table_13003460_1 (english_translation VARCHAR, word_number VARCHAR)
SELECT english_translation FROM table_13003460_1 WHERE word_number = "219"
Name the english translation of 219
<s>[INST]Name the english translation of 219 Context: CREATE TABLE table_13003460_1 (english_translation VARCHAR, word_number VARCHAR)[/INST]SELECT english_translation FROM table_13003460_1 WHERE word_number = "219"</s>
CREATE TABLE table_24162080_3 (date_of_appointment VARCHAR, team VARCHAR)
SELECT date_of_appointment FROM table_24162080_3 WHERE team = "1. FC Köln"
When 1. fc köln is the team what is the date of appointment?
<s>[INST]When 1. fc köln is the team what is the date of appointment? Context: CREATE TABLE table_24162080_3 (date_of_appointment VARCHAR, team VARCHAR)[/INST]SELECT date_of_appointment FROM table_24162080_3 WHERE team = "1. FC Köln"</s>
CREATE TABLE table_name_89 (silver INTEGER, bronze VARCHAR, total VARCHAR, rank VARCHAR)
SELECT AVG(silver) FROM table_name_89 WHERE total < 3 AND rank = 6 AND bronze > 1
How many silvers on average for nations with less than 3 total, ranked 6, and over 1 bronze?
<s>[INST]How many silvers on average for nations with less than 3 total, ranked 6, and over 1 bronze? Context: CREATE TABLE table_name_89 (silver INTEGER, bronze VARCHAR, total VARCHAR, rank VARCHAR)[/INST]SELECT AVG(silver) FROM table_name_89 WHERE total < 3 AND rank = 6 AND bronze > 1</s>
CREATE TABLE table_name_17 (band VARCHAR, album_or_song VARCHAR)
SELECT band FROM table_name_17 WHERE album_or_song = "self versus self - immersion"
Which band plays Self Versus Self - Immersion?
<s>[INST]Which band plays Self Versus Self - Immersion? Context: CREATE TABLE table_name_17 (band VARCHAR, album_or_song VARCHAR)[/INST]SELECT band FROM table_name_17 WHERE album_or_song = "self versus self - immersion"</s>
CREATE TABLE table_name_40 (wins INTEGER, points VARCHAR, year VARCHAR, championship_finish VARCHAR)
SELECT MAX(wins) FROM table_name_40 WHERE year > 1996 AND championship_finish = "1st" AND points < 168
Which Wins is the highest one that has a Year larger than 1996, and a Championship Finish of 1st, and Points smaller than 168?
<s>[INST]Which Wins is the highest one that has a Year larger than 1996, and a Championship Finish of 1st, and Points smaller than 168? Context: CREATE TABLE table_name_40 (wins INTEGER, points VARCHAR, year VARCHAR, championship_finish VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_40 WHERE year > 1996 AND championsh...
CREATE TABLE table_name_73 (guest_host VARCHAR, episode_number VARCHAR)
SELECT guest_host FROM table_name_73 WHERE episode_number = 5
What is the name of the Guest Host for Episode Number of 5?
<s>[INST]What is the name of the Guest Host for Episode Number of 5? Context: CREATE TABLE table_name_73 (guest_host VARCHAR, episode_number VARCHAR)[/INST]SELECT guest_host FROM table_name_73 WHERE episode_number = 5</s>
CREATE TABLE table_name_52 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_52 WHERE date = "20 july 2008"
What is the result on 20 July 2008?
<s>[INST]What is the result on 20 July 2008? Context: CREATE TABLE table_name_52 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_52 WHERE date = "20 july 2008"</s>
CREATE TABLE table_name_69 (points VARCHAR, games_played INTEGER)
SELECT COUNT(points) FROM table_name_69 WHERE games_played < 22
What is the number of points of the match with less than 22 games played?
<s>[INST]What is the number of points of the match with less than 22 games played? Context: CREATE TABLE table_name_69 (points VARCHAR, games_played INTEGER)[/INST]SELECT COUNT(points) FROM table_name_69 WHERE games_played < 22</s>
CREATE TABLE table_name_69 (fa_cup INTEGER, malaysia_cup INTEGER)
SELECT MIN(fa_cup) FROM table_name_69 WHERE malaysia_cup < 0
What is the lowest number of FA cups associated with 0 malaysia cups?
<s>[INST]What is the lowest number of FA cups associated with 0 malaysia cups? Context: CREATE TABLE table_name_69 (fa_cup INTEGER, malaysia_cup INTEGER)[/INST]SELECT MIN(fa_cup) FROM table_name_69 WHERE malaysia_cup < 0</s>
CREATE TABLE table_26561509_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT COUNT(directed_by) FROM table_26561509_1 WHERE production_code = "3T5009"
How many are directed by episodes with the production code 3T5009?
<s>[INST]How many are directed by episodes with the production code 3T5009? Context: CREATE TABLE table_26561509_1 (directed_by VARCHAR, production_code VARCHAR)[/INST]SELECT COUNT(directed_by) FROM table_26561509_1 WHERE production_code = "3T5009"</s>
CREATE TABLE table_22603701_1 (height VARCHAR, position VARCHAR, name VARCHAR)
SELECT COUNT(height) FROM table_22603701_1 WHERE position = "WR" AND name = "Jesse Holley"
How many heights are listed for Jesse Holley in the WR position?
<s>[INST]How many heights are listed for Jesse Holley in the WR position? Context: CREATE TABLE table_22603701_1 (height VARCHAR, position VARCHAR, name VARCHAR)[/INST]SELECT COUNT(height) FROM table_22603701_1 WHERE position = "WR" AND name = "Jesse Holley"</s>
CREATE TABLE table_name_77 (samples_failed INTEGER, product VARCHAR, samples_taken VARCHAR)
SELECT MAX(samples_failed) FROM table_name_77 WHERE product = "可淇牌嬰幼兒配方乳粉" AND samples_taken < 1
What the most samples failed for 可淇牌嬰幼兒配方乳粉 and had less than 1 samples taken?
<s>[INST]What the most samples failed for 可淇牌嬰幼兒配方乳粉 and had less than 1 samples taken? Context: CREATE TABLE table_name_77 (samples_failed INTEGER, product VARCHAR, samples_taken VARCHAR)[/INST]SELECT MAX(samples_failed) FROM table_name_77 WHERE product = "可淇牌嬰幼兒配方乳粉" AND samples_taken < 1</s>
CREATE TABLE table_name_46 (tyres VARCHAR, driver VARCHAR)
SELECT tyres FROM table_name_46 WHERE driver = "hans binder"
I want the tyres for hans binder
<s>[INST]I want the tyres for hans binder Context: CREATE TABLE table_name_46 (tyres VARCHAR, driver VARCHAR)[/INST]SELECT tyres FROM table_name_46 WHERE driver = "hans binder"</s>
CREATE TABLE table_name_97 (capacity INTEGER, stadium VARCHAR)
SELECT AVG(capacity) FROM table_name_97 WHERE stadium = "rod laver arena"
What is the average capacity that has rod laver arena as the stadium?
<s>[INST]What is the average capacity that has rod laver arena as the stadium? Context: CREATE TABLE table_name_97 (capacity INTEGER, stadium VARCHAR)[/INST]SELECT AVG(capacity) FROM table_name_97 WHERE stadium = "rod laver arena"</s>
CREATE TABLE table_name_3 (quantity_made VARCHAR, inchicore_class VARCHAR)
SELECT quantity_made FROM table_name_3 WHERE inchicore_class = "j7"
What was the quantity for Inchicore of J7?
<s>[INST]What was the quantity for Inchicore of J7? Context: CREATE TABLE table_name_3 (quantity_made VARCHAR, inchicore_class VARCHAR)[/INST]SELECT quantity_made FROM table_name_3 WHERE inchicore_class = "j7"</s>
CREATE TABLE table_17120964_5 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_17120964_5 WHERE date = "4th"
Name the opponent for 4th
<s>[INST]Name the opponent for 4th Context: CREATE TABLE table_17120964_5 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_17120964_5 WHERE date = "4th"</s>
CREATE TABLE table_name_68 (medal VARCHAR, event VARCHAR, games VARCHAR)
SELECT medal FROM table_name_68 WHERE event = "men's light welterweight" AND games = "1996 atlanta"
What medal was won in the men's light welterweight event at the 1996 Atlanta games?
<s>[INST]What medal was won in the men's light welterweight event at the 1996 Atlanta games? Context: CREATE TABLE table_name_68 (medal VARCHAR, event VARCHAR, games VARCHAR)[/INST]SELECT medal FROM table_name_68 WHERE event = "men's light welterweight" AND games = "1996 atlanta"</s>
CREATE TABLE table_name_58 (player VARCHAR, position VARCHAR, team VARCHAR)
SELECT player FROM table_name_58 WHERE position = "g" AND team = "washington capitols"
What is the name of the player with position of G and the team was the Washington Capitols?
<s>[INST]What is the name of the player with position of G and the team was the Washington Capitols? Context: CREATE TABLE table_name_58 (player VARCHAR, position VARCHAR, team VARCHAR)[/INST]SELECT player FROM table_name_58 WHERE position = "g" AND team = "washington capitols"</s>
CREATE TABLE table_name_15 (notes VARCHAR, channel VARCHAR, time VARCHAR)
SELECT notes FROM table_name_15 WHERE channel = "bbc four" AND time = "22:30"
What is the notes of the transmission on channel bbc four and a time of 22:30?
<s>[INST]What is the notes of the transmission on channel bbc four and a time of 22:30? Context: CREATE TABLE table_name_15 (notes VARCHAR, channel VARCHAR, time VARCHAR)[/INST]SELECT notes FROM table_name_15 WHERE channel = "bbc four" AND time = "22:30"</s>
CREATE TABLE table_name_93 (to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_93 WHERE country = "united states" AND score < 72 AND place = "t3" AND player = "ed furgol"
How far to par did ed furgol from the United States get when he scored less than 72 and was placed at t3?
<s>[INST]How far to par did ed furgol from the United States get when he scored less than 72 and was placed at t3? Context: CREATE TABLE table_name_93 (to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_93 WHERE country = "united states" AND score < 72 AND...