context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_45 (model_name VARCHAR, displacement__cm³_ VARCHAR, engine_code VARCHAR)
SELECT model_name FROM table_name_45 WHERE displacement__cm³_ = 2521 AND engine_code = "b5254 t2"
Which model has a 2521 cm displacement and b5254 t2 engine?
<s>[INST]Which model has a 2521 cm displacement and b5254 t2 engine? Context: CREATE TABLE table_name_45 (model_name VARCHAR, displacement__cm³_ VARCHAR, engine_code VARCHAR)[/INST]SELECT model_name FROM table_name_45 WHERE displacement__cm³_ = 2521 AND engine_code = "b5254 t2"</s>
CREATE TABLE table_name_71 (week INTEGER, game_site VARCHAR, date VARCHAR)
SELECT MIN(week) FROM table_name_71 WHERE game_site = "kingdome" AND date = "october 13, 1991"
Which week was the game held at Kingdome on October 13, 1991?
<s>[INST]Which week was the game held at Kingdome on October 13, 1991? Context: CREATE TABLE table_name_71 (week INTEGER, game_site VARCHAR, date VARCHAR)[/INST]SELECT MIN(week) FROM table_name_71 WHERE game_site = "kingdome" AND date = "october 13, 1991"</s>
CREATE TABLE table_name_7 (long_scale VARCHAR, power_notation VARCHAR)
SELECT long_scale FROM table_name_7 WHERE power_notation = "10 12"
For a power notation of 10 12, what is the long scale?
<s>[INST]For a power notation of 10 12, what is the long scale? Context: CREATE TABLE table_name_7 (long_scale VARCHAR, power_notation VARCHAR)[/INST]SELECT long_scale FROM table_name_7 WHERE power_notation = "10 12"</s>
CREATE TABLE table_name_98 (title VARCHAR, role VARCHAR, year VARCHAR, studio VARCHAR)
SELECT title FROM table_name_98 WHERE year > 1943 AND studio = "rko" AND role = "dolly"
What is the title where the studio was RKO, the role was Dolly, and the year was later than 1943?
<s>[INST]What is the title where the studio was RKO, the role was Dolly, and the year was later than 1943? Context: CREATE TABLE table_name_98 (title VARCHAR, role VARCHAR, year VARCHAR, studio VARCHAR)[/INST]SELECT title FROM table_name_98 WHERE year > 1943 AND studio = "rko" AND role = "dolly"</s>
CREATE TABLE table_name_54 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_name_54 WHERE date = "june 13"
Who was the leading scorer and how many did he score for the game on June 13?
<s>[INST]Who was the leading scorer and how many did he score for the game on June 13? Context: CREATE TABLE table_name_54 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_name_54 WHERE date = "june 13"</s>
CREATE TABLE table_23799417_2 (rating VARCHAR, total_viewers__in_millions_ VARCHAR)
SELECT COUNT(rating) / SHARE(18 AS –49) FROM table_23799417_2 WHERE total_viewers__in_millions_ = "12.75"
What is the rating/share total number if the total viewers is 12.75 million?
<s>[INST]What is the rating/share total number if the total viewers is 12.75 million? Context: CREATE TABLE table_23799417_2 (rating VARCHAR, total_viewers__in_millions_ VARCHAR)[/INST]SELECT COUNT(rating) / SHARE(18 AS –49) FROM table_23799417_2 WHERE total_viewers__in_millions_ = "12.75"</s>
CREATE TABLE table_name_54 (rank INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT MAX(rank) FROM table_name_54 WHERE bronze = 0 AND silver > 1 AND gold > 0
Name the most rank with bronze of 0 and silver more than 1 and gold more than 0
<s>[INST]Name the most rank with bronze of 0 and silver more than 1 and gold more than 0 Context: CREATE TABLE table_name_54 (rank INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_54 WHERE bronze = 0 AND silver > 1 AND gold > 0</s>
CREATE TABLE table_1108394_6 (staten_island VARCHAR)
SELECT 2013 AS _republican_primary FROM table_1108394_6 WHERE staten_island = "451"
Who was the republican candidate in 2013 when Staten Island was 451?
<s>[INST]Who was the republican candidate in 2013 when Staten Island was 451? Context: CREATE TABLE table_1108394_6 (staten_island VARCHAR)[/INST]SELECT 2013 AS _republican_primary FROM table_1108394_6 WHERE staten_island = "451"</s>
CREATE TABLE table_name_89 (round INTEGER, place VARCHAR)
SELECT AVG(round) FROM table_name_89 WHERE place = "jacksonville"
Name the average round for jacksonville
<s>[INST]Name the average round for jacksonville Context: CREATE TABLE table_name_89 (round INTEGER, place VARCHAR)[/INST]SELECT AVG(round) FROM table_name_89 WHERE place = "jacksonville"</s>
CREATE TABLE table_23937219_3 (prod_code INTEGER, series__number VARCHAR)
SELECT MIN(prod_code) FROM table_23937219_3 WHERE series__number = 31
What is the production code for episode 31 in the series?
<s>[INST]What is the production code for episode 31 in the series? Context: CREATE TABLE table_23937219_3 (prod_code INTEGER, series__number VARCHAR)[/INST]SELECT MIN(prod_code) FROM table_23937219_3 WHERE series__number = 31</s>
CREATE TABLE table_name_80 (ligue_1_titles INTEGER, position_in_2012_13 VARCHAR, number_of_seasons_in_ligue_1 VARCHAR)
SELECT MIN(ligue_1_titles) FROM table_name_80 WHERE position_in_2012_13 = "010 12th" AND number_of_seasons_in_ligue_1 > 56
I want to know the lowest ligue 1 titles for position in 2012-13 of 010 12th and number of seasons in ligue 1 more than 56
<s>[INST]I want to know the lowest ligue 1 titles for position in 2012-13 of 010 12th and number of seasons in ligue 1 more than 56 Context: CREATE TABLE table_name_80 (ligue_1_titles INTEGER, position_in_2012_13 VARCHAR, number_of_seasons_in_ligue_1 VARCHAR)[/INST]SELECT MIN(ligue_1_titles) FROM table_name_80 WHERE position_in_2012_13 = "010 12th" AND number_of_seasons_in_ligue_1 > 56</s>
CREATE TABLE table_name_28 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
SELECT score FROM table_name_28 WHERE country = "united states" AND place = "t9" AND player = "jay hebert"
What is Score, when Country is "United States", when Place is "T9", and when Player is "Jay Hebert"?
<s>[INST]What is Score, when Country is "United States", when Place is "T9", and when Player is "Jay Hebert"? Context: CREATE TABLE table_name_28 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)[/INST]SELECT score FROM table_name_28 WHERE country = "united states" AND place = "t9" AND player = "jay hebert"</s>
CREATE TABLE table_name_5 (time VARCHAR, event VARCHAR)
SELECT time FROM table_name_5 WHERE event = "team pursuit (8 laps)"
What was the record setting time in the team pursuit (8 laps) event?
<s>[INST]What was the record setting time in the team pursuit (8 laps) event? Context: CREATE TABLE table_name_5 (time VARCHAR, event VARCHAR)[/INST]SELECT time FROM table_name_5 WHERE event = "team pursuit (8 laps)"</s>
CREATE TABLE table_228973_7 (written_by VARCHAR, no_in_series VARCHAR)
SELECT written_by FROM table_228973_7 WHERE no_in_series = 129
When 129 is the number in the series who is the writer?
<s>[INST]When 129 is the number in the series who is the writer? Context: CREATE TABLE table_228973_7 (written_by VARCHAR, no_in_series VARCHAR)[/INST]SELECT written_by FROM table_228973_7 WHERE no_in_series = 129</s>
CREATE TABLE table_247955_2 (to_par VARCHAR, winning_score VARCHAR)
SELECT to_par FROM table_247955_2 WHERE winning_score = 67 - 64 - 63 - 71 - 66 = 331
What were the shots below par when the winning score was 67-64-63-71-66=331?
<s>[INST]What were the shots below par when the winning score was 67-64-63-71-66=331? Context: CREATE TABLE table_247955_2 (to_par VARCHAR, winning_score VARCHAR)[/INST]SELECT to_par FROM table_247955_2 WHERE winning_score = 67 - 64 - 63 - 71 - 66 = 331</s>
CREATE TABLE HOTELS (pets_allowed_yn VARCHAR, price_range INTEGER)
SELECT pets_allowed_yn, AVG(price_range) FROM HOTELS GROUP BY pets_allowed_yn
Show the average price of hotels for different pet policy.
<s>[INST]Show the average price of hotels for different pet policy. Context: CREATE TABLE HOTELS (pets_allowed_yn VARCHAR, price_range INTEGER)[/INST]SELECT pets_allowed_yn, AVG(price_range) FROM HOTELS GROUP BY pets_allowed_yn</s>
CREATE TABLE table_19864214_3 (no_decisions INTEGER, pitcher VARCHAR)
SELECT MIN(no_decisions) FROM table_19864214_3 WHERE pitcher = "Scott Feldman Category:Articles with hCards"
what is the least number of no decisions for scott feldman category:articles with hcards
<s>[INST]what is the least number of no decisions for scott feldman category:articles with hcards Context: CREATE TABLE table_19864214_3 (no_decisions INTEGER, pitcher VARCHAR)[/INST]SELECT MIN(no_decisions) FROM table_19864214_3 WHERE pitcher = "Scott Feldman Category:Articles with hCards"</s>
CREATE TABLE table_17288825_6 (date VARCHAR, high_assists VARCHAR)
SELECT date FROM table_17288825_6 WHERE high_assists = "Aaron Brooks (6)"
When aaron brooks (6) had the highest amount of assists what is the date?
<s>[INST]When aaron brooks (6) had the highest amount of assists what is the date? Context: CREATE TABLE table_17288825_6 (date VARCHAR, high_assists VARCHAR)[/INST]SELECT date FROM table_17288825_6 WHERE high_assists = "Aaron Brooks (6)"</s>
CREATE TABLE table_name_23 (conference_titles VARCHAR, win__percentage VARCHAR)
SELECT conference_titles FROM table_name_23 WHERE win__percentage = ".667"
What is Conference Titles, when Win % is .667?
<s>[INST]What is Conference Titles, when Win % is .667? Context: CREATE TABLE table_name_23 (conference_titles VARCHAR, win__percentage VARCHAR)[/INST]SELECT conference_titles FROM table_name_23 WHERE win__percentage = ".667"</s>
CREATE TABLE table_name_7 (gold INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT MIN(gold) FROM table_name_7 WHERE rank = "total" AND bronze > 4
What is the smallest number of gold medals corresponding to the total rank with more than 4 bronze medals?
<s>[INST]What is the smallest number of gold medals corresponding to the total rank with more than 4 bronze medals? Context: CREATE TABLE table_name_7 (gold INTEGER, rank VARCHAR, bronze VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_7 WHERE rank = "total" AND bronze > 4</s>
CREATE TABLE table_name_80 (total_goals VARCHAR, total_apps VARCHAR, league_goals VARCHAR)
SELECT COUNT(total_goals) FROM table_name_80 WHERE total_apps = "0 (3)" AND league_goals < 0
How many total goals have 0 (3) as total apps, with league goals less than 0?
<s>[INST]How many total goals have 0 (3) as total apps, with league goals less than 0? Context: CREATE TABLE table_name_80 (total_goals VARCHAR, total_apps VARCHAR, league_goals VARCHAR)[/INST]SELECT COUNT(total_goals) FROM table_name_80 WHERE total_apps = "0 (3)" AND league_goals < 0</s>
CREATE TABLE station (station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR); CREATE TABLE train_station (train_id VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR)
SELECT T2.name FROM train_station AS T1 JOIN train AS T2 ON T1.train_id = T2.train_id WHERE NOT T1.station_id IN (SELECT T4.station_id FROM train_station AS T3 JOIN station AS T4 ON T3.station_id = T4.station_id WHERE t4.location = "London")
Find the names of the trains that do not pass any station located in London.
<s>[INST]Find the names of the trains that do not pass any station located in London. Context: CREATE TABLE station (station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR); CREATE TABLE train_station (train_id VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR)[/INST]SELECT T2.name FROM train_station AS T1 JOIN train AS T2 ON T1.train_id = T2.train_id WHERE NOT T1.station_id IN (SELECT T4.station_id FROM train_station AS T3 JOIN station AS T4 ON T3.station_id = T4.station_id WHERE t4.location = "London")</s>
CREATE TABLE table_name_77 (race_winners VARCHAR, date VARCHAR)
SELECT race_winners FROM table_name_77 WHERE date = "23 june"
What is the race winners for the date of 23 june?
<s>[INST]What is the race winners for the date of 23 june? Context: CREATE TABLE table_name_77 (race_winners VARCHAR, date VARCHAR)[/INST]SELECT race_winners FROM table_name_77 WHERE date = "23 june"</s>
CREATE TABLE table_27781212_1 (points INTEGER, driver VARCHAR)
SELECT MIN(points) FROM table_27781212_1 WHERE driver = "Tommy Kendall"
what are the minimum points for tommy kendall?
<s>[INST]what are the minimum points for tommy kendall? Context: CREATE TABLE table_27781212_1 (points INTEGER, driver VARCHAR)[/INST]SELECT MIN(points) FROM table_27781212_1 WHERE driver = "Tommy Kendall"</s>
CREATE TABLE table_name_84 (circuit VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
SELECT circuit FROM table_name_84 WHERE pole_position = "jack brabham" AND fastest_lap = "graham hill"
What is the name of the circuit when Jack Brabham is in the pole position and Graham Hill has the fastest lap?
<s>[INST]What is the name of the circuit when Jack Brabham is in the pole position and Graham Hill has the fastest lap? Context: CREATE TABLE table_name_84 (circuit VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)[/INST]SELECT circuit FROM table_name_84 WHERE pole_position = "jack brabham" AND fastest_lap = "graham hill"</s>
CREATE TABLE actor (first_name VARCHAR)
SELECT first_name FROM actor GROUP BY first_name ORDER BY COUNT(*) DESC LIMIT 1
What is the most popular first name of the actors?
<s>[INST]What is the most popular first name of the actors? Context: CREATE TABLE actor (first_name VARCHAR)[/INST]SELECT first_name FROM actor GROUP BY first_name ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_45 (year VARCHAR, surface VARCHAR, score VARCHAR)
SELECT COUNT(year) FROM table_name_45 WHERE surface = "clay" AND score = "4 : 0"
How many years have a Surface of clay, and a Score of 4 : 0?
<s>[INST]How many years have a Surface of clay, and a Score of 4 : 0? Context: CREATE TABLE table_name_45 (year VARCHAR, surface VARCHAR, score VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_45 WHERE surface = "clay" AND score = "4 : 0"</s>
CREATE TABLE table_20193855_2 (year VARCHAR, book_title VARCHAR)
SELECT year FROM table_20193855_2 WHERE book_title = "The Ordinary"
Which year is the book title the ordinary?
<s>[INST]Which year is the book title the ordinary? Context: CREATE TABLE table_20193855_2 (year VARCHAR, book_title VARCHAR)[/INST]SELECT year FROM table_20193855_2 WHERE book_title = "The Ordinary"</s>
CREATE TABLE table_name_30 (points VARCHAR, home VARCHAR, date VARCHAR)
SELECT points FROM table_name_30 WHERE home = "pittsburgh" AND date = "november 29"
What points have pittsburgh as the home, and November 29 as the date?
<s>[INST]What points have pittsburgh as the home, and November 29 as the date? Context: CREATE TABLE table_name_30 (points VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT points FROM table_name_30 WHERE home = "pittsburgh" AND date = "november 29"</s>
CREATE TABLE table_name_38 (bit_depth INTEGER, color_sampling VARCHAR)
SELECT SUM(bit_depth) FROM table_name_38 WHERE color_sampling = "4:1:1"
What bit depth has 4:1:1 as the color sampling?
<s>[INST]What bit depth has 4:1:1 as the color sampling? Context: CREATE TABLE table_name_38 (bit_depth INTEGER, color_sampling VARCHAR)[/INST]SELECT SUM(bit_depth) FROM table_name_38 WHERE color_sampling = "4:1:1"</s>
CREATE TABLE technician (Name VARCHAR, Team VARCHAR)
SELECT Name FROM technician WHERE Team <> "NYY"
List the name of technicians whose team is not "NYY".
<s>[INST]List the name of technicians whose team is not "NYY". Context: CREATE TABLE technician (Name VARCHAR, Team VARCHAR)[/INST]SELECT Name FROM technician WHERE Team <> "NYY"</s>
CREATE TABLE table_name_99 (results¹ VARCHAR, type_of_game VARCHAR, date VARCHAR)
SELECT results¹ FROM table_name_99 WHERE type_of_game = "friendly" AND date = "november 22"
On November 22, what were the results of the friendly type game?
<s>[INST]On November 22, what were the results of the friendly type game? Context: CREATE TABLE table_name_99 (results¹ VARCHAR, type_of_game VARCHAR, date VARCHAR)[/INST]SELECT results¹ FROM table_name_99 WHERE type_of_game = "friendly" AND date = "november 22"</s>
CREATE TABLE table_name_99 (Id VARCHAR)
SELECT 2005 FROM table_name_99 WHERE 2008 = "grand slam tournaments"
What is the 2005 when the 2008 shows grand slam tournaments?
<s>[INST]What is the 2005 when the 2008 shows grand slam tournaments? Context: CREATE TABLE table_name_99 (Id VARCHAR)[/INST]SELECT 2005 FROM table_name_99 WHERE 2008 = "grand slam tournaments"</s>
CREATE TABLE table_name_88 (original_title VARCHAR, language VARCHAR)
SELECT original_title FROM table_name_88 WHERE language = "hindi"
What was the original title of the Hindi film?
<s>[INST]What was the original title of the Hindi film? Context: CREATE TABLE table_name_88 (original_title VARCHAR, language VARCHAR)[/INST]SELECT original_title FROM table_name_88 WHERE language = "hindi"</s>
CREATE TABLE table_name_26 (venue VARCHAR, against VARCHAR)
SELECT venue FROM table_name_26 WHERE against = 25
Which Venue has an Against of 25?
<s>[INST]Which Venue has an Against of 25? Context: CREATE TABLE table_name_26 (venue VARCHAR, against VARCHAR)[/INST]SELECT venue FROM table_name_26 WHERE against = 25</s>
CREATE TABLE table_name_84 (year VARCHAR, nominee VARCHAR)
SELECT COUNT(year) FROM table_name_84 WHERE nominee = "simon baker"
How many years does simon baker appear as a nominee?
<s>[INST]How many years does simon baker appear as a nominee? Context: CREATE TABLE table_name_84 (year VARCHAR, nominee VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_84 WHERE nominee = "simon baker"</s>
CREATE TABLE table_1929755_1 (wins VARCHAR, winnings VARCHAR)
SELECT COUNT(wins) FROM table_1929755_1 WHERE winnings = "$2,089,556"
How many teams won $2,089,556?
<s>[INST]How many teams won $2,089,556? Context: CREATE TABLE table_1929755_1 (wins VARCHAR, winnings VARCHAR)[/INST]SELECT COUNT(wins) FROM table_1929755_1 WHERE winnings = "$2,089,556"</s>
CREATE TABLE table_29697744_1 (season VARCHAR, position VARCHAR)
SELECT season FROM table_29697744_1 WHERE position = "5th"
in which year the season was in 5th position
<s>[INST]in which year the season was in 5th position Context: CREATE TABLE table_29697744_1 (season VARCHAR, position VARCHAR)[/INST]SELECT season FROM table_29697744_1 WHERE position = "5th"</s>
CREATE TABLE table_name_18 (roll INTEGER, name VARCHAR)
SELECT AVG(roll) FROM table_name_18 WHERE name = "fairfield school"
What is the average roll for Fairfield school?
<s>[INST]What is the average roll for Fairfield school? Context: CREATE TABLE table_name_18 (roll INTEGER, name VARCHAR)[/INST]SELECT AVG(roll) FROM table_name_18 WHERE name = "fairfield school"</s>
CREATE TABLE table_name_49 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_49 WHERE score = 79 - 68 - 74 = 212
Which Country has a Score of 79-68-74=212?
<s>[INST]Which Country has a Score of 79-68-74=212? Context: CREATE TABLE table_name_49 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_49 WHERE score = 79 - 68 - 74 = 212</s>
CREATE TABLE table_20170644_1 (cfl_team VARCHAR, player VARCHAR)
SELECT cfl_team FROM table_20170644_1 WHERE player = "Simeon Rottier"
What CFL team did simeon rottier play for?
<s>[INST]What CFL team did simeon rottier play for? Context: CREATE TABLE table_20170644_1 (cfl_team VARCHAR, player VARCHAR)[/INST]SELECT cfl_team FROM table_20170644_1 WHERE player = "Simeon Rottier"</s>
CREATE TABLE table_name_36 (location VARCHAR, year VARCHAR, date VARCHAR)
SELECT location FROM table_name_36 WHERE year > 1974 AND date = "september 19"
what is the location when the year is after 1974 and the date is september 19?
<s>[INST]what is the location when the year is after 1974 and the date is september 19? Context: CREATE TABLE table_name_36 (location VARCHAR, year VARCHAR, date VARCHAR)[/INST]SELECT location FROM table_name_36 WHERE year > 1974 AND date = "september 19"</s>
CREATE TABLE table_24776075_2 (final_score VARCHAR, date VARCHAR)
SELECT final_score FROM table_24776075_2 WHERE date = "Saturday, May 25"
What was the final score on Saturday, May 25?
<s>[INST]What was the final score on Saturday, May 25? Context: CREATE TABLE table_24776075_2 (final_score VARCHAR, date VARCHAR)[/INST]SELECT final_score FROM table_24776075_2 WHERE date = "Saturday, May 25"</s>
CREATE TABLE table_21321804_1 (pick__number VARCHAR, player VARCHAR)
SELECT pick__number FROM table_21321804_1 WHERE player = "Wes Lysack"
What is the pick # for player wes lysack?
<s>[INST]What is the pick # for player wes lysack? Context: CREATE TABLE table_21321804_1 (pick__number VARCHAR, player VARCHAR)[/INST]SELECT pick__number FROM table_21321804_1 WHERE player = "Wes Lysack"</s>
CREATE TABLE table_name_80 (mlb_draft VARCHAR, school VARCHAR)
SELECT mlb_draft FROM table_name_80 WHERE school = "seton hall preparatory school"
What is the MLB Draft status of the person who attended Seton Hall Preparatory School?
<s>[INST]What is the MLB Draft status of the person who attended Seton Hall Preparatory School? Context: CREATE TABLE table_name_80 (mlb_draft VARCHAR, school VARCHAR)[/INST]SELECT mlb_draft FROM table_name_80 WHERE school = "seton hall preparatory school"</s>
CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_32 WHERE date = "16 august 2006"
What was the score of the game played on 16 August 2006?
<s>[INST]What was the score of the game played on 16 August 2006? Context: CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_32 WHERE date = "16 august 2006"</s>
CREATE TABLE table_1341522_41 (opponent VARCHAR, incumbent VARCHAR)
SELECT opponent FROM table_1341522_41 WHERE incumbent = "Bud Shuster"
Who was in the election that was for incumbent bud shuster's seat?
<s>[INST]Who was in the election that was for incumbent bud shuster's seat? Context: CREATE TABLE table_1341522_41 (opponent VARCHAR, incumbent VARCHAR)[/INST]SELECT opponent FROM table_1341522_41 WHERE incumbent = "Bud Shuster"</s>
CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, location VARCHAR)
SELECT copies_per_particle FROM table_140968_1 WHERE location = "Forms inner shell of the core"
How many copoes per particle are created in the segment that forms inner shell of the core?
<s>[INST]How many copoes per particle are created in the segment that forms inner shell of the core? Context: CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, location VARCHAR)[/INST]SELECT copies_per_particle FROM table_140968_1 WHERE location = "Forms inner shell of the core"</s>
CREATE TABLE table_name_11 (title VARCHAR, rank VARCHAR, worldwide_gross VARCHAR)
SELECT title FROM table_name_11 WHERE rank < 17 AND worldwide_gross = "$299,288,605"
what is the title when the rank is less than 17 and the worldwide gross is $299,288,605?
<s>[INST]what is the title when the rank is less than 17 and the worldwide gross is $299,288,605? Context: CREATE TABLE table_name_11 (title VARCHAR, rank VARCHAR, worldwide_gross VARCHAR)[/INST]SELECT title FROM table_name_11 WHERE rank < 17 AND worldwide_gross = "$299,288,605"</s>
CREATE TABLE table_name_74 (total VARCHAR, gold VARCHAR, bronze VARCHAR, nation VARCHAR)
SELECT COUNT(total) FROM table_name_74 WHERE bronze > 1 AND nation = "west germany" AND gold > 2
What is the total number of medals for West Germany with more than 1 bronze medal and more than 2 gold medals?
<s>[INST]What is the total number of medals for West Germany with more than 1 bronze medal and more than 2 gold medals? Context: CREATE TABLE table_name_74 (total VARCHAR, gold VARCHAR, bronze VARCHAR, nation VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_74 WHERE bronze > 1 AND nation = "west germany" AND gold > 2</s>
CREATE TABLE table_name_87 (game VARCHAR, location VARCHAR, points VARCHAR)
SELECT COUNT(game) FROM table_name_87 WHERE location = "toronto" AND points < 31
What is the total number of games at Toronto with less than 31 points?
<s>[INST]What is the total number of games at Toronto with less than 31 points? Context: CREATE TABLE table_name_87 (game VARCHAR, location VARCHAR, points VARCHAR)[/INST]SELECT COUNT(game) FROM table_name_87 WHERE location = "toronto" AND points < 31</s>
CREATE TABLE table_name_65 (team VARCHAR, home_city VARCHAR)
SELECT team FROM table_name_65 WHERE home_city = "zadar"
What team that has a Home city of Zadar?
<s>[INST]What team that has a Home city of Zadar? Context: CREATE TABLE table_name_65 (team VARCHAR, home_city VARCHAR)[/INST]SELECT team FROM table_name_65 WHERE home_city = "zadar"</s>
CREATE TABLE table_name_21 (revenue__ VARCHAR, operating_income__$m_ VARCHAR, country VARCHAR, team VARCHAR)
SELECT COUNT(revenue__) AS $m_ FROM table_name_21 WHERE country = "italy" AND team = "internazionale" AND operating_income__$m_ < 27
Name the total number of revenue for italy with team of internazionale with operating income less than 27
<s>[INST]Name the total number of revenue for italy with team of internazionale with operating income less than 27 Context: CREATE TABLE table_name_21 (revenue__ VARCHAR, operating_income__$m_ VARCHAR, country VARCHAR, team VARCHAR)[/INST]SELECT COUNT(revenue__) AS $m_ FROM table_name_21 WHERE country = "italy" AND team = "internazionale" AND operating_income__$m_ < 27</s>
CREATE TABLE table_name_93 (debut_album VARCHAR, season VARCHAR)
SELECT debut_album FROM table_name_93 WHERE season = "season 2 (2005)"
Which album debuted in season 2 (2005)?
<s>[INST]Which album debuted in season 2 (2005)? Context: CREATE TABLE table_name_93 (debut_album VARCHAR, season VARCHAR)[/INST]SELECT debut_album FROM table_name_93 WHERE season = "season 2 (2005)"</s>
CREATE TABLE table_name_17 (pens VARCHAR, draw VARCHAR, player VARCHAR)
SELECT pens FROM table_name_17 WHERE draw = "0" AND player = "sione mafi pahulu"
What pens have a draw of 0 when the player is sione mafi pahulu?
<s>[INST]What pens have a draw of 0 when the player is sione mafi pahulu? Context: CREATE TABLE table_name_17 (pens VARCHAR, draw VARCHAR, player VARCHAR)[/INST]SELECT pens FROM table_name_17 WHERE draw = "0" AND player = "sione mafi pahulu"</s>
CREATE TABLE table_name_38 (season INTEGER, profile VARCHAR)
SELECT MIN(season) FROM table_name_38 WHERE profile = "advertising account manager"
What is the earliest season with an advertising account manager profile?
<s>[INST]What is the earliest season with an advertising account manager profile? Context: CREATE TABLE table_name_38 (season INTEGER, profile VARCHAR)[/INST]SELECT MIN(season) FROM table_name_38 WHERE profile = "advertising account manager"</s>
CREATE TABLE table_name_44 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_44 WHERE away_team = "fitzroy"
How many people attended the game where Fitzroy was the away team?
<s>[INST]How many people attended the game where Fitzroy was the away team? Context: CREATE TABLE table_name_44 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_44 WHERE away_team = "fitzroy"</s>
CREATE TABLE table_name_10 (date VARCHAR, circuit VARCHAR, fastest_lap VARCHAR)
SELECT date FROM table_name_10 WHERE circuit = "snetterton" AND fastest_lap = "riki christodoulou"
What date was the circuit, snetterton, when riki christodoulou had the fastest lap?
<s>[INST]What date was the circuit, snetterton, when riki christodoulou had the fastest lap? Context: CREATE TABLE table_name_10 (date VARCHAR, circuit VARCHAR, fastest_lap VARCHAR)[/INST]SELECT date FROM table_name_10 WHERE circuit = "snetterton" AND fastest_lap = "riki christodoulou"</s>
CREATE TABLE table_name_7 (score VARCHAR, result VARCHAR)
SELECT score FROM table_name_7 WHERE result = "5-0"
What is the Score of the Competition with a Result of 5-0?
<s>[INST]What is the Score of the Competition with a Result of 5-0? Context: CREATE TABLE table_name_7 (score VARCHAR, result VARCHAR)[/INST]SELECT score FROM table_name_7 WHERE result = "5-0"</s>
CREATE TABLE table_name_84 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_84 WHERE grid > 3 AND driver = "eddie irvine"
What is the time/retired for eddie irvine with a grid of greater than 3?
<s>[INST]What is the time/retired for eddie irvine with a grid of greater than 3? Context: CREATE TABLE table_name_84 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_84 WHERE grid > 3 AND driver = "eddie irvine"</s>
CREATE TABLE table_name_44 (points_for VARCHAR, losing_bonus VARCHAR, points_against VARCHAR)
SELECT points_for FROM table_name_44 WHERE losing_bonus = "2" AND points_against = "300"
How many points did the club with a losing bonus of 2 and 300 points against have?
<s>[INST]How many points did the club with a losing bonus of 2 and 300 points against have? Context: CREATE TABLE table_name_44 (points_for VARCHAR, losing_bonus VARCHAR, points_against VARCHAR)[/INST]SELECT points_for FROM table_name_44 WHERE losing_bonus = "2" AND points_against = "300"</s>
CREATE TABLE ship (TYPE VARCHAR, Nationality VARCHAR)
SELECT TYPE, Nationality FROM ship
What are the type and nationality of ships?
<s>[INST]What are the type and nationality of ships? Context: CREATE TABLE ship (TYPE VARCHAR, Nationality VARCHAR)[/INST]SELECT TYPE, Nationality FROM ship</s>
CREATE TABLE table_23394920_1 (branding VARCHAR, power_kw VARCHAR, station_type VARCHAR)
SELECT branding FROM table_23394920_1 WHERE power_kw = "5kW" AND station_type = "Relay"
When relay is the station type and 5kw is the power kw what is the branding?
<s>[INST]When relay is the station type and 5kw is the power kw what is the branding? Context: CREATE TABLE table_23394920_1 (branding VARCHAR, power_kw VARCHAR, station_type VARCHAR)[/INST]SELECT branding FROM table_23394920_1 WHERE power_kw = "5kW" AND station_type = "Relay"</s>
CREATE TABLE table_name_65 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_65 WHERE venue = "western oval"
What was the home team score when the VFL played at Western Oval?
<s>[INST]What was the home team score when the VFL played at Western Oval? Context: CREATE TABLE table_name_65 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_65 WHERE venue = "western oval"</s>
CREATE TABLE table_name_30 (draws INTEGER, central_murray VARCHAR, byes VARCHAR)
SELECT AVG(draws) FROM table_name_30 WHERE central_murray = "leitchville gunbower" AND byes < 0
What is the average number of draws of the central murray of leitchville gunbower, which has less than 0 byes?
<s>[INST]What is the average number of draws of the central murray of leitchville gunbower, which has less than 0 byes? Context: CREATE TABLE table_name_30 (draws INTEGER, central_murray VARCHAR, byes VARCHAR)[/INST]SELECT AVG(draws) FROM table_name_30 WHERE central_murray = "leitchville gunbower" AND byes < 0</s>
CREATE TABLE table_name_11 (school_club_team_country VARCHAR, height_in_ft VARCHAR)
SELECT school_club_team_country FROM table_name_11 WHERE height_in_ft = "6-5"
Name the school/club team/country for the player that is 6-5 ft
<s>[INST]Name the school/club team/country for the player that is 6-5 ft Context: CREATE TABLE table_name_11 (school_club_team_country VARCHAR, height_in_ft VARCHAR)[/INST]SELECT school_club_team_country FROM table_name_11 WHERE height_in_ft = "6-5"</s>
CREATE TABLE table_name_22 (car__number INTEGER, sponsor VARCHAR, season VARCHAR)
SELECT MIN(car__number) FROM table_name_22 WHERE sponsor = "ups" AND season < 2001
What is the lowest car number sponsored by UPS before 2001?
<s>[INST]What is the lowest car number sponsored by UPS before 2001? Context: CREATE TABLE table_name_22 (car__number INTEGER, sponsor VARCHAR, season VARCHAR)[/INST]SELECT MIN(car__number) FROM table_name_22 WHERE sponsor = "ups" AND season < 2001</s>
CREATE TABLE table_name_61 (to_par VARCHAR, total VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_61 WHERE total < 284 AND player = "jeff sluman"
What was Jeff Sluman's To par when his total was smaller than 284?
<s>[INST]What was Jeff Sluman's To par when his total was smaller than 284? Context: CREATE TABLE table_name_61 (to_par VARCHAR, total VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_61 WHERE total < 284 AND player = "jeff sluman"</s>
CREATE TABLE table_name_44 (record VARCHAR, game VARCHAR)
SELECT record FROM table_name_44 WHERE game = 14
What was the rangers' record on Game 14?
<s>[INST]What was the rangers' record on Game 14? Context: CREATE TABLE table_name_44 (record VARCHAR, game VARCHAR)[/INST]SELECT record FROM table_name_44 WHERE game = 14</s>
CREATE TABLE table_name_90 (tourism_competitiveness__2011___ttci_ VARCHAR, country VARCHAR)
SELECT tourism_competitiveness__2011___ttci_ FROM table_name_90 WHERE country = "venezuela"
What is the tourism competitiveness in 2011 of venezuela?
<s>[INST]What is the tourism competitiveness in 2011 of venezuela? Context: CREATE TABLE table_name_90 (tourism_competitiveness__2011___ttci_ VARCHAR, country VARCHAR)[/INST]SELECT tourism_competitiveness__2011___ttci_ FROM table_name_90 WHERE country = "venezuela"</s>
CREATE TABLE table_name_5 (set_2 VARCHAR, set_3 VARCHAR, time VARCHAR)
SELECT set_2 FROM table_name_5 WHERE set_3 = "25–20" AND time = "13:45"
Which Set 2 has a Set 3 of 25–20, and a Time of 13:45?
<s>[INST]Which Set 2 has a Set 3 of 25–20, and a Time of 13:45? Context: CREATE TABLE table_name_5 (set_2 VARCHAR, set_3 VARCHAR, time VARCHAR)[/INST]SELECT set_2 FROM table_name_5 WHERE set_3 = "25–20" AND time = "13:45"</s>
CREATE TABLE table_name_28 (overall VARCHAR, position VARCHAR, player VARCHAR)
SELECT COUNT(overall) FROM table_name_28 WHERE position = "wide receiver" AND player = "tom fleming"
What was the overall draft number of Tom Fleming, a wide receiver?
<s>[INST]What was the overall draft number of Tom Fleming, a wide receiver? Context: CREATE TABLE table_name_28 (overall VARCHAR, position VARCHAR, player VARCHAR)[/INST]SELECT COUNT(overall) FROM table_name_28 WHERE position = "wide receiver" AND player = "tom fleming"</s>
CREATE TABLE table_name_60 (broadcast_date VARCHAR, run_time VARCHAR)
SELECT broadcast_date FROM table_name_60 WHERE run_time = "24:44"
What was the broadcaste date for the episode with a run time of 24:44?
<s>[INST]What was the broadcaste date for the episode with a run time of 24:44? Context: CREATE TABLE table_name_60 (broadcast_date VARCHAR, run_time VARCHAR)[/INST]SELECT broadcast_date FROM table_name_60 WHERE run_time = "24:44"</s>
CREATE TABLE table_name_77 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_77 WHERE player = "brian gay"
What is Brian Gay's place?
<s>[INST]What is Brian Gay's place? Context: CREATE TABLE table_name_77 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_77 WHERE player = "brian gay"</s>
CREATE TABLE table_name_14 (grüne VARCHAR, rettö VARCHAR, state VARCHAR)
SELECT grüne FROM table_name_14 WHERE rettö = "0.6%" AND state = "tyrol"
What percent did GRÜNE get in Tyrol where RETTÖ got 0.6%?
<s>[INST]What percent did GRÜNE get in Tyrol where RETTÖ got 0.6%? Context: CREATE TABLE table_name_14 (grüne VARCHAR, rettö VARCHAR, state VARCHAR)[/INST]SELECT grüne FROM table_name_14 WHERE rettö = "0.6%" AND state = "tyrol"</s>
CREATE TABLE table_name_29 (xenon VARCHAR, helium VARCHAR)
SELECT xenon FROM table_name_29 WHERE helium = "5.1"
Which Xenon has a Helium of 5.1?
<s>[INST]Which Xenon has a Helium of 5.1? Context: CREATE TABLE table_name_29 (xenon VARCHAR, helium VARCHAR)[/INST]SELECT xenon FROM table_name_29 WHERE helium = "5.1"</s>
CREATE TABLE table_name_45 (away_team VARCHAR, time VARCHAR)
SELECT away_team FROM table_name_45 WHERE time = "18:30"
What was the away team for the match that had a time of 18:30?
<s>[INST]What was the away team for the match that had a time of 18:30? Context: CREATE TABLE table_name_45 (away_team VARCHAR, time VARCHAR)[/INST]SELECT away_team FROM table_name_45 WHERE time = "18:30"</s>
CREATE TABLE table_name_58 (year VARCHAR, edition VARCHAR)
SELECT year FROM table_name_58 WHERE edition = "41st"
Which Year has an Edition of 41st?
<s>[INST]Which Year has an Edition of 41st? Context: CREATE TABLE table_name_58 (year VARCHAR, edition VARCHAR)[/INST]SELECT year FROM table_name_58 WHERE edition = "41st"</s>
CREATE TABLE table_name_53 (total VARCHAR, set_3 VARCHAR)
SELECT total FROM table_name_53 WHERE set_3 = "13–25"
Which Total has a Set 3 of 13–25?
<s>[INST]Which Total has a Set 3 of 13–25? Context: CREATE TABLE table_name_53 (total VARCHAR, set_3 VARCHAR)[/INST]SELECT total FROM table_name_53 WHERE set_3 = "13–25"</s>
CREATE TABLE table_name_23 (week_1 VARCHAR, week_3 VARCHAR)
SELECT week_1 FROM table_name_23 WHERE week_3 = "ava hart"
Who was the girl on week 1 that was previous to week 3's Ava Hart?
<s>[INST]Who was the girl on week 1 that was previous to week 3's Ava Hart? Context: CREATE TABLE table_name_23 (week_1 VARCHAR, week_3 VARCHAR)[/INST]SELECT week_1 FROM table_name_23 WHERE week_3 = "ava hart"</s>
CREATE TABLE table_21284653_1 (census_division VARCHAR, name VARCHAR)
SELECT census_division FROM table_21284653_1 WHERE name = "Kenora"
What is the census division for the city named Kenora?
<s>[INST]What is the census division for the city named Kenora? Context: CREATE TABLE table_21284653_1 (census_division VARCHAR, name VARCHAR)[/INST]SELECT census_division FROM table_21284653_1 WHERE name = "Kenora"</s>
CREATE TABLE table_name_31 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_31 WHERE opponent = "@ indiana pacers"
For the game where the opponent is listed as @ Indiana Pacers, what was the end record?
<s>[INST]For the game where the opponent is listed as @ Indiana Pacers, what was the end record? Context: CREATE TABLE table_name_31 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_31 WHERE opponent = "@ indiana pacers"</s>
CREATE TABLE table_name_87 (date VARCHAR, format VARCHAR)
SELECT date FROM table_name_87 WHERE format = "cd"
What is the Date with a Format that is cd?
<s>[INST]What is the Date with a Format that is cd? Context: CREATE TABLE table_name_87 (date VARCHAR, format VARCHAR)[/INST]SELECT date FROM table_name_87 WHERE format = "cd"</s>
CREATE TABLE table_name_18 (place VARCHAR, country VARCHAR)
SELECT place FROM table_name_18 WHERE country = "new zealand"
What is the Place of the Player from New Zealand?
<s>[INST]What is the Place of the Player from New Zealand? Context: CREATE TABLE table_name_18 (place VARCHAR, country VARCHAR)[/INST]SELECT place FROM table_name_18 WHERE country = "new zealand"</s>
CREATE TABLE table_name_28 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_28 WHERE record = "54-69"
When was the game with a record of 54-69?
<s>[INST]When was the game with a record of 54-69? Context: CREATE TABLE table_name_28 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_28 WHERE record = "54-69"</s>
CREATE TABLE table_2226817_12 (original_air_date VARCHAR, production_code VARCHAR)
SELECT COUNT(original_air_date) FROM table_2226817_12 WHERE production_code = "11.19"
when was the episode premiere if the production code is 11.19?
<s>[INST]when was the episode premiere if the production code is 11.19? Context: CREATE TABLE table_2226817_12 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT COUNT(original_air_date) FROM table_2226817_12 WHERE production_code = "11.19"</s>
CREATE TABLE table_16729071_1 (week VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_16729071_1 WHERE attendance = 60038
How many weeks had an attendance of 60038?
<s>[INST]How many weeks had an attendance of 60038? Context: CREATE TABLE table_16729071_1 (week VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(week) FROM table_16729071_1 WHERE attendance = 60038</s>
CREATE TABLE table_name_65 (date VARCHAR, format VARCHAR, label VARCHAR)
SELECT date FROM table_name_65 WHERE format = "vinyl" AND label = "mercury"
What is Date, when Format is Vinyl, and when Label is Mercury?
<s>[INST]What is Date, when Format is Vinyl, and when Label is Mercury? Context: CREATE TABLE table_name_65 (date VARCHAR, format VARCHAR, label VARCHAR)[/INST]SELECT date FROM table_name_65 WHERE format = "vinyl" AND label = "mercury"</s>
CREATE TABLE table_name_9 (tankers VARCHAR, staffing VARCHAR, hazmat VARCHAR, platforms VARCHAR)
SELECT tankers FROM table_name_9 WHERE hazmat = "–" AND platforms = "–" AND staffing = "volunteer"
Which Tankers have a Hazmat of –, and Platforms of –, and a Staffing of volunteer?
<s>[INST]Which Tankers have a Hazmat of –, and Platforms of –, and a Staffing of volunteer? Context: CREATE TABLE table_name_9 (tankers VARCHAR, staffing VARCHAR, hazmat VARCHAR, platforms VARCHAR)[/INST]SELECT tankers FROM table_name_9 WHERE hazmat = "–" AND platforms = "–" AND staffing = "volunteer"</s>
CREATE TABLE table_name_25 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_25 WHERE venue = "princes park"
What the date of the game of the team that plays in princes park?
<s>[INST]What the date of the game of the team that plays in princes park? Context: CREATE TABLE table_name_25 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_25 WHERE venue = "princes park"</s>
CREATE TABLE table_29547777_1 (original_performer VARCHAR, episode VARCHAR)
SELECT original_performer FROM table_29547777_1 WHERE episode = "Casting"
Who is the original performer when the episode is casting?
<s>[INST]Who is the original performer when the episode is casting? Context: CREATE TABLE table_29547777_1 (original_performer VARCHAR, episode VARCHAR)[/INST]SELECT original_performer FROM table_29547777_1 WHERE episode = "Casting"</s>
CREATE TABLE table_name_26 (investment_earnings VARCHAR, state_ VARCHAR, _federal VARCHAR)
SELECT investment_earnings FROM table_name_26 WHERE state_ & _federal = "13,999,169"
What were the investment earnings in the year that State and Federal taxes were $13,999,169?
<s>[INST]What were the investment earnings in the year that State and Federal taxes were $13,999,169? Context: CREATE TABLE table_name_26 (investment_earnings VARCHAR, state_ VARCHAR, _federal VARCHAR)[/INST]SELECT investment_earnings FROM table_name_26 WHERE state_ & _federal = "13,999,169"</s>
CREATE TABLE table_name_6 (top_10 INTEGER, events VARCHAR, top_5 VARCHAR)
SELECT AVG(top_10) FROM table_name_6 WHERE events < 57 AND top_5 < 0
What is the average number of top-10s for events under 57 and 0 top-5s?
<s>[INST]What is the average number of top-10s for events under 57 and 0 top-5s? Context: CREATE TABLE table_name_6 (top_10 INTEGER, events VARCHAR, top_5 VARCHAR)[/INST]SELECT AVG(top_10) FROM table_name_6 WHERE events < 57 AND top_5 < 0</s>
CREATE TABLE table_name_72 (attendance VARCHAR, round VARCHAR)
SELECT COUNT(attendance) FROM table_name_72 WHERE round = "f"
How many people attended round f?
<s>[INST]How many people attended round f? Context: CREATE TABLE table_name_72 (attendance VARCHAR, round VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_72 WHERE round = "f"</s>
CREATE TABLE table_26202847_6 (championship VARCHAR, score_in_the_final VARCHAR)
SELECT championship FROM table_26202847_6 WHERE score_in_the_final = "6–1, 3–6, 3–6"
Where is the championship where 6–1, 3–6, 3–6 is the score in the final?
<s>[INST]Where is the championship where 6–1, 3–6, 3–6 is the score in the final? Context: CREATE TABLE table_26202847_6 (championship VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT championship FROM table_26202847_6 WHERE score_in_the_final = "6–1, 3–6, 3–6"</s>
CREATE TABLE table_16388478_2 (ground VARCHAR, home_team VARCHAR)
SELECT COUNT(ground) FROM table_16388478_2 WHERE home_team = "Sydney"
How many locations were there when sydney was the home team?
<s>[INST]How many locations were there when sydney was the home team? Context: CREATE TABLE table_16388478_2 (ground VARCHAR, home_team VARCHAR)[/INST]SELECT COUNT(ground) FROM table_16388478_2 WHERE home_team = "Sydney"</s>
CREATE TABLE table_1104312_5 (original_name VARCHAR, population_at_2010_census VARCHAR)
SELECT original_name FROM table_1104312_5 WHERE population_at_2010_census = 210450
What are the original names of the districts where the population in the 2010 census was 210450?
<s>[INST]What are the original names of the districts where the population in the 2010 census was 210450? Context: CREATE TABLE table_1104312_5 (original_name VARCHAR, population_at_2010_census VARCHAR)[/INST]SELECT original_name FROM table_1104312_5 WHERE population_at_2010_census = 210450</s>
CREATE TABLE table_name_85 (capacity INTEGER, city VARCHAR, stadium VARCHAR)
SELECT AVG(capacity) FROM table_name_85 WHERE city = "london" AND stadium = "queen's club"
Which Capacity has a City of london, and a Stadium of queen's club?
<s>[INST]Which Capacity has a City of london, and a Stadium of queen's club? Context: CREATE TABLE table_name_85 (capacity INTEGER, city VARCHAR, stadium VARCHAR)[/INST]SELECT AVG(capacity) FROM table_name_85 WHERE city = "london" AND stadium = "queen's club"</s>
CREATE TABLE table_29012710_1 (number_of_dairy_cows INTEGER, province VARCHAR)
SELECT MIN(number_of_dairy_cows) FROM table_29012710_1 WHERE province = "Ontario"
what is the least amount of milk cattle in ontario
<s>[INST]what is the least amount of milk cattle in ontario Context: CREATE TABLE table_29012710_1 (number_of_dairy_cows INTEGER, province VARCHAR)[/INST]SELECT MIN(number_of_dairy_cows) FROM table_29012710_1 WHERE province = "Ontario"</s>
CREATE TABLE table_name_23 (losses INTEGER, goals_for INTEGER)
SELECT AVG(losses) FROM table_name_23 WHERE goals_for > 22
What is the average losses for 22 goals?
<s>[INST]What is the average losses for 22 goals? Context: CREATE TABLE table_name_23 (losses INTEGER, goals_for INTEGER)[/INST]SELECT AVG(losses) FROM table_name_23 WHERE goals_for > 22</s>