context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_27155990_1 (rank VARCHAR, project_name VARCHAR)
SELECT COUNT(rank) FROM table_27155990_1 WHERE project_name = "Pebble: E-Paper Watch for iPhone and Android"
Project Name Pebble: E-Paper Watch for Iphone and Android was ranked how many times?
<s>[INST]Project Name Pebble: E-Paper Watch for Iphone and Android was ranked how many times? Context: CREATE TABLE table_27155990_1 (rank VARCHAR, project_name VARCHAR)[/INST]SELECT COUNT(rank) FROM table_27155990_1 WHERE project_name = "Pebble: E-Paper Watch for iPhone and Android"</s>
CREATE TABLE club (clublocation VARCHAR, clubname VARCHAR)
SELECT clublocation FROM club WHERE clubname = "Tennis Club"
What is the location of the club named "Tennis Club"?
<s>[INST]What is the location of the club named "Tennis Club"? Context: CREATE TABLE club (clublocation VARCHAR, clubname VARCHAR)[/INST]SELECT clublocation FROM club WHERE clubname = "Tennis Club"</s>
CREATE TABLE table_name_14 (director VARCHAR, year VARCHAR, role VARCHAR)
SELECT director FROM table_name_14 WHERE year = 1935 AND role = "shelby barret wyatt"
What director directed the role of shelby barret wyatt in 1935?
<s>[INST]What director directed the role of shelby barret wyatt in 1935? Context: CREATE TABLE table_name_14 (director VARCHAR, year VARCHAR, role VARCHAR)[/INST]SELECT director FROM table_name_14 WHERE year = 1935 AND role = "shelby barret wyatt"</s>
CREATE TABLE table_name_50 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_50 WHERE score = 70 - 73 = 143
What is Country, when Score is 70-73=143?
<s>[INST]What is Country, when Score is 70-73=143? Context: CREATE TABLE table_name_50 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_50 WHERE score = 70 - 73 = 143</s>
CREATE TABLE table_name_90 (player VARCHAR, place VARCHAR, country VARCHAR)
SELECT player FROM table_name_90 WHERE place = "t7" AND country = "united states"
Who has a place of T7 and is from the United States?
<s>[INST]Who has a place of T7 and is from the United States? Context: CREATE TABLE table_name_90 (player VARCHAR, place VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_90 WHERE place = "t7" AND country = "united states"</s>
CREATE TABLE table_name_41 (team VARCHAR, best VARCHAR)
SELECT team FROM table_name_41 WHERE best = "1:25.602"
What Team had a 1:25.602 Best?
<s>[INST]What Team had a 1:25.602 Best? Context: CREATE TABLE table_name_41 (team VARCHAR, best VARCHAR)[/INST]SELECT team FROM table_name_41 WHERE best = "1:25.602"</s>
CREATE TABLE table_22736523_1 (result VARCHAR, song_choice VARCHAR)
SELECT result FROM table_22736523_1 WHERE song_choice = "Coba"
What is the result if Coba is the song choice?
<s>[INST]What is the result if Coba is the song choice? Context: CREATE TABLE table_22736523_1 (result VARCHAR, song_choice VARCHAR)[/INST]SELECT result FROM table_22736523_1 WHERE song_choice = "Coba"</s>
CREATE TABLE table_name_44 (week_8_oct_26 VARCHAR, week_7_oct_19 VARCHAR)
SELECT week_8_oct_26 FROM table_name_44 WHERE week_7_oct_19 = "syarcuse (4-2)"
What is the Week 8 result of the team that lost to syarcuse (4-2) in Week 7?
<s>[INST]What is the Week 8 result of the team that lost to syarcuse (4-2) in Week 7? Context: CREATE TABLE table_name_44 (week_8_oct_26 VARCHAR, week_7_oct_19 VARCHAR)[/INST]SELECT week_8_oct_26 FROM table_name_44 WHERE week_7_oct_19 = "syarcuse (4-2)"</s>
CREATE TABLE table_24233848_2 (vote VARCHAR, finish VARCHAR)
SELECT COUNT(vote) FROM table_24233848_2 WHERE finish = "3rd voted Out Day 9"
Name the total number of votes for 3rd voted out day 9
<s>[INST]Name the total number of votes for 3rd voted out day 9 Context: CREATE TABLE table_24233848_2 (vote VARCHAR, finish VARCHAR)[/INST]SELECT COUNT(vote) FROM table_24233848_2 WHERE finish = "3rd voted Out Day 9"</s>
CREATE TABLE table_name_37 (to_par INTEGER, place VARCHAR, country VARCHAR)
SELECT MAX(to_par) FROM table_name_37 WHERE place = "t8" AND country = "west germany"
What is the highest to par with a place of t8 and West Germany as the country?
<s>[INST]What is the highest to par with a place of t8 and West Germany as the country? Context: CREATE TABLE table_name_37 (to_par INTEGER, place VARCHAR, country VARCHAR)[/INST]SELECT MAX(to_par) FROM table_name_37 WHERE place = "t8" AND country = "west germany"</s>
CREATE TABLE table_name_95 (opponent VARCHAR, year VARCHAR, yards VARCHAR, average VARCHAR)
SELECT opponent FROM table_name_95 WHERE yards < 197 AND average < 32 AND year = 1966
Which Opponent has Yards smaller than 197, and an Average smaller than 32, and a Year of 1966?
<s>[INST]Which Opponent has Yards smaller than 197, and an Average smaller than 32, and a Year of 1966? Context: CREATE TABLE table_name_95 (opponent VARCHAR, year VARCHAR, yards VARCHAR, average VARCHAR)[/INST]SELECT opponent FROM table_name_95 WHERE yards < 197 AND average < 32 AND year = 1966</s>
CREATE TABLE table_name_19 (erp_w VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)
SELECT erp_w FROM table_name_19 WHERE frequency_mhz > 93.3 AND city_of_license = "washington, georgia"
Name the ERP W with a frequency mhz more than 93.3 and city license of washington, georgia
<s>[INST]Name the ERP W with a frequency mhz more than 93.3 and city license of washington, georgia Context: CREATE TABLE table_name_19 (erp_w VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)[/INST]SELECT erp_w FROM table_name_19 WHERE frequency_mhz > 93.3 AND city_of_license = "washington, georgia"</s>
CREATE TABLE table_name_62 (entrant VARCHAR, constructor VARCHAR)
SELECT entrant FROM table_name_62 WHERE constructor = "benetton - playlife"
Which entrant had a constructor of benetton - playlife?
<s>[INST]Which entrant had a constructor of benetton - playlife? Context: CREATE TABLE table_name_62 (entrant VARCHAR, constructor VARCHAR)[/INST]SELECT entrant FROM table_name_62 WHERE constructor = "benetton - playlife"</s>
CREATE TABLE table_name_46 (location VARCHAR, team VARCHAR)
SELECT location FROM table_name_46 WHERE team = "south adelaide"
What is the location of South Adelaide?
<s>[INST]What is the location of South Adelaide? Context: CREATE TABLE table_name_46 (location VARCHAR, team VARCHAR)[/INST]SELECT location FROM table_name_46 WHERE team = "south adelaide"</s>
CREATE TABLE user_profiles (name VARCHAR, followers VARCHAR)
SELECT name, followers FROM user_profiles ORDER BY followers DESC
List the name and number of followers for each user, and sort the results by the number of followers in descending order.
<s>[INST]List the name and number of followers for each user, and sort the results by the number of followers in descending order. Context: CREATE TABLE user_profiles (name VARCHAR, followers VARCHAR)[/INST]SELECT name, followers FROM user_profiles ORDER BY followers DESC</s>
CREATE TABLE Employees (role_code VARCHAR)
SELECT role_code, COUNT(*) FROM Employees GROUP BY role_code
Show all role codes and the number of employees in each role.
<s>[INST]Show all role codes and the number of employees in each role. Context: CREATE TABLE Employees (role_code VARCHAR)[/INST]SELECT role_code, COUNT(*) FROM Employees GROUP BY role_code</s>
CREATE TABLE table_name_94 (sundsvall VARCHAR, falun VARCHAR)
SELECT sundsvall FROM table_name_94 WHERE falun = "2"
What did Sundsvall score when Falun scored 2?
<s>[INST]What did Sundsvall score when Falun scored 2? Context: CREATE TABLE table_name_94 (sundsvall VARCHAR, falun VARCHAR)[/INST]SELECT sundsvall FROM table_name_94 WHERE falun = "2"</s>
CREATE TABLE table_23287683_1 (title VARCHAR, series__number VARCHAR)
SELECT COUNT(title) FROM table_23287683_1 WHERE series__number = 95
How many episodes had a series number of 95?
<s>[INST]How many episodes had a series number of 95? Context: CREATE TABLE table_23287683_1 (title VARCHAR, series__number VARCHAR)[/INST]SELECT COUNT(title) FROM table_23287683_1 WHERE series__number = 95</s>
CREATE TABLE table_name_32 (lost INTEGER, team VARCHAR, against VARCHAR)
SELECT SUM(lost) FROM table_name_32 WHERE team = "corinthians" AND against > 26
How many losses have corinthians as the team, with an against greater than 26?
<s>[INST]How many losses have corinthians as the team, with an against greater than 26? Context: CREATE TABLE table_name_32 (lost INTEGER, team VARCHAR, against VARCHAR)[/INST]SELECT SUM(lost) FROM table_name_32 WHERE team = "corinthians" AND against > 26</s>
CREATE TABLE table_name_66 (nation VARCHAR, bronze VARCHAR, rank VARCHAR, total VARCHAR)
SELECT nation FROM table_name_66 WHERE rank > 2 AND total > 1 AND bronze < 3
What is Nation, when Rank is greater than 2, when Total is greater than 1, and when Bronze is less than 3?
<s>[INST]What is Nation, when Rank is greater than 2, when Total is greater than 1, and when Bronze is less than 3? Context: CREATE TABLE table_name_66 (nation VARCHAR, bronze VARCHAR, rank VARCHAR, total VARCHAR)[/INST]SELECT nation FROM table_name_66 WHERE rank > 2 AND total > 1 AND bronze < 3</s>
CREATE TABLE table_2731431_1 (parent VARCHAR, peak VARCHAR)
SELECT parent FROM table_2731431_1 WHERE peak = "Cima Tosa"
What is the parent for peak cima tosa?
<s>[INST]What is the parent for peak cima tosa? Context: CREATE TABLE table_2731431_1 (parent VARCHAR, peak VARCHAR)[/INST]SELECT parent FROM table_2731431_1 WHERE peak = "Cima Tosa"</s>
CREATE TABLE table_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR)
SELECT MIN(_number_s_dam_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Nome (CA)"
How many dams are there in the Nome (CA) area?
<s>[INST]How many dams are there in the Nome (CA) area? Context: CREATE TABLE table_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR)[/INST]SELECT MIN(_number_s_dam_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Nome (CA)"</s>
CREATE TABLE table_name_75 (round VARCHAR, player VARCHAR)
SELECT COUNT(round) FROM table_name_75 WHERE player = "jason missiaen"
What is the total number of rounds that had Jason Missiaen?
<s>[INST]What is the total number of rounds that had Jason Missiaen? Context: CREATE TABLE table_name_75 (round VARCHAR, player VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_75 WHERE player = "jason missiaen"</s>
CREATE TABLE table_name_5 (bronze INTEGER, nation VARCHAR, rank VARCHAR)
SELECT AVG(bronze) FROM table_name_5 WHERE nation = "canada" AND rank < 6
Which Bronze has a Nation of canada, and a Rank smaller than 6?
<s>[INST]Which Bronze has a Nation of canada, and a Rank smaller than 6? Context: CREATE TABLE table_name_5 (bronze INTEGER, nation VARCHAR, rank VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_5 WHERE nation = "canada" AND rank < 6</s>
CREATE TABLE table_name_27 (school_club_team_country VARCHAR, years_for_rockets VARCHAR)
SELECT school_club_team_country FROM table_name_27 WHERE years_for_rockets = "1967-68"
Who is the school, club, team or country that the Rockets played for 1967-68?
<s>[INST]Who is the school, club, team or country that the Rockets played for 1967-68? Context: CREATE TABLE table_name_27 (school_club_team_country VARCHAR, years_for_rockets VARCHAR)[/INST]SELECT school_club_team_country FROM table_name_27 WHERE years_for_rockets = "1967-68"</s>
CREATE TABLE table_name_42 (player VARCHAR, height VARCHAR)
SELECT player FROM table_name_42 WHERE height = "6-3"
What Player(s) have a Height of 6-3?
<s>[INST]What Player(s) have a Height of 6-3? Context: CREATE TABLE table_name_42 (player VARCHAR, height VARCHAR)[/INST]SELECT player FROM table_name_42 WHERE height = "6-3"</s>
CREATE TABLE Order_items (order_id VARCHAR, product_id VARCHAR)
SELECT order_id, COUNT(DISTINCT product_id) FROM Order_items GROUP BY order_id
Show order ids and the number of products in each order.
<s>[INST]Show order ids and the number of products in each order. Context: CREATE TABLE Order_items (order_id VARCHAR, product_id VARCHAR)[/INST]SELECT order_id, COUNT(DISTINCT product_id) FROM Order_items GROUP BY order_id</s>
CREATE TABLE table_name_71 (goals_scored VARCHAR, games_played INTEGER)
SELECT COUNT(goals_scored) FROM table_name_71 WHERE games_played < 30
How many total goals scored when less than 30 games have been played?
<s>[INST]How many total goals scored when less than 30 games have been played? Context: CREATE TABLE table_name_71 (goals_scored VARCHAR, games_played INTEGER)[/INST]SELECT COUNT(goals_scored) FROM table_name_71 WHERE games_played < 30</s>
CREATE TABLE table_name_69 (played INTEGER, drawn VARCHAR, lost VARCHAR, team VARCHAR)
SELECT MAX(played) FROM table_name_69 WHERE lost > 2 AND team = "palmeiras" AND drawn < 1
What is the highest number played with more than 2 lost for Palmeiras and less than 1 draw?
<s>[INST]What is the highest number played with more than 2 lost for Palmeiras and less than 1 draw? Context: CREATE TABLE table_name_69 (played INTEGER, drawn VARCHAR, lost VARCHAR, team VARCHAR)[/INST]SELECT MAX(played) FROM table_name_69 WHERE lost > 2 AND team = "palmeiras" AND drawn < 1</s>
CREATE TABLE table_name_44 (numer_of_jamaicans_granted_british_citizenship INTEGER, year VARCHAR, registration_of_a_minor_child VARCHAR)
SELECT SUM(numer_of_jamaicans_granted_british_citizenship) FROM table_name_44 WHERE year = 2004 AND registration_of_a_minor_child > 640
Tell me the sum of number of jamaicans given british citizenship for 2004 and registration of a minor child more than 640
<s>[INST]Tell me the sum of number of jamaicans given british citizenship for 2004 and registration of a minor child more than 640 Context: CREATE TABLE table_name_44 (numer_of_jamaicans_granted_british_citizenship INTEGER, year VARCHAR, registration_of_a_minor_child VARCHAR)[/INST]SELECT SUM(numer_of_jamaicans_granted...
CREATE TABLE table_26436_2 (original_broadway_cast VARCHAR)
SELECT 2005 AS _film FROM table_26436_2 WHERE original_broadway_cast = "Jesse L. Martin"
who was in the 2005 role when the original broadway cast was played by jesse l. martin?
<s>[INST]who was in the 2005 role when the original broadway cast was played by jesse l. martin? Context: CREATE TABLE table_26436_2 (original_broadway_cast VARCHAR)[/INST]SELECT 2005 AS _film FROM table_26436_2 WHERE original_broadway_cast = "Jesse L. Martin"</s>
CREATE TABLE table_26555737_1 (result VARCHAR, director VARCHAR)
SELECT result FROM table_26555737_1 WHERE director = "Hany Abu-Assad Category:Articles with hCards"
When hany abu-assad category:articles with hcards is the director what is the result?
<s>[INST]When hany abu-assad category:articles with hcards is the director what is the result? Context: CREATE TABLE table_26555737_1 (result VARCHAR, director VARCHAR)[/INST]SELECT result FROM table_26555737_1 WHERE director = "Hany Abu-Assad Category:Articles with hCards"</s>
CREATE TABLE table_1974632_1 (institution VARCHAR, location VARCHAR)
SELECT institution FROM table_1974632_1 WHERE location = "Glenside, Pennsylvania"
state the institution in glenside, pennsylvania
<s>[INST]state the institution in glenside, pennsylvania Context: CREATE TABLE table_1974632_1 (institution VARCHAR, location VARCHAR)[/INST]SELECT institution FROM table_1974632_1 WHERE location = "Glenside, Pennsylvania"</s>
CREATE TABLE table_name_73 (first_team_goals VARCHAR, player VARCHAR)
SELECT first_team_goals FROM table_name_73 WHERE player = "samir carruthers"
How many first-team goals does the team have whose player is Samir Carruthers?
<s>[INST]How many first-team goals does the team have whose player is Samir Carruthers? Context: CREATE TABLE table_name_73 (first_team_goals VARCHAR, player VARCHAR)[/INST]SELECT first_team_goals FROM table_name_73 WHERE player = "samir carruthers"</s>
CREATE TABLE table_name_83 (surface VARCHAR, opponent VARCHAR)
SELECT surface FROM table_name_83 WHERE opponent = "bethanie mattek-sands"
What was the surface of the match against bethanie mattek-sands?
<s>[INST]What was the surface of the match against bethanie mattek-sands? Context: CREATE TABLE table_name_83 (surface VARCHAR, opponent VARCHAR)[/INST]SELECT surface FROM table_name_83 WHERE opponent = "bethanie mattek-sands"</s>
CREATE TABLE table_name_70 (para VARCHAR, sipaliwini VARCHAR)
SELECT para FROM table_name_70 WHERE sipaliwini = "0.1%"
What is the para with a 0.1% sipaliwini?
<s>[INST]What is the para with a 0.1% sipaliwini? Context: CREATE TABLE table_name_70 (para VARCHAR, sipaliwini VARCHAR)[/INST]SELECT para FROM table_name_70 WHERE sipaliwini = "0.1%"</s>
CREATE TABLE table_name_37 (lane VARCHAR, swimmer VARCHAR)
SELECT lane FROM table_name_37 WHERE swimmer = "goksu bicer"
Which lane is Goksu Bicer in?
<s>[INST]Which lane is Goksu Bicer in? Context: CREATE TABLE table_name_37 (lane VARCHAR, swimmer VARCHAR)[/INST]SELECT lane FROM table_name_37 WHERE swimmer = "goksu bicer"</s>
CREATE TABLE table_name_10 (poll VARCHAR, wk_13 VARCHAR, wk_10 VARCHAR, wk_2 VARCHAR)
SELECT poll FROM table_name_10 WHERE wk_10 > 2 AND wk_2 = "12" AND wk_13 = 8
Which poll had a week 10 larger than 2, a week 2 of exactly 12, and a week 13 of 8?
<s>[INST]Which poll had a week 10 larger than 2, a week 2 of exactly 12, and a week 13 of 8? Context: CREATE TABLE table_name_10 (poll VARCHAR, wk_13 VARCHAR, wk_10 VARCHAR, wk_2 VARCHAR)[/INST]SELECT poll FROM table_name_10 WHERE wk_10 > 2 AND wk_2 = "12" AND wk_13 = 8</s>
CREATE TABLE table_name_90 (atheism VARCHAR, other VARCHAR)
SELECT atheism FROM table_name_90 WHERE other = "0.08%"
What is the percentage of Atheism associated with an other percentage of 0.08%?
<s>[INST]What is the percentage of Atheism associated with an other percentage of 0.08%? Context: CREATE TABLE table_name_90 (atheism VARCHAR, other VARCHAR)[/INST]SELECT atheism FROM table_name_90 WHERE other = "0.08%"</s>
CREATE TABLE table_name_57 (senior_british_open VARCHAR, senior_pga_championship VARCHAR)
SELECT senior_british_open FROM table_name_57 WHERE senior_pga_championship = "hale irwin (3/7)"
Who won the Senior British Open when Hale Irwin (3/7) won the Senior PGA Championship?
<s>[INST]Who won the Senior British Open when Hale Irwin (3/7) won the Senior PGA Championship? Context: CREATE TABLE table_name_57 (senior_british_open VARCHAR, senior_pga_championship VARCHAR)[/INST]SELECT senior_british_open FROM table_name_57 WHERE senior_pga_championship = "hale irwin (3/7)"</s>
CREATE TABLE table_name_89 (release_date VARCHAR, english_title VARCHAR)
SELECT release_date FROM table_name_89 WHERE english_title = "your friend"
What is the Release date of the Album Your Friend?
<s>[INST]What is the Release date of the Album Your Friend? Context: CREATE TABLE table_name_89 (release_date VARCHAR, english_title VARCHAR)[/INST]SELECT release_date FROM table_name_89 WHERE english_title = "your friend"</s>
CREATE TABLE table_16677887_2 (record VARCHAR, date VARCHAR)
SELECT record FROM table_16677887_2 WHERE date = "Sept. 14"
What was the record for the game on Sept. 14?
<s>[INST]What was the record for the game on Sept. 14? Context: CREATE TABLE table_16677887_2 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_16677887_2 WHERE date = "Sept. 14"</s>
CREATE TABLE table_25933764_1 (w INTEGER, locale VARCHAR, Ontario VARCHAR)
SELECT MIN(w) FROM table_25933764_1 WHERE locale = Ontario
If the locale is Ontario, what is the W minimum?
<s>[INST]If the locale is Ontario, what is the W minimum? Context: CREATE TABLE table_25933764_1 (w INTEGER, locale VARCHAR, Ontario VARCHAR)[/INST]SELECT MIN(w) FROM table_25933764_1 WHERE locale = Ontario</s>
CREATE TABLE table_name_61 (record VARCHAR, team VARCHAR)
SELECT record FROM table_name_61 WHERE team = "utah"
What is the record of team utah?
<s>[INST]What is the record of team utah? Context: CREATE TABLE table_name_61 (record VARCHAR, team VARCHAR)[/INST]SELECT record FROM table_name_61 WHERE team = "utah"</s>
CREATE TABLE table_name_94 (surface VARCHAR, tournament VARCHAR, score VARCHAR)
SELECT surface FROM table_name_94 WHERE tournament = "eckental" AND score = "w/o"
What is the surface of eckental tournament with a w/o score?
<s>[INST]What is the surface of eckental tournament with a w/o score? Context: CREATE TABLE table_name_94 (surface VARCHAR, tournament VARCHAR, score VARCHAR)[/INST]SELECT surface FROM table_name_94 WHERE tournament = "eckental" AND score = "w/o"</s>
CREATE TABLE table_name_11 (area VARCHAR, decile VARCHAR, name VARCHAR)
SELECT area FROM table_name_11 WHERE decile < 10 AND name = "glenorchy school"
Glenorchy school has a decile less than 10 and is in what area?
<s>[INST]Glenorchy school has a decile less than 10 and is in what area? Context: CREATE TABLE table_name_11 (area VARCHAR, decile VARCHAR, name VARCHAR)[/INST]SELECT area FROM table_name_11 WHERE decile < 10 AND name = "glenorchy school"</s>
CREATE TABLE table_15637071_1 (commenced_operations VARCHAR, headquarters VARCHAR)
SELECT commenced_operations FROM table_15637071_1 WHERE headquarters = "Angeles City"
Which year did the Angeles City based airline begin operations?
<s>[INST]Which year did the Angeles City based airline begin operations? Context: CREATE TABLE table_15637071_1 (commenced_operations VARCHAR, headquarters VARCHAR)[/INST]SELECT commenced_operations FROM table_15637071_1 WHERE headquarters = "Angeles City"</s>
CREATE TABLE table_name_70 (population INTEGER, density VARCHAR, rank VARCHAR)
SELECT SUM(population) FROM table_name_70 WHERE density = 50.09 AND rank > 30
WHat is the number of Population has a Density of 50.09 and a Rank larger than 30?
<s>[INST]WHat is the number of Population has a Density of 50.09 and a Rank larger than 30? Context: CREATE TABLE table_name_70 (population INTEGER, density VARCHAR, rank VARCHAR)[/INST]SELECT SUM(population) FROM table_name_70 WHERE density = 50.09 AND rank > 30</s>
CREATE TABLE table_name_35 (game_site VARCHAR, record VARCHAR)
SELECT game_site FROM table_name_35 WHERE record = "6-2"
What is the site of the game with a Record of 6-2?
<s>[INST]What is the site of the game with a Record of 6-2? Context: CREATE TABLE table_name_35 (game_site VARCHAR, record VARCHAR)[/INST]SELECT game_site FROM table_name_35 WHERE record = "6-2"</s>
CREATE TABLE table_name_49 (city VARCHAR, opposition VARCHAR, year VARCHAR, venue VARCHAR)
SELECT city FROM table_name_49 WHERE year < 1907 AND venue = "old trafford" AND opposition = "sussex"
Which city held the game in Old Trafford before 1907 when the Opposition was sussex?
<s>[INST]Which city held the game in Old Trafford before 1907 when the Opposition was sussex? Context: CREATE TABLE table_name_49 (city VARCHAR, opposition VARCHAR, year VARCHAR, venue VARCHAR)[/INST]SELECT city FROM table_name_49 WHERE year < 1907 AND venue = "old trafford" AND opposition = "sussex"</s>
CREATE TABLE table_name_89 (name VARCHAR)
SELECT 2005 AS _2006_team FROM table_name_89 WHERE name = "phil kessel"
What is the 2005-2006 team for player Phil Kessel?
<s>[INST]What is the 2005-2006 team for player Phil Kessel? Context: CREATE TABLE table_name_89 (name VARCHAR)[/INST]SELECT 2005 AS _2006_team FROM table_name_89 WHERE name = "phil kessel"</s>
CREATE TABLE table_name_94 (akira VARCHAR, tiger_mask_iv VARCHAR)
SELECT akira FROM table_name_94 WHERE tiger_mask_iv = "akira (10:05)"
What is the Akira when Tiger Mask IV is Akira (10:05)?
<s>[INST]What is the Akira when Tiger Mask IV is Akira (10:05)? Context: CREATE TABLE table_name_94 (akira VARCHAR, tiger_mask_iv VARCHAR)[/INST]SELECT akira FROM table_name_94 WHERE tiger_mask_iv = "akira (10:05)"</s>
CREATE TABLE table_name_60 (home_town VARCHAR, took_office VARCHAR, district VARCHAR)
SELECT home_town FROM table_name_60 WHERE took_office = 1983 AND district > 15
Which Home Town has a Took Office of 1983, and a District larger than 15?
<s>[INST]Which Home Town has a Took Office of 1983, and a District larger than 15? Context: CREATE TABLE table_name_60 (home_town VARCHAR, took_office VARCHAR, district VARCHAR)[/INST]SELECT home_town FROM table_name_60 WHERE took_office = 1983 AND district > 15</s>
CREATE TABLE table_name_50 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_50 WHERE to_par = "+4" AND player = "stewart cink"
What is the Score of Stewart Cink with a To par of +4?
<s>[INST]What is the Score of Stewart Cink with a To par of +4? Context: CREATE TABLE table_name_50 (score VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_50 WHERE to_par = "+4" AND player = "stewart cink"</s>
CREATE TABLE table_name_86 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)
SELECT opponents_in_the_final FROM table_name_86 WHERE score_in_the_final = "2–6, 3–6"
Who were the opponents when the score was 2–6, 3–6?
<s>[INST]Who were the opponents when the score was 2–6, 3–6? Context: CREATE TABLE table_name_86 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT opponents_in_the_final FROM table_name_86 WHERE score_in_the_final = "2–6, 3–6"</s>
CREATE TABLE table_1507431_1 (runner_up VARCHAR, no VARCHAR)
SELECT runner_up FROM table_1507431_1 WHERE no = 2
Who are all runner-ups for No. 2?
<s>[INST]Who are all runner-ups for No. 2? Context: CREATE TABLE table_1507431_1 (runner_up VARCHAR, no VARCHAR)[/INST]SELECT runner_up FROM table_1507431_1 WHERE no = 2</s>
CREATE TABLE table_name_3 (date VARCHAR, attendance INTEGER)
SELECT date FROM table_name_3 WHERE attendance > 35 OFFSET 540
Which date's attendance was more than 35,540?
<s>[INST]Which date's attendance was more than 35,540? Context: CREATE TABLE table_name_3 (date VARCHAR, attendance INTEGER)[/INST]SELECT date FROM table_name_3 WHERE attendance > 35 OFFSET 540</s>
CREATE TABLE table_name_20 (game_site VARCHAR, week VARCHAR)
SELECT game_site FROM table_name_20 WHERE week = 1
What is the Game site week 1?
<s>[INST]What is the Game site week 1? Context: CREATE TABLE table_name_20 (game_site VARCHAR, week VARCHAR)[/INST]SELECT game_site FROM table_name_20 WHERE week = 1</s>
CREATE TABLE table_name_12 (score VARCHAR, home VARCHAR, date VARCHAR)
SELECT score FROM table_name_12 WHERE home = "scotland" AND date = "24 february"
What's the Score with a Home of Scotland and Date of 24 February?
<s>[INST]What's the Score with a Home of Scotland and Date of 24 February? Context: CREATE TABLE table_name_12 (score VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_12 WHERE home = "scotland" AND date = "24 february"</s>
CREATE TABLE table_name_55 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_55 WHERE date = "january 11, 1998"
Date of january 11, 1998 has what surface?
<s>[INST]Date of january 11, 1998 has what surface? Context: CREATE TABLE table_name_55 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_55 WHERE date = "january 11, 1998"</s>
CREATE TABLE table_name_54 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_54 WHERE away_team = "hawthorn"
What was the attendance when Hawthorn played as the away team?
<s>[INST]What was the attendance when Hawthorn played as the away team? Context: CREATE TABLE table_name_54 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_54 WHERE away_team = "hawthorn"</s>
CREATE TABLE table_name_91 (manufacturer VARCHAR, rider VARCHAR)
SELECT manufacturer FROM table_name_91 WHERE rider = "bradley smith"
Who is the manufacturer of the car driven by Bradley Smith?
<s>[INST]Who is the manufacturer of the car driven by Bradley Smith? Context: CREATE TABLE table_name_91 (manufacturer VARCHAR, rider VARCHAR)[/INST]SELECT manufacturer FROM table_name_91 WHERE rider = "bradley smith"</s>
CREATE TABLE table_17311759_4 (score VARCHAR, team VARCHAR)
SELECT score FROM table_17311759_4 WHERE team = "Charlotte"
What are the scores made by Charlotte team
<s>[INST]What are the scores made by Charlotte team Context: CREATE TABLE table_17311759_4 (score VARCHAR, team VARCHAR)[/INST]SELECT score FROM table_17311759_4 WHERE team = "Charlotte"</s>
CREATE TABLE table_name_61 (wins VARCHAR, season VARCHAR, conference VARCHAR, division VARCHAR)
SELECT wins FROM table_name_61 WHERE conference = "β€”" AND division = "western" AND season = "1967–68"
What shows for Wins when there was a Conference of β€”, western division, in the 1967–68 season?
<s>[INST]What shows for Wins when there was a Conference of β€”, western division, in the 1967–68 season? Context: CREATE TABLE table_name_61 (wins VARCHAR, season VARCHAR, conference VARCHAR, division VARCHAR)[/INST]SELECT wins FROM table_name_61 WHERE conference = "β€”" AND division = "western" AND season = "1967–68"</s>
CREATE TABLE table_18539834_2 (japanese_title VARCHAR, tv_station VARCHAR)
SELECT japanese_title FROM table_18539834_2 WHERE tv_station = "TV Asahi"
What are the japanese title(s) for tv asahi?
<s>[INST]What are the japanese title(s) for tv asahi? Context: CREATE TABLE table_18539834_2 (japanese_title VARCHAR, tv_station VARCHAR)[/INST]SELECT japanese_title FROM table_18539834_2 WHERE tv_station = "TV Asahi"</s>
CREATE TABLE table_name_72 (points INTEGER, domestic_cup VARCHAR)
SELECT AVG(points) FROM table_name_72 WHERE domestic_cup = "quarterfinals"
What was the average points in the quarterfinals domestic cup?
<s>[INST]What was the average points in the quarterfinals domestic cup? Context: CREATE TABLE table_name_72 (points INTEGER, domestic_cup VARCHAR)[/INST]SELECT AVG(points) FROM table_name_72 WHERE domestic_cup = "quarterfinals"</s>
CREATE TABLE Lessons (staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR)
SELECT COUNT(*) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name LIKE "%a%"
How many lessons taught by staff whose first name has letter 'a' in it?
<s>[INST]How many lessons taught by staff whose first name has letter 'a' in it? Context: CREATE TABLE Lessons (staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR)[/INST]SELECT COUNT(*) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name LIKE "%a%"</s>
CREATE TABLE table_name_87 (extra VARCHAR, year INTEGER)
SELECT extra FROM table_name_87 WHERE year > 2009
What extra is from after 2009?
<s>[INST]What extra is from after 2009? Context: CREATE TABLE table_name_87 (extra VARCHAR, year INTEGER)[/INST]SELECT extra FROM table_name_87 WHERE year > 2009</s>
CREATE TABLE Has_allergy (StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR)
SELECT StuID FROM Student EXCEPT SELECT StuID FROM Has_allergy
What are the student ids of students who don't have any allergies?
<s>[INST]What are the student ids of students who don't have any allergies? Context: CREATE TABLE Has_allergy (StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR)[/INST]SELECT StuID FROM Student EXCEPT SELECT StuID FROM Has_allergy</s>
CREATE TABLE table_21501564_1 (week__number VARCHAR, original_artist VARCHAR)
SELECT week__number FROM table_21501564_1 WHERE original_artist = "Sara Bareilles"
What week #(s featured sara bareilles as the original artist?
<s>[INST]What week #(s featured sara bareilles as the original artist? Context: CREATE TABLE table_21501564_1 (week__number VARCHAR, original_artist VARCHAR)[/INST]SELECT week__number FROM table_21501564_1 WHERE original_artist = "Sara Bareilles"</s>
CREATE TABLE table_30049462_3 (high_points VARCHAR, team VARCHAR)
SELECT high_points FROM table_30049462_3 WHERE team = "Milwaukee"
in the milwaukee team who made the high points
<s>[INST]in the milwaukee team who made the high points Context: CREATE TABLE table_30049462_3 (high_points VARCHAR, team VARCHAR)[/INST]SELECT high_points FROM table_30049462_3 WHERE team = "Milwaukee"</s>
CREATE TABLE Certificate (eid VARCHAR, aid VARCHAR); CREATE TABLE Employee (name VARCHAR, eid VARCHAR); CREATE TABLE Employee (name VARCHAR); CREATE TABLE Aircraft (aid VARCHAR, name VARCHAR)
SELECT name FROM Employee EXCEPT SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T3.name = "Boeing 737-800"
Show names for all employees who do not have certificate of Boeing 737-800.
<s>[INST]Show names for all employees who do not have certificate of Boeing 737-800. Context: CREATE TABLE Certificate (eid VARCHAR, aid VARCHAR); CREATE TABLE Employee (name VARCHAR, eid VARCHAR); CREATE TABLE Employee (name VARCHAR); CREATE TABLE Aircraft (aid VARCHAR, name VARCHAR)[/INST]SELECT name FROM Employee EX...
CREATE TABLE table_name_86 (team VARCHAR, position VARCHAR)
SELECT team FROM table_name_86 WHERE position = "linebacker"
Which Team has a Position of linebacker?
<s>[INST]Which Team has a Position of linebacker? Context: CREATE TABLE table_name_86 (team VARCHAR, position VARCHAR)[/INST]SELECT team FROM table_name_86 WHERE position = "linebacker"</s>
CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
SELECT driver FROM table_name_38 WHERE grid > 3 AND time_retired = "+62.6 secs"
Which driver has a grid bigger than 3 and a time of +62.6 secs?
<s>[INST]Which driver has a grid bigger than 3 and a time of +62.6 secs? Context: CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT driver FROM table_name_38 WHERE grid > 3 AND time_retired = "+62.6 secs"</s>
CREATE TABLE table_name_54 (fast_laps VARCHAR, points VARCHAR, series VARCHAR)
SELECT fast_laps FROM table_name_54 WHERE points = "0" AND series = "world series by nissan"
How many fast laps have 0 points in the World Series by Nissan?
<s>[INST]How many fast laps have 0 points in the World Series by Nissan? Context: CREATE TABLE table_name_54 (fast_laps VARCHAR, points VARCHAR, series VARCHAR)[/INST]SELECT fast_laps FROM table_name_54 WHERE points = "0" AND series = "world series by nissan"</s>
CREATE TABLE table_name_61 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_61 WHERE attendance = "40,005"
What is the date of the game with 40,005 in attendance?
<s>[INST]What is the date of the game with 40,005 in attendance? Context: CREATE TABLE table_name_61 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_61 WHERE attendance = "40,005"</s>
CREATE TABLE teachers (lastname VARCHAR, classroom VARCHAR)
SELECT lastname FROM teachers WHERE classroom = 109
Find the last names of teachers teaching in classroom 109.
<s>[INST]Find the last names of teachers teaching in classroom 109. Context: CREATE TABLE teachers (lastname VARCHAR, classroom VARCHAR)[/INST]SELECT lastname FROM teachers WHERE classroom = 109</s>
CREATE TABLE table_name_87 (player VARCHAR, pick__number INTEGER)
SELECT player FROM table_name_87 WHERE pick__number > 47
Which player has a pick# over 47?
<s>[INST]Which player has a pick# over 47? Context: CREATE TABLE table_name_87 (player VARCHAR, pick__number INTEGER)[/INST]SELECT player FROM table_name_87 WHERE pick__number > 47</s>
CREATE TABLE table_name_35 (record VARCHAR, time VARCHAR)
SELECT record FROM table_name_35 WHERE time = "8:17"
What was the record after the fight that lasted 8:17?
<s>[INST]What was the record after the fight that lasted 8:17? Context: CREATE TABLE table_name_35 (record VARCHAR, time VARCHAR)[/INST]SELECT record FROM table_name_35 WHERE time = "8:17"</s>
CREATE TABLE table_name_79 (fa_cup INTEGER, name VARCHAR, total VARCHAR)
SELECT AVG(fa_cup) FROM table_name_79 WHERE name = "steve whitworth" AND total < 400
What is the average number of FA cups Steve Whitworth, who has less than 400 total, has?
<s>[INST]What is the average number of FA cups Steve Whitworth, who has less than 400 total, has? Context: CREATE TABLE table_name_79 (fa_cup INTEGER, name VARCHAR, total VARCHAR)[/INST]SELECT AVG(fa_cup) FROM table_name_79 WHERE name = "steve whitworth" AND total < 400</s>
CREATE TABLE products (price INTEGER, Manufacturer VARCHAR); CREATE TABLE manufacturers (name VARCHAR, code VARCHAR)
SELECT AVG(T1.price), T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code GROUP BY T2.name
Find the average prices of all products from each manufacture, and list each company's name.
<s>[INST]Find the average prices of all products from each manufacture, and list each company's name. Context: CREATE TABLE products (price INTEGER, Manufacturer VARCHAR); CREATE TABLE manufacturers (name VARCHAR, code VARCHAR)[/INST]SELECT AVG(T1.price), T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manuf...
CREATE TABLE table_name_25 (points INTEGER, player VARCHAR, goals VARCHAR)
SELECT SUM(points) FROM table_name_25 WHERE player = "shawn mceachern" AND goals < 79
How many points does Shawn Mceachern with less than 79 goals?
<s>[INST]How many points does Shawn Mceachern with less than 79 goals? Context: CREATE TABLE table_name_25 (points INTEGER, player VARCHAR, goals VARCHAR)[/INST]SELECT SUM(points) FROM table_name_25 WHERE player = "shawn mceachern" AND goals < 79</s>
CREATE TABLE table_20016339_1 (fastest_laps VARCHAR, team VARCHAR)
SELECT COUNT(fastest_laps) FROM table_20016339_1 WHERE team = "I.C. team"
How many fastest laps did I.C. Team have?
<s>[INST]How many fastest laps did I.C. Team have? Context: CREATE TABLE table_20016339_1 (fastest_laps VARCHAR, team VARCHAR)[/INST]SELECT COUNT(fastest_laps) FROM table_20016339_1 WHERE team = "I.C. team"</s>
CREATE TABLE table_name_56 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_56 WHERE attendance = "41,650"
What was the result of the game that was attended by 41,650 people?
<s>[INST]What was the result of the game that was attended by 41,650 people? Context: CREATE TABLE table_name_56 (result VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_56 WHERE attendance = "41,650"</s>
CREATE TABLE table_name_73 (cfl_team VARCHAR, pick__number INTEGER)
SELECT cfl_team FROM table_name_73 WHERE pick__number > 31
Which CFL Team has a Pick # larger than 31?
<s>[INST]Which CFL Team has a Pick # larger than 31? Context: CREATE TABLE table_name_73 (cfl_team VARCHAR, pick__number INTEGER)[/INST]SELECT cfl_team FROM table_name_73 WHERE pick__number > 31</s>
CREATE TABLE table_name_48 (score VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_48 WHERE visitor = "charlotte bobcats"
What's the score in the home game against the Charlotte Bobcats?
<s>[INST]What's the score in the home game against the Charlotte Bobcats? Context: CREATE TABLE table_name_48 (score VARCHAR, visitor VARCHAR)[/INST]SELECT score FROM table_name_48 WHERE visitor = "charlotte bobcats"</s>
CREATE TABLE roller_coaster (Id VARCHAR)
SELECT COUNT(*) FROM roller_coaster
How many roller coasters are there?
<s>[INST]How many roller coasters are there? Context: CREATE TABLE roller_coaster (Id VARCHAR)[/INST]SELECT COUNT(*) FROM roller_coaster</s>
CREATE TABLE table_name_71 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_71 WHERE date = "3 march 2013"
Which Record has a Date of 3 march 2013?
<s>[INST]Which Record has a Date of 3 march 2013? Context: CREATE TABLE table_name_71 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_71 WHERE date = "3 march 2013"</s>
CREATE TABLE table_17012578_37 (Ends INTEGER)
SELECT MAX(Ends) AS lost FROM table_17012578_37
What is the highest number of ends lost?
<s>[INST]What is the highest number of ends lost? Context: CREATE TABLE table_17012578_37 (Ends INTEGER)[/INST]SELECT MAX(Ends) AS lost FROM table_17012578_37</s>
CREATE TABLE table_18475946_2 (rnag__mhz_ VARCHAR, transmitter VARCHAR)
SELECT rnag__mhz_ FROM table_18475946_2 WHERE transmitter = "Kippure"
What is the rnag for kippure transmitter?
<s>[INST]What is the rnag for kippure transmitter? Context: CREATE TABLE table_18475946_2 (rnag__mhz_ VARCHAR, transmitter VARCHAR)[/INST]SELECT rnag__mhz_ FROM table_18475946_2 WHERE transmitter = "Kippure"</s>
CREATE TABLE table_name_12 (points VARCHAR, year INTEGER)
SELECT COUNT(points) FROM table_name_12 WHERE year > 1992
How many points are there later than 1992?
<s>[INST]How many points are there later than 1992? Context: CREATE TABLE table_name_12 (points VARCHAR, year INTEGER)[/INST]SELECT COUNT(points) FROM table_name_12 WHERE year > 1992</s>
CREATE TABLE table_name_18 (the_year INTEGER, regular_season VARCHAR)
SELECT MAX(the_year) FROM table_name_18 WHERE regular_season = "7th"
Which Year has a Regular Season of 7th?
<s>[INST]Which Year has a Regular Season of 7th? Context: CREATE TABLE table_name_18 (the_year INTEGER, regular_season VARCHAR)[/INST]SELECT MAX(the_year) FROM table_name_18 WHERE regular_season = "7th"</s>
CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR)
SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "Pending" ORDER BY T2.customer_id
Return the distinct name of customers whose order status is Pending, in the order of customer id.
<s>[INST]Return the distinct name of customers whose order status is Pending, in the order of customer id. Context: CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR)[/INST]SELECT DISTINCT T1.customer_name FROM customers AS ...
CREATE TABLE table_name_7 (week INTEGER, record VARCHAR)
SELECT MIN(week) FROM table_name_7 WHERE record = "4–7–1"
In what Week was the Record 4–7–1?
<s>[INST]In what Week was the Record 4–7–1? Context: CREATE TABLE table_name_7 (week INTEGER, record VARCHAR)[/INST]SELECT MIN(week) FROM table_name_7 WHERE record = "4–7–1"</s>
CREATE TABLE table_name_39 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_39 WHERE attendance = "45,122"
What was the date of the game attended by 45,122?
<s>[INST]What was the date of the game attended by 45,122? Context: CREATE TABLE table_name_39 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_39 WHERE attendance = "45,122"</s>
CREATE TABLE table_name_32 (round VARCHAR, college VARCHAR)
SELECT round FROM table_name_32 WHERE college = "oregon"
Which round is the player from Oregon from?
<s>[INST]Which round is the player from Oregon from? Context: CREATE TABLE table_name_32 (round VARCHAR, college VARCHAR)[/INST]SELECT round FROM table_name_32 WHERE college = "oregon"</s>
CREATE TABLE table_name_86 (gold VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT COUNT(gold) FROM table_name_86 WHERE total = 1 AND bronze = 1
What is the number for gold where there were total 1, and bronze 1?
<s>[INST]What is the number for gold where there were total 1, and bronze 1? Context: CREATE TABLE table_name_86 (gold VARCHAR, total VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(gold) FROM table_name_86 WHERE total = 1 AND bronze = 1</s>
CREATE TABLE table_name_80 (outgoing_manager VARCHAR, manner_of_departure VARCHAR)
SELECT outgoing_manager FROM table_name_80 WHERE manner_of_departure = "fc energie cottbus purchased rights"
Who was the outgoing manager who departed due to fc energie cottbus purchased rights?
<s>[INST]Who was the outgoing manager who departed due to fc energie cottbus purchased rights? Context: CREATE TABLE table_name_80 (outgoing_manager VARCHAR, manner_of_departure VARCHAR)[/INST]SELECT outgoing_manager FROM table_name_80 WHERE manner_of_departure = "fc energie cottbus purchased rights"</s>
CREATE TABLE table_2649597_1 (season_rank VARCHAR, winnings VARCHAR)
SELECT season_rank FROM table_2649597_1 WHERE winnings = "$491,977"
Where did they finish in the season when when they won $491,977?
<s>[INST]Where did they finish in the season when when they won $491,977? Context: CREATE TABLE table_2649597_1 (season_rank VARCHAR, winnings VARCHAR)[/INST]SELECT season_rank FROM table_2649597_1 WHERE winnings = "$491,977"</s>
CREATE TABLE table_name_83 (overall INTEGER, college VARCHAR, pick VARCHAR)
SELECT AVG(overall) FROM table_name_83 WHERE college = "central michigan" AND pick = 8
What is Central Michigan's average overall when the pick was 8?
<s>[INST]What is Central Michigan's average overall when the pick was 8? Context: CREATE TABLE table_name_83 (overall INTEGER, college VARCHAR, pick VARCHAR)[/INST]SELECT AVG(overall) FROM table_name_83 WHERE college = "central michigan" AND pick = 8</s>