context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_13 (wins INTEGER, events VARCHAR)
SELECT MIN(wins) FROM table_name_13 WHERE events = 9
What is the fewest wins for Thomas in events he had entered exactly 9 times?
<s>[INST]What is the fewest wins for Thomas in events he had entered exactly 9 times? Context: CREATE TABLE table_name_13 (wins INTEGER, events VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_13 WHERE events = 9</s>
CREATE TABLE table_name_41 (score VARCHAR, high_assists VARCHAR)
SELECT score FROM table_name_41 WHERE high_assists = "rafer alston (8)"
Can you tell me the Score that has the High assists of rafer alston (8)?
<s>[INST]Can you tell me the Score that has the High assists of rafer alston (8)? Context: CREATE TABLE table_name_41 (score VARCHAR, high_assists VARCHAR)[/INST]SELECT score FROM table_name_41 WHERE high_assists = "rafer alston (8)"</s>
CREATE TABLE table_19304764_2 (total_seats VARCHAR, discipline VARCHAR)
SELECT total_seats FROM table_19304764_2 WHERE discipline = "Otorhinolaryngology"
Name the total seats for otorhinolaryngology
<s>[INST]Name the total seats for otorhinolaryngology Context: CREATE TABLE table_19304764_2 (total_seats VARCHAR, discipline VARCHAR)[/INST]SELECT total_seats FROM table_19304764_2 WHERE discipline = "Otorhinolaryngology"</s>
CREATE TABLE table_name_44 (to_par VARCHAR, margin_of_victory VARCHAR)
SELECT to_par FROM table_name_44 WHERE margin_of_victory = "1 stroke"
What was the To par score for the tournament with a margin of victory of 1 stroke?
<s>[INST]What was the To par score for the tournament with a margin of victory of 1 stroke? Context: CREATE TABLE table_name_44 (to_par VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT to_par FROM table_name_44 WHERE margin_of_victory = "1 stroke"</s>
CREATE TABLE table_name_21 (weekly_schedule VARCHAR, timeslot VARCHAR)
SELECT weekly_schedule FROM table_name_21 WHERE timeslot = "16:45"
What days of the week is the show aired on that runs at 16:45?
<s>[INST]What days of the week is the show aired on that runs at 16:45? Context: CREATE TABLE table_name_21 (weekly_schedule VARCHAR, timeslot VARCHAR)[/INST]SELECT weekly_schedule FROM table_name_21 WHERE timeslot = "16:45"</s>
CREATE TABLE table_name_14 (apparent_magnitude VARCHAR, ngc_number VARCHAR)
SELECT apparent_magnitude FROM table_name_14 WHERE ngc_number = "6027d"
what is the apparent magnitude of NGC number 6027d?
<s>[INST]what is the apparent magnitude of NGC number 6027d? Context: CREATE TABLE table_name_14 (apparent_magnitude VARCHAR, ngc_number VARCHAR)[/INST]SELECT apparent_magnitude FROM table_name_14 WHERE ngc_number = "6027d"</s>
CREATE TABLE mill (Id VARCHAR); CREATE TABLE architect (name VARCHAR, nationality VARCHAR, id VARCHAR)
SELECT DISTINCT T1.name, T1.nationality FROM architect AS T1 JOIN mill AS t2 ON T1.id = T2.architect_id
What are the distinct names and nationalities of the architects who have ever built a mill?
<s>[INST]What are the distinct names and nationalities of the architects who have ever built a mill? Context: CREATE TABLE mill (Id VARCHAR); CREATE TABLE architect (name VARCHAR, nationality VARCHAR, id VARCHAR)[/INST]SELECT DISTINCT T1.name, T1.nationality FROM architect AS T1 JOIN mill AS t2 ON T1.id = T2.architect_id</s>
CREATE TABLE table_name_85 (played INTEGER, lost INTEGER)
SELECT MIN(played) FROM table_name_85 WHERE lost > 10
What is the lowest played with a lost bigger than 10?
<s>[INST]What is the lowest played with a lost bigger than 10? Context: CREATE TABLE table_name_85 (played INTEGER, lost INTEGER)[/INST]SELECT MIN(played) FROM table_name_85 WHERE lost > 10</s>
CREATE TABLE table_name_79 (population__2009_estimate_ VARCHAR, largest_city VARCHAR)
SELECT population__2009_estimate_ FROM table_name_79 WHERE largest_city = "manaus"
What is the 2009 estimate population of the region with Manaus as the largest city?
<s>[INST]What is the 2009 estimate population of the region with Manaus as the largest city? Context: CREATE TABLE table_name_79 (population__2009_estimate_ VARCHAR, largest_city VARCHAR)[/INST]SELECT population__2009_estimate_ FROM table_name_79 WHERE largest_city = "manaus"</s>
CREATE TABLE table_28794440_1 (location VARCHAR, callsign VARCHAR)
SELECT COUNT(location) FROM table_28794440_1 WHERE callsign = "DXGH"
How many locations have the callsign DXGH?
<s>[INST]How many locations have the callsign DXGH? Context: CREATE TABLE table_28794440_1 (location VARCHAR, callsign VARCHAR)[/INST]SELECT COUNT(location) FROM table_28794440_1 WHERE callsign = "DXGH"</s>
CREATE TABLE table_name_27 (attendance VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_27 WHERE opponent = "carolina panthers"
Which Attendance has an Opponent of carolina panthers?
<s>[INST]Which Attendance has an Opponent of carolina panthers? Context: CREATE TABLE table_name_27 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT attendance FROM table_name_27 WHERE opponent = "carolina panthers"</s>
CREATE TABLE table_1333612_1 (native_american VARCHAR, whites VARCHAR)
SELECT COUNT(native_american) FROM table_1333612_1 WHERE whites = "1.0%"
how many native american with whites being 1.0%
<s>[INST] how many native american with whites being 1.0% Context: CREATE TABLE table_1333612_1 (native_american VARCHAR, whites VARCHAR)[/INST]SELECT COUNT(native_american) FROM table_1333612_1 WHERE whites = "1.0%"</s>
CREATE TABLE table_name_23 (territory VARCHAR, channel VARCHAR, broadcaster VARCHAR)
SELECT territory FROM table_name_23 WHERE channel = 144 AND broadcaster = "astro"
Which territory has a channel of 144 and a broadcaster of Astro?
<s>[INST]Which territory has a channel of 144 and a broadcaster of Astro? Context: CREATE TABLE table_name_23 (territory VARCHAR, channel VARCHAR, broadcaster VARCHAR)[/INST]SELECT territory FROM table_name_23 WHERE channel = 144 AND broadcaster = "astro"</s>
CREATE TABLE table_name_79 (linkedin VARCHAR, site VARCHAR, myspace VARCHAR)
SELECT COUNT(linkedin) FROM table_name_79 WHERE site = "facebook" AND myspace < 64
How many linkedin have Facebook as the site, with a myspace less than 64?
<s>[INST]How many linkedin have Facebook as the site, with a myspace less than 64? Context: CREATE TABLE table_name_79 (linkedin VARCHAR, site VARCHAR, myspace VARCHAR)[/INST]SELECT COUNT(linkedin) FROM table_name_79 WHERE site = "facebook" AND myspace < 64</s>
CREATE TABLE table_name_21 (liberal_ticket VARCHAR, free_libertarian_ticket VARCHAR)
SELECT liberal_ticket FROM table_name_21 WHERE free_libertarian_ticket = "jack a. martin"
The Liberal Ticket listed which candidate when Jack A. Martin was listed on the Free Libertarian Ticket?
<s>[INST]The Liberal Ticket listed which candidate when Jack A. Martin was listed on the Free Libertarian Ticket? Context: CREATE TABLE table_name_21 (liberal_ticket VARCHAR, free_libertarian_ticket VARCHAR)[/INST]SELECT liberal_ticket FROM table_name_21 WHERE free_libertarian_ticket = "jack a. martin"</s>
CREATE TABLE table_14070062_4 (points VARCHAR, try_bonus VARCHAR)
SELECT points FROM table_14070062_4 WHERE try_bonus = "6"
what was the score when the extras were 6
<s>[INST]what was the score when the extras were 6 Context: CREATE TABLE table_14070062_4 (points VARCHAR, try_bonus VARCHAR)[/INST]SELECT points FROM table_14070062_4 WHERE try_bonus = "6"</s>
CREATE TABLE table_22737506_1 (poles INTEGER, pos VARCHAR)
SELECT MAX(poles) FROM table_22737506_1 WHERE pos = "19th"
When 19th is the position what is the highest amount of poles?
<s>[INST]When 19th is the position what is the highest amount of poles? Context: CREATE TABLE table_22737506_1 (poles INTEGER, pos VARCHAR)[/INST]SELECT MAX(poles) FROM table_22737506_1 WHERE pos = "19th"</s>
CREATE TABLE table_name_21 (driver VARCHAR, tyre VARCHAR, entrant VARCHAR)
SELECT driver FROM table_name_21 WHERE tyre = "p" AND entrant = "officine alfieri maserati"
Who was the driver of the Officine Alfieri Maserati with a Tyre of P?
<s>[INST]Who was the driver of the Officine Alfieri Maserati with a Tyre of P? Context: CREATE TABLE table_name_21 (driver VARCHAR, tyre VARCHAR, entrant VARCHAR)[/INST]SELECT driver FROM table_name_21 WHERE tyre = "p" AND entrant = "officine alfieri maserati"</s>
CREATE TABLE table_17088705_2 (swimsuit VARCHAR, preliminary VARCHAR)
SELECT swimsuit FROM table_17088705_2 WHERE preliminary = "8.847"
Give swimsuit scores of participants 8.847 in preliminary
<s>[INST]Give swimsuit scores of participants 8.847 in preliminary Context: CREATE TABLE table_17088705_2 (swimsuit VARCHAR, preliminary VARCHAR)[/INST]SELECT swimsuit FROM table_17088705_2 WHERE preliminary = "8.847"</s>
CREATE TABLE table_name_24 (frequency_mhz INTEGER, call_sign VARCHAR)
SELECT MIN(frequency_mhz) FROM table_name_24 WHERE call_sign = "k202ag"
Name the least frequency Mhz with call sign of k202ag
<s>[INST]Name the least frequency Mhz with call sign of k202ag Context: CREATE TABLE table_name_24 (frequency_mhz INTEGER, call_sign VARCHAR)[/INST]SELECT MIN(frequency_mhz) FROM table_name_24 WHERE call_sign = "k202ag"</s>
CREATE TABLE table_name_99 (tourism_receipts__2011___us INTEGER, tourism_receipts__2003___as__percentage_of_gdp_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR)
SELECT MAX(tourism_receipts__2011___us) AS $_per_capita_ FROM table_name_99 WHERE tourism_receipts__2003___as__percentage_of_gdp_ = "19.4" AND tourism_receipts__2011___us$_per_arrival_ < 655
What is the highest number of tourism receipts in 2011 US $ per capita with 19.4 % of GDP in 2003 tourism receipts and less than 655 US $ per arrival in 2011 tourism receipts?
<s>[INST]What is the highest number of tourism receipts in 2011 US $ per capita with 19.4 % of GDP in 2003 tourism receipts and less than 655 US $ per arrival in 2011 tourism receipts? Context: CREATE TABLE table_name_99 (tourism_receipts__2011___us INTEGER, tourism_receipts__2003___as__percentage_of_gdp_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR)[/INST]SELECT MAX(tourism_receipts__2011___us) AS $_per_capita_ FROM table_name_99 WHERE tourism_receipts__2003___as__percentage_of_gdp_ = "19.4" AND tourism_receipts__2011___us$_per_arrival_ < 655</s>
CREATE TABLE table_name_78 (institution VARCHAR, location VARCHAR)
SELECT institution FROM table_name_78 WHERE location = "akron, oh"
what is the institution at akron, oh?
<s>[INST]what is the institution at akron, oh? Context: CREATE TABLE table_name_78 (institution VARCHAR, location VARCHAR)[/INST]SELECT institution FROM table_name_78 WHERE location = "akron, oh"</s>
CREATE TABLE table_name_32 (location VARCHAR, annual_change VARCHAR)
SELECT location FROM table_name_32 WHERE annual_change = "7.6%"
What location has an annual change of 7.6%
<s>[INST]What location has an annual change of 7.6% Context: CREATE TABLE table_name_32 (location VARCHAR, annual_change VARCHAR)[/INST]SELECT location FROM table_name_32 WHERE annual_change = "7.6%"</s>
CREATE TABLE table_name_68 (competition VARCHAR, final_position___round VARCHAR)
SELECT competition FROM table_name_68 WHERE final_position___round = "2"
Which competition had a final position/round of 2?
<s>[INST]Which competition had a final position/round of 2? Context: CREATE TABLE table_name_68 (competition VARCHAR, final_position___round VARCHAR)[/INST]SELECT competition FROM table_name_68 WHERE final_position___round = "2"</s>
CREATE TABLE table_name_36 (video VARCHAR, psip_short_name VARCHAR)
SELECT video FROM table_name_36 WHERE psip_short_name = "kstcdt2"
What is the video associated with a short name of KSTCDT2?
<s>[INST]What is the video associated with a short name of KSTCDT2? Context: CREATE TABLE table_name_36 (video VARCHAR, psip_short_name VARCHAR)[/INST]SELECT video FROM table_name_36 WHERE psip_short_name = "kstcdt2"</s>
CREATE TABLE table_name_95 (title VARCHAR, result VARCHAR, director VARCHAR, survey VARCHAR, year VARCHAR)
SELECT title FROM table_name_95 WHERE survey = "murex d'or" AND year > 2005 AND director = "said elmarouk" AND result = "nominated"
What is the title for the Murex D'or survey, after 2005, Said Elmarouk as director, and was nominated?
<s>[INST]What is the title for the Murex D'or survey, after 2005, Said Elmarouk as director, and was nominated? Context: CREATE TABLE table_name_95 (title VARCHAR, result VARCHAR, director VARCHAR, survey VARCHAR, year VARCHAR)[/INST]SELECT title FROM table_name_95 WHERE survey = "murex d'or" AND year > 2005 AND director = "said elmarouk" AND result = "nominated"</s>
CREATE TABLE table_name_11 (game INTEGER, march VARCHAR, opponent VARCHAR)
SELECT MIN(game) FROM table_name_11 WHERE march > 2 AND opponent = "minnesota north stars"
What is the lowest game number of the game after March 2 with the minnesota north stars as the opponent?
<s>[INST]What is the lowest game number of the game after March 2 with the minnesota north stars as the opponent? Context: CREATE TABLE table_name_11 (game INTEGER, march VARCHAR, opponent VARCHAR)[/INST]SELECT MIN(game) FROM table_name_11 WHERE march > 2 AND opponent = "minnesota north stars"</s>
CREATE TABLE table_name_31 (chassis VARCHAR, year INTEGER)
SELECT chassis FROM table_name_31 WHERE year > 1989
What Chassis has a year later than 1989?
<s>[INST]What Chassis has a year later than 1989? Context: CREATE TABLE table_name_31 (chassis VARCHAR, year INTEGER)[/INST]SELECT chassis FROM table_name_31 WHERE year > 1989</s>
CREATE TABLE table_name_48 (isbn VARCHAR, year VARCHAR)
SELECT isbn FROM table_name_48 WHERE year = 1999
What is the ISBN in 1999?
<s>[INST]What is the ISBN in 1999? Context: CREATE TABLE table_name_48 (isbn VARCHAR, year VARCHAR)[/INST]SELECT isbn FROM table_name_48 WHERE year = 1999</s>
CREATE TABLE table_name_24 (label VARCHAR, format VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_24 WHERE format = "stereo lp" AND catalog = "scyl-934,623"
What label uses the stereo LP for catalog scyl-934,623?
<s>[INST]What label uses the stereo LP for catalog scyl-934,623? Context: CREATE TABLE table_name_24 (label VARCHAR, format VARCHAR, catalog VARCHAR)[/INST]SELECT label FROM table_name_24 WHERE format = "stereo lp" AND catalog = "scyl-934,623"</s>
CREATE TABLE table_2840500_8 (nationality VARCHAR, player VARCHAR)
SELECT COUNT(nationality) FROM table_2840500_8 WHERE player = "Ryan Mckie"
Name the number of nationalities for ryan mckie
<s>[INST]Name the number of nationalities for ryan mckie Context: CREATE TABLE table_2840500_8 (nationality VARCHAR, player VARCHAR)[/INST]SELECT COUNT(nationality) FROM table_2840500_8 WHERE player = "Ryan Mckie"</s>
CREATE TABLE table_13557843_3 (score VARCHAR, record VARCHAR)
SELECT score FROM table_13557843_3 WHERE record = "1-2"
What was the score of the game when the team was 1-2?
<s>[INST]What was the score of the game when the team was 1-2? Context: CREATE TABLE table_13557843_3 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_13557843_3 WHERE record = "1-2"</s>
CREATE TABLE table_name_69 (year VARCHAR, start VARCHAR, qual VARCHAR)
SELECT year FROM table_name_69 WHERE start = "25" AND qual = "141.105"
In what year did a Qual of 141.105 with a Start of 25 happen?
<s>[INST]In what year did a Qual of 141.105 with a Start of 25 happen? Context: CREATE TABLE table_name_69 (year VARCHAR, start VARCHAR, qual VARCHAR)[/INST]SELECT year FROM table_name_69 WHERE start = "25" AND qual = "141.105"</s>
CREATE TABLE table_name_80 (dolphins_points VARCHAR, attendance VARCHAR)
SELECT COUNT(dolphins_points) FROM table_name_80 WHERE attendance = 52 OFFSET 860
What'd the total Dolphin points when there was an attendance of 52,860?
<s>[INST]What'd the total Dolphin points when there was an attendance of 52,860? Context: CREATE TABLE table_name_80 (dolphins_points VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(dolphins_points) FROM table_name_80 WHERE attendance = 52 OFFSET 860</s>
CREATE TABLE table_name_38 (gold VARCHAR, rank VARCHAR)
SELECT gold FROM table_name_38 WHERE rank = "7"
What is Gold, when Rank is 7?
<s>[INST]What is Gold, when Rank is 7? Context: CREATE TABLE table_name_38 (gold VARCHAR, rank VARCHAR)[/INST]SELECT gold FROM table_name_38 WHERE rank = "7"</s>
CREATE TABLE table_name_10 (to_par VARCHAR, total VARCHAR)
SELECT to_par FROM table_name_10 WHERE total = 291
What is the To par when there was a total of 291?
<s>[INST]What is the To par when there was a total of 291? Context: CREATE TABLE table_name_10 (to_par VARCHAR, total VARCHAR)[/INST]SELECT to_par FROM table_name_10 WHERE total = 291</s>
CREATE TABLE table_name_40 (application_sharing VARCHAR, web_conferencing VARCHAR)
SELECT application_sharing FROM table_name_40 WHERE web_conferencing = "web conferencing"
What is Application Sharing, when Web Conferencing is "Web Conferencing"?
<s>[INST]What is Application Sharing, when Web Conferencing is "Web Conferencing"? Context: CREATE TABLE table_name_40 (application_sharing VARCHAR, web_conferencing VARCHAR)[/INST]SELECT application_sharing FROM table_name_40 WHERE web_conferencing = "web conferencing"</s>
CREATE TABLE table_name_81 (owner VARCHAR, format VARCHAR)
SELECT owner FROM table_name_81 WHERE format = "classical"
Tell me the owner for classical
<s>[INST]Tell me the owner for classical Context: CREATE TABLE table_name_81 (owner VARCHAR, format VARCHAR)[/INST]SELECT owner FROM table_name_81 WHERE format = "classical"</s>
CREATE TABLE SECTION (course_id VARCHAR, semester VARCHAR, YEAR VARCHAR)
SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 EXCEPT SELECT course_id FROM SECTION WHERE semester = 'Spring' AND YEAR = 2010
Find courses that ran in Fall 2009 but not in Spring 2010.
<s>[INST]Find courses that ran in Fall 2009 but not in Spring 2010. Context: CREATE TABLE SECTION (course_id VARCHAR, semester VARCHAR, YEAR VARCHAR)[/INST]SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 EXCEPT SELECT course_id FROM SECTION WHERE semester = 'Spring' AND YEAR = 2010</s>
CREATE TABLE table_15187735_4 (episode INTEGER, netflix VARCHAR)
SELECT MIN(episode) FROM table_15187735_4 WHERE netflix = "S02E20"
What is the first episode with a netflix episode code of s02e20?
<s>[INST]What is the first episode with a netflix episode code of s02e20? Context: CREATE TABLE table_15187735_4 (episode INTEGER, netflix VARCHAR)[/INST]SELECT MIN(episode) FROM table_15187735_4 WHERE netflix = "S02E20"</s>
CREATE TABLE table_name_13 (crowd INTEGER, venue VARCHAR)
SELECT MIN(crowd) FROM table_name_13 WHERE venue = "corio oval"
What was the smallest crowd in games at the corio oval?
<s>[INST]What was the smallest crowd in games at the corio oval? Context: CREATE TABLE table_name_13 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_13 WHERE venue = "corio oval"</s>
CREATE TABLE table_name_98 (points_2 INTEGER, goals_for VARCHAR, team VARCHAR)
SELECT SUM(points_2) FROM table_name_98 WHERE goals_for > 52 AND team = "altrincham"
What is the sum of Altrincham's Points 2 when they had more than 52 Goals For?
<s>[INST]What is the sum of Altrincham's Points 2 when they had more than 52 Goals For? Context: CREATE TABLE table_name_98 (points_2 INTEGER, goals_for VARCHAR, team VARCHAR)[/INST]SELECT SUM(points_2) FROM table_name_98 WHERE goals_for > 52 AND team = "altrincham"</s>
CREATE TABLE table_name_26 (age_groups VARCHAR, competition_name VARCHAR)
SELECT age_groups FROM table_name_26 WHERE competition_name = "big league world series"
What are the age groups for the Big League World Series?
<s>[INST]What are the age groups for the Big League World Series? Context: CREATE TABLE table_name_26 (age_groups VARCHAR, competition_name VARCHAR)[/INST]SELECT age_groups FROM table_name_26 WHERE competition_name = "big league world series"</s>
CREATE TABLE table_name_11 (points_classification_navy_blue_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, team_classification VARCHAR)
SELECT points_classification_navy_blue_jersey FROM table_name_11 WHERE mountains_classification_green_jersey = "yoann le boulanger" AND team_classification = "gerolsteiner"
What is the Points Classification Navy Blue Jersey that has Yoann le Boulanger, and Gerolsteiner?
<s>[INST]What is the Points Classification Navy Blue Jersey that has Yoann le Boulanger, and Gerolsteiner? Context: CREATE TABLE table_name_11 (points_classification_navy_blue_jersey VARCHAR, mountains_classification_green_jersey VARCHAR, team_classification VARCHAR)[/INST]SELECT points_classification_navy_blue_jersey FROM table_name_11 WHERE mountains_classification_green_jersey = "yoann le boulanger" AND team_classification = "gerolsteiner"</s>
CREATE TABLE table_19523142_5 (group_7 VARCHAR, group_12 VARCHAR)
SELECT COUNT(group_7) FROM table_19523142_5 WHERE group_12 = "Nusa Ina"
Nusa Ina only played once while group 7 played.
<s>[INST]Nusa Ina only played once while group 7 played. Context: CREATE TABLE table_19523142_5 (group_7 VARCHAR, group_12 VARCHAR)[/INST]SELECT COUNT(group_7) FROM table_19523142_5 WHERE group_12 = "Nusa Ina"</s>
CREATE TABLE table_17200372_2 (departure VARCHAR, going_to VARCHAR)
SELECT departure FROM table_17200372_2 WHERE going_to = "Spalding"
Name the departure for spalding
<s>[INST]Name the departure for spalding Context: CREATE TABLE table_17200372_2 (departure VARCHAR, going_to VARCHAR)[/INST]SELECT departure FROM table_17200372_2 WHERE going_to = "Spalding"</s>
CREATE TABLE table_19643196_1 (fleet__number VARCHAR, transmission VARCHAR, engine VARCHAR)
SELECT fleet__number FROM table_19643196_1 WHERE transmission = "Voith D863.4" AND engine = "Cummins ISL"
What is the fleet number when the transmission is Voith D863.4 and the engine is Cummins ISL?
<s>[INST]What is the fleet number when the transmission is Voith D863.4 and the engine is Cummins ISL? Context: CREATE TABLE table_19643196_1 (fleet__number VARCHAR, transmission VARCHAR, engine VARCHAR)[/INST]SELECT fleet__number FROM table_19643196_1 WHERE transmission = "Voith D863.4" AND engine = "Cummins ISL"</s>
CREATE TABLE table_name_28 (top_25 INTEGER, events VARCHAR, wins VARCHAR)
SELECT MAX(top_25) FROM table_name_28 WHERE events > 2 AND wins < 0
What is his highest number of top 25s when eh played over 2 events and under 0 wins?
<s>[INST]What is his highest number of top 25s when eh played over 2 events and under 0 wins? Context: CREATE TABLE table_name_28 (top_25 INTEGER, events VARCHAR, wins VARCHAR)[/INST]SELECT MAX(top_25) FROM table_name_28 WHERE events > 2 AND wins < 0</s>
CREATE TABLE table_214920_1 (land_area VARCHAR, density__pop_per_km2_ VARCHAR)
SELECT land_area FROM table_214920_1 WHERE density__pop_per_km2_ = "21.1"
What is the land area of the RCM having a density of 21.1?
<s>[INST]What is the land area of the RCM having a density of 21.1? Context: CREATE TABLE table_214920_1 (land_area VARCHAR, density__pop_per_km2_ VARCHAR)[/INST]SELECT land_area FROM table_214920_1 WHERE density__pop_per_km2_ = "21.1"</s>
CREATE TABLE table_1199219_2 (successor VARCHAR, district VARCHAR)
SELECT COUNT(successor) FROM table_1199219_2 WHERE district = "New York 20th"
How many successors were seated in the New York 20th district?
<s>[INST]How many successors were seated in the New York 20th district? Context: CREATE TABLE table_1199219_2 (successor VARCHAR, district VARCHAR)[/INST]SELECT COUNT(successor) FROM table_1199219_2 WHERE district = "New York 20th"</s>
CREATE TABLE table_name_42 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_42 WHERE date = "february 2"
What was the record on February 2?
<s>[INST]What was the record on February 2? Context: CREATE TABLE table_name_42 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_42 WHERE date = "february 2"</s>
CREATE TABLE table_17323042_8 (date VARCHAR, team VARCHAR)
SELECT date FROM table_17323042_8 WHERE team = "Miami"
When did they play Miami?
<s>[INST]When did they play Miami? Context: CREATE TABLE table_17323042_8 (date VARCHAR, team VARCHAR)[/INST]SELECT date FROM table_17323042_8 WHERE team = "Miami"</s>
CREATE TABLE table_24565004_7 (nationality² VARCHAR, goals¹ VARCHAR)
SELECT nationality² FROM table_24565004_7 WHERE goals¹ = 13
What is the nationality of the player who scored 13 goals
<s>[INST]What is the nationality of the player who scored 13 goals Context: CREATE TABLE table_24565004_7 (nationality² VARCHAR, goals¹ VARCHAR)[/INST]SELECT nationality² FROM table_24565004_7 WHERE goals¹ = 13</s>
CREATE TABLE table_name_20 (date VARCHAR, sample_size VARCHAR, republican VARCHAR)
SELECT date FROM table_name_20 WHERE sample_size < 472 AND republican = "ron paul"
What was the date for Ron Paul as republican and a sample sized less than 472?
<s>[INST]What was the date for Ron Paul as republican and a sample sized less than 472? Context: CREATE TABLE table_name_20 (date VARCHAR, sample_size VARCHAR, republican VARCHAR)[/INST]SELECT date FROM table_name_20 WHERE sample_size < 472 AND republican = "ron paul"</s>
CREATE TABLE table_name_88 (date VARCHAR, format VARCHAR)
SELECT date FROM table_name_88 WHERE format = "cd/dvd"
Tell me the date for format of cd/dvd
<s>[INST]Tell me the date for format of cd/dvd Context: CREATE TABLE table_name_88 (date VARCHAR, format VARCHAR)[/INST]SELECT date FROM table_name_88 WHERE format = "cd/dvd"</s>
CREATE TABLE table_27631002_1 (wins VARCHAR, position VARCHAR)
SELECT wins FROM table_27631002_1 WHERE position = "7th"
What are the wins for the 7th position?
<s>[INST]What are the wins for the 7th position? Context: CREATE TABLE table_27631002_1 (wins VARCHAR, position VARCHAR)[/INST]SELECT wins FROM table_27631002_1 WHERE position = "7th"</s>
CREATE TABLE table_name_76 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_76 WHERE date = "june 12, 1997"
What's the Result listed that has a Date of June 12, 1997?
<s>[INST]What's the Result listed that has a Date of June 12, 1997? Context: CREATE TABLE table_name_76 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_76 WHERE date = "june 12, 1997"</s>
CREATE TABLE table_19229713_4 (_number INTEGER, us_viewers__million_ VARCHAR)
SELECT MAX(_number) FROM table_19229713_4 WHERE us_viewers__million_ = "1.87"
Name the number for viewers being 1.87
<s>[INST]Name the number for viewers being 1.87 Context: CREATE TABLE table_19229713_4 (_number INTEGER, us_viewers__million_ VARCHAR)[/INST]SELECT MAX(_number) FROM table_19229713_4 WHERE us_viewers__million_ = "1.87"</s>
CREATE TABLE table_name_69 (hanzi VARCHAR, launch VARCHAR, name VARCHAR)
SELECT hanzi FROM table_name_69 WHERE launch = "1996" AND name = "phoenix television chinese"
What is the Hanzi of Phoenix Television Chinese that launched in 1996?
<s>[INST]What is the Hanzi of Phoenix Television Chinese that launched in 1996? Context: CREATE TABLE table_name_69 (hanzi VARCHAR, launch VARCHAR, name VARCHAR)[/INST]SELECT hanzi FROM table_name_69 WHERE launch = "1996" AND name = "phoenix television chinese"</s>
CREATE TABLE table_name_83 (game_site VARCHAR, opponent VARCHAR)
SELECT game_site FROM table_name_83 WHERE opponent = "san diego chargers"
What is the game site of the game with the san diego chargers as the opponent?
<s>[INST]What is the game site of the game with the san diego chargers as the opponent? Context: CREATE TABLE table_name_83 (game_site VARCHAR, opponent VARCHAR)[/INST]SELECT game_site FROM table_name_83 WHERE opponent = "san diego chargers"</s>
CREATE TABLE table_name_89 (finish VARCHAR, year VARCHAR)
SELECT finish FROM table_name_89 WHERE year = "1939"
In 1939, what was the finish?
<s>[INST]In 1939, what was the finish? Context: CREATE TABLE table_name_89 (finish VARCHAR, year VARCHAR)[/INST]SELECT finish FROM table_name_89 WHERE year = "1939"</s>
CREATE TABLE table_name_56 (attendance INTEGER, game_site VARCHAR)
SELECT MIN(attendance) FROM table_name_56 WHERE game_site = "riverfront stadium"
What's the Lowest Attendance with a Game site of Riverfront Stadium?
<s>[INST]What's the Lowest Attendance with a Game site of Riverfront Stadium? Context: CREATE TABLE table_name_56 (attendance INTEGER, game_site VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_56 WHERE game_site = "riverfront stadium"</s>
CREATE TABLE table_11961582_10 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_11961582_10 WHERE date = "April 23"
Who had the high rebounds for the game on april 23?
<s>[INST]Who had the high rebounds for the game on april 23? Context: CREATE TABLE table_11961582_10 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_11961582_10 WHERE date = "April 23"</s>
CREATE TABLE table_name_63 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_63 WHERE home_team = "melbourne"
What was the home score for the Home team Melbourne?
<s>[INST]What was the home score for the Home team Melbourne? Context: CREATE TABLE table_name_63 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_63 WHERE home_team = "melbourne"</s>
CREATE TABLE table_25548630_1 (podiums INTEGER)
SELECT MIN(podiums) FROM table_25548630_1
What is the least amount of podiums?
<s>[INST]What is the least amount of podiums? Context: CREATE TABLE table_25548630_1 (podiums INTEGER)[/INST]SELECT MIN(podiums) FROM table_25548630_1</s>
CREATE TABLE table_name_72 (county VARCHAR, name VARCHAR)
SELECT county FROM table_name_72 WHERE name = "howard street tunnel"
What is the County of Howard Street Tunnel?
<s>[INST]What is the County of Howard Street Tunnel? Context: CREATE TABLE table_name_72 (county VARCHAR, name VARCHAR)[/INST]SELECT county FROM table_name_72 WHERE name = "howard street tunnel"</s>
CREATE TABLE table_name_21 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_21 WHERE week = "vegas verdicts"
For Vegas Verdicts week, what was the result?
<s>[INST]For Vegas Verdicts week, what was the result? Context: CREATE TABLE table_name_21 (result VARCHAR, week VARCHAR)[/INST]SELECT result FROM table_name_21 WHERE week = "vegas verdicts"</s>
CREATE TABLE table_name_45 (system VARCHAR, name VARCHAR)
SELECT system FROM table_name_45 WHERE name = "gemulator"
Which System's Name is Gemulator?
<s>[INST]Which System's Name is Gemulator? Context: CREATE TABLE table_name_45 (system VARCHAR, name VARCHAR)[/INST]SELECT system FROM table_name_45 WHERE name = "gemulator"</s>
CREATE TABLE table_name_57 (tied VARCHAR, span VARCHAR, win__percentage VARCHAR)
SELECT COUNT(tied) FROM table_name_57 WHERE span = "2011–2013" AND win__percentage < 80
How many games were Tied during the Span of 2011–2013 with a less than 80% Win %?
<s>[INST]How many games were Tied during the Span of 2011–2013 with a less than 80% Win %? Context: CREATE TABLE table_name_57 (tied VARCHAR, span VARCHAR, win__percentage VARCHAR)[/INST]SELECT COUNT(tied) FROM table_name_57 WHERE span = "2011–2013" AND win__percentage < 80</s>
CREATE TABLE table_name_12 (opponent VARCHAR, october VARCHAR, game VARCHAR)
SELECT opponent FROM table_name_12 WHERE october < 31 AND game > 7
What is Opponent, when October is less than 31, and when Game is greater than 7?
<s>[INST]What is Opponent, when October is less than 31, and when Game is greater than 7? Context: CREATE TABLE table_name_12 (opponent VARCHAR, october VARCHAR, game VARCHAR)[/INST]SELECT opponent FROM table_name_12 WHERE october < 31 AND game > 7</s>
CREATE TABLE table_name_32 (name VARCHAR, heat VARCHAR, lane VARCHAR)
SELECT name FROM table_name_32 WHERE heat = 7 AND lane = 5
Who was in Lane 5 and had a heat of 7?
<s>[INST]Who was in Lane 5 and had a heat of 7? Context: CREATE TABLE table_name_32 (name VARCHAR, heat VARCHAR, lane VARCHAR)[/INST]SELECT name FROM table_name_32 WHERE heat = 7 AND lane = 5</s>
CREATE TABLE table_name_11 (rank INTEGER, earnings___$__ INTEGER)
SELECT MIN(rank) FROM table_name_11 WHERE earnings___$__ < 71 OFFSET 979
What is the lowest rank for a player earning $71,979?
<s>[INST]What is the lowest rank for a player earning $71,979? Context: CREATE TABLE table_name_11 (rank INTEGER, earnings___$__ INTEGER)[/INST]SELECT MIN(rank) FROM table_name_11 WHERE earnings___$__ < 71 OFFSET 979</s>
CREATE TABLE table_name_8 (player VARCHAR, pick__number VARCHAR)
SELECT player FROM table_name_8 WHERE pick__number = "15"
What is the name of the player that was Pick 15?
<s>[INST]What is the name of the player that was Pick 15? Context: CREATE TABLE table_name_8 (player VARCHAR, pick__number VARCHAR)[/INST]SELECT player FROM table_name_8 WHERE pick__number = "15"</s>
CREATE TABLE table_name_45 (Leading VARCHAR, score VARCHAR)
SELECT Leading AS scorer FROM table_name_45 WHERE score = "68-79"
Leading scorer during the game of 68-79?
<s>[INST]Leading scorer during the game of 68-79? Context: CREATE TABLE table_name_45 (Leading VARCHAR, score VARCHAR)[/INST]SELECT Leading AS scorer FROM table_name_45 WHERE score = "68-79"</s>
CREATE TABLE table_15926991_1 (winner_2nd VARCHAR, time VARCHAR)
SELECT winner_2nd FROM table_15926991_1 WHERE time = "1:35.98"
Which horse won with a time of 1:35.98 and what was their position?
<s>[INST]Which horse won with a time of 1:35.98 and what was their position? Context: CREATE TABLE table_15926991_1 (winner_2nd VARCHAR, time VARCHAR)[/INST]SELECT winner_2nd FROM table_15926991_1 WHERE time = "1:35.98"</s>
CREATE TABLE table_name_37 (assets__usd__millions INTEGER, bank VARCHAR, number_of_branches VARCHAR)
SELECT MAX(assets__usd__millions) FROM table_name_37 WHERE bank = "equity bank" AND number_of_branches < 44
What is the highest Assets (USD) Millions from Equity Bank and less than 44 branches?
<s>[INST]What is the highest Assets (USD) Millions from Equity Bank and less than 44 branches? Context: CREATE TABLE table_name_37 (assets__usd__millions INTEGER, bank VARCHAR, number_of_branches VARCHAR)[/INST]SELECT MAX(assets__usd__millions) FROM table_name_37 WHERE bank = "equity bank" AND number_of_branches < 44</s>
CREATE TABLE table_name_23 (home___away VARCHAR, record VARCHAR)
SELECT home___away FROM table_name_23 WHERE record = "6-12"
Was the game home or away when the record is 6-12?
<s>[INST]Was the game home or away when the record is 6-12? Context: CREATE TABLE table_name_23 (home___away VARCHAR, record VARCHAR)[/INST]SELECT home___away FROM table_name_23 WHERE record = "6-12"</s>
CREATE TABLE table_name_51 (county VARCHAR, precincts VARCHAR)
SELECT county FROM table_name_51 WHERE precincts = "90/90"
Which County has Precincts of 90/90?
<s>[INST]Which County has Precincts of 90/90? Context: CREATE TABLE table_name_51 (county VARCHAR, precincts VARCHAR)[/INST]SELECT county FROM table_name_51 WHERE precincts = "90/90"</s>
CREATE TABLE table_name_98 (points INTEGER, position VARCHAR, lost VARCHAR)
SELECT AVG(points) FROM table_name_98 WHERE position > 6 AND lost < 13
Which Points have a Position larger than 6, and a Lost smaller than 13?
<s>[INST]Which Points have a Position larger than 6, and a Lost smaller than 13? Context: CREATE TABLE table_name_98 (points INTEGER, position VARCHAR, lost VARCHAR)[/INST]SELECT AVG(points) FROM table_name_98 WHERE position > 6 AND lost < 13</s>
CREATE TABLE COUNTRIES (CountryId VARCHAR, CountryName VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR)
SELECT COUNT(*) FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country = T2.CountryId WHERE T2.CountryName = 'france'
How many car makers are there in france?
<s>[INST]How many car makers are there in france? Context: CREATE TABLE COUNTRIES (CountryId VARCHAR, CountryName VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR)[/INST]SELECT COUNT(*) FROM CAR_MAKERS AS T1 JOIN COUNTRIES AS T2 ON T1.Country = T2.CountryId WHERE T2.CountryName = 'france'</s>
CREATE TABLE TOURIST_ATTRACTIONS (Name VARCHAR, Tourist_Attraction_ID VARCHAR); CREATE TABLE PHOTOS (Tourist_Attraction_ID VARCHAR, Name VARCHAR)
SELECT T2.Name FROM PHOTOS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T1.Name = "game1"
What is the name of the tourist attraction that is associated with the photo "game1"?
<s>[INST]What is the name of the tourist attraction that is associated with the photo "game1"? Context: CREATE TABLE TOURIST_ATTRACTIONS (Name VARCHAR, Tourist_Attraction_ID VARCHAR); CREATE TABLE PHOTOS (Tourist_Attraction_ID VARCHAR, Name VARCHAR)[/INST]SELECT T2.Name FROM PHOTOS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T1.Name = "game1"</s>
CREATE TABLE Student (Fname VARCHAR, Major VARCHAR)
SELECT Fname FROM Student WHERE Major = 600
Show first name for all students with major 600.
<s>[INST]Show first name for all students with major 600. Context: CREATE TABLE Student (Fname VARCHAR, Major VARCHAR)[/INST]SELECT Fname FROM Student WHERE Major = 600</s>
CREATE TABLE table_name_93 (unanimous VARCHAR, school VARCHAR)
SELECT unanimous FROM table_name_93 WHERE school = "minnesota southern california"
What is the Unanimous of the Minnesota Southern California School?
<s>[INST]What is the Unanimous of the Minnesota Southern California School? Context: CREATE TABLE table_name_93 (unanimous VARCHAR, school VARCHAR)[/INST]SELECT unanimous FROM table_name_93 WHERE school = "minnesota southern california"</s>
CREATE TABLE loan (branch_id VARCHAR, amount INTEGER); CREATE TABLE bank (bname VARCHAR, branch_id VARCHAR)
SELECT T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id = T2.branch_id GROUP BY T1.bname ORDER BY SUM(T2.amount) DESC LIMIT 1
Find the name of bank branch that provided the greatest total amount of loans.
<s>[INST]Find the name of bank branch that provided the greatest total amount of loans. Context: CREATE TABLE loan (branch_id VARCHAR, amount INTEGER); CREATE TABLE bank (bname VARCHAR, branch_id VARCHAR)[/INST]SELECT T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id = T2.branch_id GROUP BY T1.bname ORDER BY SUM(T2.amount) DESC LIMIT 1</s>
CREATE TABLE table_name_19 (venue VARCHAR, state VARCHAR)
SELECT venue FROM table_name_19 WHERE state = "colorado"
What Venue is in Colorado?
<s>[INST]What Venue is in Colorado? Context: CREATE TABLE table_name_19 (venue VARCHAR, state VARCHAR)[/INST]SELECT venue FROM table_name_19 WHERE state = "colorado"</s>
CREATE TABLE table_name_84 (attendance VARCHAR, away_team VARCHAR)
SELECT attendance FROM table_name_84 WHERE away_team = "boreham wood"
what was the attendance when the away team was boreham wood?
<s>[INST]what was the attendance when the away team was boreham wood? Context: CREATE TABLE table_name_84 (attendance VARCHAR, away_team VARCHAR)[/INST]SELECT attendance FROM table_name_84 WHERE away_team = "boreham wood"</s>
CREATE TABLE table_name_21 (evening_gown INTEGER, swimsuit VARCHAR, interview VARCHAR)
SELECT AVG(evening_gown) FROM table_name_21 WHERE swimsuit < 7.99 AND interview > 7.98
WHich Evening Gown has a Swimsuit smaller than 7.99 and a Interview larger than 7.98?
<s>[INST]WHich Evening Gown has a Swimsuit smaller than 7.99 and a Interview larger than 7.98? Context: CREATE TABLE table_name_21 (evening_gown INTEGER, swimsuit VARCHAR, interview VARCHAR)[/INST]SELECT AVG(evening_gown) FROM table_name_21 WHERE swimsuit < 7.99 AND interview > 7.98</s>
CREATE TABLE table_name_8 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_8 WHERE date = "jan 29, 2012"
What tournament was on Jan 29, 2012?
<s>[INST]What tournament was on Jan 29, 2012? Context: CREATE TABLE table_name_8 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_8 WHERE date = "jan 29, 2012"</s>
CREATE TABLE table_26842217_12 (result VARCHAR, visiting_team VARCHAR)
SELECT result FROM table_26842217_12 WHERE visiting_team = "Louisiana-Monroe"
What was the result in the game where the visiting team was Louisiana-Monroe?
<s>[INST]What was the result in the game where the visiting team was Louisiana-Monroe? Context: CREATE TABLE table_26842217_12 (result VARCHAR, visiting_team VARCHAR)[/INST]SELECT result FROM table_26842217_12 WHERE visiting_team = "Louisiana-Monroe"</s>
CREATE TABLE table_name_73 (rank INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT AVG(rank) FROM table_name_73 WHERE bronze > 0 AND gold > 1 AND nation = "japan" AND silver < 0
What is the rank when bronze was more than 0, gold more than 1, Nation is japan, and silver less than 0?
<s>[INST]What is the rank when bronze was more than 0, gold more than 1, Nation is japan, and silver less than 0? Context: CREATE TABLE table_name_73 (rank INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, gold VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_73 WHERE bronze > 0 AND gold > 1 AND nation = "japan" AND silver < 0</s>
CREATE TABLE table_name_87 (affiliation VARCHAR, player VARCHAR)
SELECT affiliation FROM table_name_87 WHERE player = "diego walsh"
Tell me the affiliation for diego walsh
<s>[INST]Tell me the affiliation for diego walsh Context: CREATE TABLE table_name_87 (affiliation VARCHAR, player VARCHAR)[/INST]SELECT affiliation FROM table_name_87 WHERE player = "diego walsh"</s>
CREATE TABLE table_name_90 (year INTEGER, binibining_pilipinas_international VARCHAR)
SELECT MIN(year) FROM table_name_90 WHERE binibining_pilipinas_international = "jessie alice salones dixson"
What is the smallest Year with a Binibining Pilipinas-International of jessie alice salones dixson?
<s>[INST]What is the smallest Year with a Binibining Pilipinas-International of jessie alice salones dixson? Context: CREATE TABLE table_name_90 (year INTEGER, binibining_pilipinas_international VARCHAR)[/INST]SELECT MIN(year) FROM table_name_90 WHERE binibining_pilipinas_international = "jessie alice salones dixson"</s>
CREATE TABLE table_name_95 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_95 WHERE record = "1-1"
Which opponent has 1-1 as the record?
<s>[INST]Which opponent has 1-1 as the record? Context: CREATE TABLE table_name_95 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_95 WHERE record = "1-1"</s>
CREATE TABLE school (LOCATION VARCHAR, Founded VARCHAR)
SELECT LOCATION FROM school ORDER BY Founded DESC
List the locations of schools in descending order of founded year.
<s>[INST]List the locations of schools in descending order of founded year. Context: CREATE TABLE school (LOCATION VARCHAR, Founded VARCHAR)[/INST]SELECT LOCATION FROM school ORDER BY Founded DESC</s>
CREATE TABLE table_1216675_1 (pinyin VARCHAR, chinese VARCHAR)
SELECT COUNT(pinyin) FROM table_1216675_1 WHERE chinese = "釋蟲"
How many pinyin transaltions are available for the chinese phrase 釋蟲?
<s>[INST]How many pinyin transaltions are available for the chinese phrase 釋蟲? Context: CREATE TABLE table_1216675_1 (pinyin VARCHAR, chinese VARCHAR)[/INST]SELECT COUNT(pinyin) FROM table_1216675_1 WHERE chinese = "釋蟲"</s>
CREATE TABLE customers (customer_name VARCHAR, payment_method VARCHAR, customer_id VARCHAR); CREATE TABLE mailshot_customers (customer_id VARCHAR, outcome_code VARCHAR)
SELECT T2.customer_name, T2.payment_method FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.outcome_code = 'Order' INTERSECT SELECT T2.customer_name, T2.payment_method FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.outcome_code = 'No Response'
What are the name and payment method of customers who have both mailshots in 'Order' outcome and mailshots in 'No Response' outcome.
<s>[INST]What are the name and payment method of customers who have both mailshots in 'Order' outcome and mailshots in 'No Response' outcome. Context: CREATE TABLE customers (customer_name VARCHAR, payment_method VARCHAR, customer_id VARCHAR); CREATE TABLE mailshot_customers (customer_id VARCHAR, outcome_code VARCHAR)[/INST]SELECT T2.customer_name, T2.payment_method FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.outcome_code = 'Order' INTERSECT SELECT T2.customer_name, T2.payment_method FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.outcome_code = 'No Response'</s>
CREATE TABLE table_name_29 (points__percentage VARCHAR, total_w_l_h VARCHAR)
SELECT points__percentage FROM table_name_29 WHERE total_w_l_h = "1-2-2"
WHAT IS THE POINTS PERCENTAGE WITH A TOTAL OF 1-2-2 RECORD?
<s>[INST]WHAT IS THE POINTS PERCENTAGE WITH A TOTAL OF 1-2-2 RECORD? Context: CREATE TABLE table_name_29 (points__percentage VARCHAR, total_w_l_h VARCHAR)[/INST]SELECT points__percentage FROM table_name_29 WHERE total_w_l_h = "1-2-2"</s>
CREATE TABLE table_23938357_7 (Id VARCHAR)
SELECT MIN(07 AS _08_oi_best) FROM table_23938357_7
What is the smallest 07-08 oi best value?
<s>[INST]What is the smallest 07-08 oi best value? Context: CREATE TABLE table_23938357_7 (Id VARCHAR)[/INST]SELECT MIN(07 AS _08_oi_best) FROM table_23938357_7</s>
CREATE TABLE table_name_86 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_86 WHERE venue = "brunswick street oval"
Who was the away team that played Fitzroy on May 13, 1950 at Brunswick Street Oval.
<s>[INST]Who was the away team that played Fitzroy on May 13, 1950 at Brunswick Street Oval. Context: CREATE TABLE table_name_86 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_86 WHERE venue = "brunswick street oval"</s>
CREATE TABLE table_name_8 (heat INTEGER, lane VARCHAR, mark VARCHAR, name VARCHAR)
SELECT MAX(heat) FROM table_name_8 WHERE mark = "6.76" AND name = "ihor bodrov" AND lane < 1
What is the highest heat for Ihor Bodrov when the mark is 6.76 and the lane is less than 1?
<s>[INST]What is the highest heat for Ihor Bodrov when the mark is 6.76 and the lane is less than 1? Context: CREATE TABLE table_name_8 (heat INTEGER, lane VARCHAR, mark VARCHAR, name VARCHAR)[/INST]SELECT MAX(heat) FROM table_name_8 WHERE mark = "6.76" AND name = "ihor bodrov" AND lane < 1</s>