context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_90 (_number___county VARCHAR, year_joined VARCHAR, location VARCHAR)
SELECT _number___county FROM table_name_90 WHERE year_joined < 1981 AND location = "chalmers"
which # / county is correct for year less than 1981 and chalmers as location?
<s>[INST]which # / county is correct for year less than 1981 and chalmers as location? Context: CREATE TABLE table_name_90 (_number___county VARCHAR, year_joined VARCHAR, location VARCHAR)[/INST]SELECT _number___county FROM table_name_90 WHERE year_joined < 1981 AND location = "chalmers"</s>
CREATE TABLE table_26041144_11 (rank VARCHAR, average VARCHAR)
SELECT rank FROM table_26041144_11 WHERE average = "39.69"
What is the rank of the player with the 39.69 average?
<s>[INST]What is the rank of the player with the 39.69 average? Context: CREATE TABLE table_26041144_11 (rank VARCHAR, average VARCHAR)[/INST]SELECT rank FROM table_26041144_11 WHERE average = "39.69"</s>
CREATE TABLE table_name_12 (transfer_window VARCHAR, moving_to VARCHAR)
SELECT transfer_window FROM table_name_12 WHERE moving_to = "realmadrid"
Name the transfer window of realmadrid
<s>[INST]Name the transfer window of realmadrid Context: CREATE TABLE table_name_12 (transfer_window VARCHAR, moving_to VARCHAR)[/INST]SELECT transfer_window FROM table_name_12 WHERE moving_to = "realmadrid"</s>
CREATE TABLE table_name_16 (peak VARCHAR, hk_viewers VARCHAR, finale VARCHAR)
SELECT COUNT(peak) FROM table_name_16 WHERE hk_viewers = "1.97 million" AND finale > 33
With 1.97 million HK viewers and a finale more than 33, what was the total number of peaks?
<s>[INST]With 1.97 million HK viewers and a finale more than 33, what was the total number of peaks? Context: CREATE TABLE table_name_16 (peak VARCHAR, hk_viewers VARCHAR, finale VARCHAR)[/INST]SELECT COUNT(peak) FROM table_name_16 WHERE hk_viewers = "1.97 million" AND finale > 33</s>
CREATE TABLE table_name_42 (pick__number INTEGER, cfl_team VARCHAR)
SELECT MAX(pick__number) FROM table_name_42 WHERE cfl_team = "winnipeg blue bombers"
what is the highest pick number of the CFL team, the winnipeg blue bombers?
<s>[INST]what is the highest pick number of the CFL team, the winnipeg blue bombers? Context: CREATE TABLE table_name_42 (pick__number INTEGER, cfl_team VARCHAR)[/INST]SELECT MAX(pick__number) FROM table_name_42 WHERE cfl_team = "winnipeg blue bombers"</s>
CREATE TABLE table_name_18 (events INTEGER, tournament VARCHAR, top_5 VARCHAR)
SELECT AVG(events) FROM table_name_18 WHERE tournament = "the open championship" AND top_5 < 1
What is the average event for the Open Championship Tournament, and a Top-5 less than 1?
<s>[INST]What is the average event for the Open Championship Tournament, and a Top-5 less than 1? Context: CREATE TABLE table_name_18 (events INTEGER, tournament VARCHAR, top_5 VARCHAR)[/INST]SELECT AVG(events) FROM table_name_18 WHERE tournament = "the open championship" AND top_5 < 1</s>
CREATE TABLE table_name_70 (avg INTEGER, long VARCHAR)
SELECT SUM(avg) FROM table_name_70 WHERE long = 32
What is the sum of averages with a long value of 32?
<s>[INST]What is the sum of averages with a long value of 32? Context: CREATE TABLE table_name_70 (avg INTEGER, long VARCHAR)[/INST]SELECT SUM(avg) FROM table_name_70 WHERE long = 32</s>
CREATE TABLE table_name_98 (percent_decline_from_peak_population VARCHAR, peak_population__year_ VARCHAR)
SELECT percent_decline_from_peak_population FROM table_name_98 WHERE peak_population__year_ = "178320 (1960)"
what is the percent decline from peak population when the peak population (year) is 178320 (1960)?
<s>[INST]what is the percent decline from peak population when the peak population (year) is 178320 (1960)? Context: CREATE TABLE table_name_98 (percent_decline_from_peak_population VARCHAR, peak_population__year_ VARCHAR)[/INST]SELECT percent_decline_from_peak_population FROM table_name_98 WHERE peak_population__year_...
CREATE TABLE table_name_77 (result VARCHAR, road_team VARCHAR, game VARCHAR)
SELECT result FROM table_name_77 WHERE road_team = "san francisco" AND game = "game 2"
Which Result has a Road Team of san francisco, and a Game of game 2?
<s>[INST]Which Result has a Road Team of san francisco, and a Game of game 2? Context: CREATE TABLE table_name_77 (result VARCHAR, road_team VARCHAR, game VARCHAR)[/INST]SELECT result FROM table_name_77 WHERE road_team = "san francisco" AND game = "game 2"</s>
CREATE TABLE table_name_88 (Id VARCHAR)
SELECT 1988 FROM table_name_88 WHERE 1987 = "1r"
What is the 1988 value when the 1987 value was 1r?
<s>[INST]What is the 1988 value when the 1987 value was 1r? Context: CREATE TABLE table_name_88 (Id VARCHAR)[/INST]SELECT 1988 FROM table_name_88 WHERE 1987 = "1r"</s>
CREATE TABLE table_name_30 (surface VARCHAR, city VARCHAR, tournament VARCHAR)
SELECT surface FROM table_name_30 WHERE city = "caracas" AND tournament = "venezuela f5 futures"
On what Surface will the Venezuela F5 Futures in Caracas be played?
<s>[INST]On what Surface will the Venezuela F5 Futures in Caracas be played? Context: CREATE TABLE table_name_30 (surface VARCHAR, city VARCHAR, tournament VARCHAR)[/INST]SELECT surface FROM table_name_30 WHERE city = "caracas" AND tournament = "venezuela f5 futures"</s>
CREATE TABLE table_name_36 (draw VARCHAR, lost VARCHAR, match VARCHAR)
SELECT COUNT(draw) FROM table_name_36 WHERE lost > 11 AND match < 14
How many draws correspond to more than 11 losses in a match less than 14?
<s>[INST]How many draws correspond to more than 11 losses in a match less than 14? Context: CREATE TABLE table_name_36 (draw VARCHAR, lost VARCHAR, match VARCHAR)[/INST]SELECT COUNT(draw) FROM table_name_36 WHERE lost > 11 AND match < 14</s>
CREATE TABLE table_name_41 (wins INTEGER, points VARCHAR, year VARCHAR)
SELECT MIN(wins) FROM table_name_41 WHERE points = 90 AND year < 1994
What is the lowest win number of the competitor who had 90 points before 1994?
<s>[INST]What is the lowest win number of the competitor who had 90 points before 1994? Context: CREATE TABLE table_name_41 (wins INTEGER, points VARCHAR, year VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_41 WHERE points = 90 AND year < 1994</s>
CREATE TABLE table_29574579_1 (episode VARCHAR, uk_viewers__million_ VARCHAR)
SELECT episode FROM table_29574579_1 WHERE uk_viewers__million_ = "4.50"
How many episodes hve 4.50 million viewers?
<s>[INST]How many episodes hve 4.50 million viewers? Context: CREATE TABLE table_29574579_1 (episode VARCHAR, uk_viewers__million_ VARCHAR)[/INST]SELECT episode FROM table_29574579_1 WHERE uk_viewers__million_ = "4.50"</s>
CREATE TABLE table_name_60 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_60 WHERE score = 73 - 68 = 141
What is Country, when Score is "73-68=141"?
<s>[INST]What is Country, when Score is "73-68=141"? Context: CREATE TABLE table_name_60 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_60 WHERE score = 73 - 68 = 141</s>
CREATE TABLE table_1289860_2 (background VARCHAR, hometown VARCHAR)
SELECT background FROM table_1289860_2 WHERE hometown = "New York, New York"
What background does the person from New york, New york, have?
<s>[INST]What background does the person from New york, New york, have? Context: CREATE TABLE table_1289860_2 (background VARCHAR, hometown VARCHAR)[/INST]SELECT background FROM table_1289860_2 WHERE hometown = "New York, New York"</s>
CREATE TABLE table_27539535_4 (points INTEGER)
SELECT MAX(points) FROM table_27539535_4
What is the highest amount of points?
<s>[INST]What is the highest amount of points? Context: CREATE TABLE table_27539535_4 (points INTEGER)[/INST]SELECT MAX(points) FROM table_27539535_4</s>
CREATE TABLE table_1015914_24 (who_two VARCHAR, you_two VARCHAR)
SELECT who_two FROM table_1015914_24 WHERE you_two = "ngipelngu"
What is who-two when you two is ngipelngu?
<s>[INST]What is who-two when you two is ngipelngu? Context: CREATE TABLE table_1015914_24 (who_two VARCHAR, you_two VARCHAR)[/INST]SELECT who_two FROM table_1015914_24 WHERE you_two = "ngipelngu"</s>
CREATE TABLE table_name_60 (competition VARCHAR, result VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_60 WHERE result = "2–0 (w)" AND venue = "shah alam stadium"
What Competition in Shah Alam Stadium have a Result of 2–0 (w)?
<s>[INST]What Competition in Shah Alam Stadium have a Result of 2–0 (w)? Context: CREATE TABLE table_name_60 (competition VARCHAR, result VARCHAR, venue VARCHAR)[/INST]SELECT competition FROM table_name_60 WHERE result = "2–0 (w)" AND venue = "shah alam stadium"</s>
CREATE TABLE table_name_61 (attendance INTEGER, date VARCHAR)
SELECT MIN(attendance) FROM table_name_61 WHERE date = "november 19, 1961"
Which Attendance has a Date of november 19, 1961?
<s>[INST]Which Attendance has a Date of november 19, 1961? Context: CREATE TABLE table_name_61 (attendance INTEGER, date VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_61 WHERE date = "november 19, 1961"</s>
CREATE TABLE table_1652224_5 (successor VARCHAR, district VARCHAR)
SELECT successor FROM table_1652224_5 WHERE district = "Ohio 15th"
who was the successor for district ohio 15th?
<s>[INST]who was the successor for district ohio 15th? Context: CREATE TABLE table_1652224_5 (successor VARCHAR, district VARCHAR)[/INST]SELECT successor FROM table_1652224_5 WHERE district = "Ohio 15th"</s>
CREATE TABLE table_13758945_1 (tries_for VARCHAR, points VARCHAR)
SELECT tries_for FROM table_13758945_1 WHERE points = "77"
How many tries where points is 77?
<s>[INST]How many tries where points is 77? Context: CREATE TABLE table_13758945_1 (tries_for VARCHAR, points VARCHAR)[/INST]SELECT tries_for FROM table_13758945_1 WHERE points = "77"</s>
CREATE TABLE table_22347090_6 (production_code VARCHAR, us_viewers__million_ VARCHAR)
SELECT production_code FROM table_22347090_6 WHERE us_viewers__million_ = "1.32"
What is the production code for the episode that had 1.32 million U.S. viewers?
<s>[INST]What is the production code for the episode that had 1.32 million U.S. viewers? Context: CREATE TABLE table_22347090_6 (production_code VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT production_code FROM table_22347090_6 WHERE us_viewers__million_ = "1.32"</s>
CREATE TABLE table_name_32 (result VARCHAR, recipient_s_ VARCHAR, award VARCHAR)
SELECT result FROM table_name_32 WHERE recipient_s_ = "joe jonas" AND award = "kids' choice awards mexico"
What is Joe Jonas' result at the Kids' Choice Awards Mexico?
<s>[INST]What is Joe Jonas' result at the Kids' Choice Awards Mexico? Context: CREATE TABLE table_name_32 (result VARCHAR, recipient_s_ VARCHAR, award VARCHAR)[/INST]SELECT result FROM table_name_32 WHERE recipient_s_ = "joe jonas" AND award = "kids' choice awards mexico"</s>
CREATE TABLE table_name_20 (airport VARCHAR)
SELECT AVG(2008) FROM table_name_20 WHERE airport = "hurghada international airport"
Which 2008 has an Airport of hurghada international airport?
<s>[INST]Which 2008 has an Airport of hurghada international airport? Context: CREATE TABLE table_name_20 (airport VARCHAR)[/INST]SELECT AVG(2008) FROM table_name_20 WHERE airport = "hurghada international airport"</s>
CREATE TABLE table_name_88 (uci_rating INTEGER, team VARCHAR)
SELECT AVG(uci_rating) FROM table_name_88 WHERE team = "relax-gam"
What is Relax-Gam's average UCI Rating?
<s>[INST]What is Relax-Gam's average UCI Rating? Context: CREATE TABLE table_name_88 (uci_rating INTEGER, team VARCHAR)[/INST]SELECT AVG(uci_rating) FROM table_name_88 WHERE team = "relax-gam"</s>
CREATE TABLE table_name_48 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_48 WHERE player = "justin leonard"
Which Place has a Player of justin leonard?
<s>[INST]Which Place has a Player of justin leonard? Context: CREATE TABLE table_name_48 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_48 WHERE player = "justin leonard"</s>
CREATE TABLE table_25594888_1 (yacht VARCHAR, skipper VARCHAR)
SELECT yacht AS type FROM table_25594888_1 WHERE skipper = "Bob Oatley"
What yacht type is involved where Bob Oatley is the skipper?
<s>[INST]What yacht type is involved where Bob Oatley is the skipper? Context: CREATE TABLE table_25594888_1 (yacht VARCHAR, skipper VARCHAR)[/INST]SELECT yacht AS type FROM table_25594888_1 WHERE skipper = "Bob Oatley"</s>
CREATE TABLE table_name_2 (points INTEGER, chassis VARCHAR)
SELECT AVG(points) FROM table_name_2 WHERE chassis = "lola lc88"
What is the average points for the chassis LOLA LC88?
<s>[INST]What is the average points for the chassis LOLA LC88? Context: CREATE TABLE table_name_2 (points INTEGER, chassis VARCHAR)[/INST]SELECT AVG(points) FROM table_name_2 WHERE chassis = "lola lc88"</s>
CREATE TABLE table_name_19 (host VARCHAR, premiere VARCHAR)
SELECT host FROM table_name_19 WHERE premiere = "13 january 2009"
Tell me the 13 january 2009 host
<s>[INST]Tell me the 13 january 2009 host Context: CREATE TABLE table_name_19 (host VARCHAR, premiere VARCHAR)[/INST]SELECT host FROM table_name_19 WHERE premiere = "13 january 2009"</s>
CREATE TABLE table_228973_11 (directed_by VARCHAR, original_air_date VARCHAR)
SELECT directed_by FROM table_228973_11 WHERE original_air_date = "February 4, 2005"
Who directed the episode which originally aired February 4, 2005?
<s>[INST]Who directed the episode which originally aired February 4, 2005? Context: CREATE TABLE table_228973_11 (directed_by VARCHAR, original_air_date VARCHAR)[/INST]SELECT directed_by FROM table_228973_11 WHERE original_air_date = "February 4, 2005"</s>
CREATE TABLE table_1926240_1 (color_system VARCHAR, bit_rate_ VARCHAR, _mbit_s_ VARCHAR)
SELECT COUNT(color_system) FROM table_1926240_1 WHERE bit_rate_[_mbit_s_] = "5.734"
How many color systems has a bit rate of 5.734?
<s>[INST]How many color systems has a bit rate of 5.734? Context: CREATE TABLE table_1926240_1 (color_system VARCHAR, bit_rate_ VARCHAR, _mbit_s_ VARCHAR)[/INST]SELECT COUNT(color_system) FROM table_1926240_1 WHERE bit_rate_[_mbit_s_] = "5.734"</s>
CREATE TABLE table_name_31 (top_25 INTEGER, events INTEGER)
SELECT AVG(top_25) FROM table_name_31 WHERE events < 0
Name the averae top 25 with events less than 0
<s>[INST]Name the averae top 25 with events less than 0 Context: CREATE TABLE table_name_31 (top_25 INTEGER, events INTEGER)[/INST]SELECT AVG(top_25) FROM table_name_31 WHERE events < 0</s>
CREATE TABLE table_name_35 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_35 WHERE result = "3-0"
Which venue ended in a 3-0 result?
<s>[INST]Which venue ended in a 3-0 result? Context: CREATE TABLE table_name_35 (venue VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_35 WHERE result = "3-0"</s>
CREATE TABLE table_name_87 (attendance VARCHAR, opponent VARCHAR)
SELECT COUNT(attendance) FROM table_name_87 WHERE opponent = "minnesota vikings"
What is the Attendance of the game against Minnesota Vikings?
<s>[INST]What is the Attendance of the game against Minnesota Vikings? Context: CREATE TABLE table_name_87 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_87 WHERE opponent = "minnesota vikings"</s>
CREATE TABLE table_15261_1 (input_clock__mhz_ VARCHAR, s_spec_number VARCHAR)
SELECT input_clock__mhz_ FROM table_15261_1 WHERE s_spec_number = "SK096"
What is the input clock (mhz) for s-spec number sk096?
<s>[INST]What is the input clock (mhz) for s-spec number sk096? Context: CREATE TABLE table_15261_1 (input_clock__mhz_ VARCHAR, s_spec_number VARCHAR)[/INST]SELECT input_clock__mhz_ FROM table_15261_1 WHERE s_spec_number = "SK096"</s>
CREATE TABLE table_name_51 (lost INTEGER, played INTEGER)
SELECT MAX(lost) FROM table_name_51 WHERE played < 9
What is the greatest lost where played is less than 9?
<s>[INST]What is the greatest lost where played is less than 9? Context: CREATE TABLE table_name_51 (lost INTEGER, played INTEGER)[/INST]SELECT MAX(lost) FROM table_name_51 WHERE played < 9</s>
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (lname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR)
SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title LIKE "%Monadic%"
Find the last names of all the authors that have written a paper with title containing the word "Monadic".
<s>[INST]Find the last names of all the authors that have written a paper with title containing the word "Monadic". Context: CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (lname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR)[/INST]SELECT t1.lname FROM au...
CREATE TABLE table_name_78 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_78 WHERE score = 73 - 68 - 66 = 207
What player scored 73-68-66=207?
<s>[INST]What player scored 73-68-66=207? Context: CREATE TABLE table_name_78 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_78 WHERE score = 73 - 68 - 66 = 207</s>
CREATE TABLE table_name_99 (location VARCHAR, opponent VARCHAR, rules VARCHAR, round VARCHAR)
SELECT location FROM table_name_99 WHERE rules = "thai boxing" AND round = "n/a" AND opponent = "everton crawford"
Where has a Rules of thai boxing, and a Round of n/a, and an Opponent of everton crawford?
<s>[INST]Where has a Rules of thai boxing, and a Round of n/a, and an Opponent of everton crawford? Context: CREATE TABLE table_name_99 (location VARCHAR, opponent VARCHAR, rules VARCHAR, round VARCHAR)[/INST]SELECT location FROM table_name_99 WHERE rules = "thai boxing" AND round = "n/a" AND opponent = "everton crawfo...
CREATE TABLE table_name_61 (party VARCHAR, took_office VARCHAR, senator VARCHAR)
SELECT party FROM table_name_61 WHERE took_office > 1993 AND senator = "michael galloway"
What party took office after 1993 with Senator Michael Galloway?
<s>[INST]What party took office after 1993 with Senator Michael Galloway? Context: CREATE TABLE table_name_61 (party VARCHAR, took_office VARCHAR, senator VARCHAR)[/INST]SELECT party FROM table_name_61 WHERE took_office > 1993 AND senator = "michael galloway"</s>
CREATE TABLE table_name_60 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_60 WHERE date = "june 3"
Who did the cubs play on june 3?
<s>[INST]Who did the cubs play on june 3? Context: CREATE TABLE table_name_60 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_60 WHERE date = "june 3"</s>
CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_52 WHERE home_team = "portsmouth"
what is the tie number that has Portsmouth Home team
<s>[INST]what is the tie number that has Portsmouth Home team Context: CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_52 WHERE home_team = "portsmouth"</s>
CREATE TABLE table_name_19 (gdp__percentage_of_eu__2012_ VARCHAR, gdp_in_s_billion_of_usd__2012_ VARCHAR)
SELECT gdp__percentage_of_eu__2012_ FROM table_name_19 WHERE gdp_in_s_billion_of_usd__2012_ = 256.3
What is the GDP % of EU in 2012 of the country with a GDP in billions of USD in 2012 of 256.3?
<s>[INST]What is the GDP % of EU in 2012 of the country with a GDP in billions of USD in 2012 of 256.3? Context: CREATE TABLE table_name_19 (gdp__percentage_of_eu__2012_ VARCHAR, gdp_in_s_billion_of_usd__2012_ VARCHAR)[/INST]SELECT gdp__percentage_of_eu__2012_ FROM table_name_19 WHERE gdp_in_s_billion_of_usd__2012_ = 2...
CREATE TABLE table_name_59 (location___state VARCHAR, circuit VARCHAR)
SELECT location___state FROM table_name_59 WHERE circuit = "phillip island grand prix circuit"
What location and state has a circuit of Phillip Island Grand Prix Circuit?
<s>[INST]What location and state has a circuit of Phillip Island Grand Prix Circuit? Context: CREATE TABLE table_name_59 (location___state VARCHAR, circuit VARCHAR)[/INST]SELECT location___state FROM table_name_59 WHERE circuit = "phillip island grand prix circuit"</s>
CREATE TABLE table_24990183_5 (ws_points VARCHAR)
SELECT 08 AS _09_i_o_best FROM table_24990183_5 WHERE ws_points = 1386
What was the 08-09 i/o best of the player with 1386 points?
<s>[INST]What was the 08-09 i/o best of the player with 1386 points? Context: CREATE TABLE table_24990183_5 (ws_points VARCHAR)[/INST]SELECT 08 AS _09_i_o_best FROM table_24990183_5 WHERE ws_points = 1386</s>
CREATE TABLE table_25668962_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)
SELECT us_viewers__million_ FROM table_25668962_1 WHERE production_code = "1ARC12"
How many million U.S. viewers watched the epiode with a production code of 1arc12?
<s>[INST]How many million U.S. viewers watched the epiode with a production code of 1arc12? Context: CREATE TABLE table_25668962_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)[/INST]SELECT us_viewers__million_ FROM table_25668962_1 WHERE production_code = "1ARC12"</s>
CREATE TABLE table_name_65 (attendance INTEGER, date VARCHAR, week VARCHAR)
SELECT SUM(attendance) FROM table_name_65 WHERE date = "december 22, 1985" AND week < 16
Which Attendance has a Date of december 22, 1985, and a Week smaller than 16?
<s>[INST]Which Attendance has a Date of december 22, 1985, and a Week smaller than 16? Context: CREATE TABLE table_name_65 (attendance INTEGER, date VARCHAR, week VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_65 WHERE date = "december 22, 1985" AND week < 16</s>
CREATE TABLE table_15887683_3 (package_option VARCHAR, television_service VARCHAR)
SELECT package_option FROM table_15887683_3 WHERE television_service = "FOX Sports HD"
What package offers Fox Sports HD?
<s>[INST]What package offers Fox Sports HD? Context: CREATE TABLE table_15887683_3 (package_option VARCHAR, television_service VARCHAR)[/INST]SELECT package_option FROM table_15887683_3 WHERE television_service = "FOX Sports HD"</s>
CREATE TABLE table_name_92 (points VARCHAR, series VARCHAR, podiums VARCHAR)
SELECT points FROM table_name_92 WHERE series = "gp3 series" AND podiums = "2"
What are the points for the GP3 series with 2 podiums?
<s>[INST]What are the points for the GP3 series with 2 podiums? Context: CREATE TABLE table_name_92 (points VARCHAR, series VARCHAR, podiums VARCHAR)[/INST]SELECT points FROM table_name_92 WHERE series = "gp3 series" AND podiums = "2"</s>
CREATE TABLE table_name_78 (record VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT record FROM table_name_78 WHERE visitor = "new jersey devils" AND date = "may 7"
Which record had a visitor of New Jersey Devils on May 7?
<s>[INST]Which record had a visitor of New Jersey Devils on May 7? Context: CREATE TABLE table_name_78 (record VARCHAR, visitor VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_78 WHERE visitor = "new jersey devils" AND date = "may 7"</s>
CREATE TABLE table_2886617_4 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
SELECT college_junior_club_team FROM table_2886617_4 WHERE nhl_team = "New York Rangers"
What team did the New York Rangers recruit a player from?
<s>[INST]What team did the New York Rangers recruit a player from? Context: CREATE TABLE table_2886617_4 (college_junior_club_team VARCHAR, nhl_team VARCHAR)[/INST]SELECT college_junior_club_team FROM table_2886617_4 WHERE nhl_team = "New York Rangers"</s>
CREATE TABLE table_name_7 (recopa_sudamericana_1996 VARCHAR, team VARCHAR)
SELECT recopa_sudamericana_1996 FROM table_name_7 WHERE team = "corinthians"
What is the recoupa sudamericana 1996 result of team corinthians?
<s>[INST]What is the recoupa sudamericana 1996 result of team corinthians? Context: CREATE TABLE table_name_7 (recopa_sudamericana_1996 VARCHAR, team VARCHAR)[/INST]SELECT recopa_sudamericana_1996 FROM table_name_7 WHERE team = "corinthians"</s>
CREATE TABLE table_name_36 (league_cup INTEGER, championship VARCHAR, total VARCHAR)
SELECT SUM(league_cup) FROM table_name_36 WHERE championship < 10 AND total < 3
How many league cups associated with under 10 championships and a total of under 3?
<s>[INST]How many league cups associated with under 10 championships and a total of under 3? Context: CREATE TABLE table_name_36 (league_cup INTEGER, championship VARCHAR, total VARCHAR)[/INST]SELECT SUM(league_cup) FROM table_name_36 WHERE championship < 10 AND total < 3</s>
CREATE TABLE table_name_67 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_67 WHERE home_team = "footscray"
Who is the away team that played home team Footscray?
<s>[INST]Who is the away team that played home team Footscray? Context: CREATE TABLE table_name_67 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_67 WHERE home_team = "footscray"</s>
CREATE TABLE table_27755040_1 (no_in_season VARCHAR, production_code VARCHAR)
SELECT COUNT(no_in_season) FROM table_27755040_1 WHERE production_code = 175255
How many episodes in the season had production code of 175255?
<s>[INST]How many episodes in the season had production code of 175255? Context: CREATE TABLE table_27755040_1 (no_in_season VARCHAR, production_code VARCHAR)[/INST]SELECT COUNT(no_in_season) FROM table_27755040_1 WHERE production_code = 175255</s>
CREATE TABLE table_242813_2 (overall_rank INTEGER, league VARCHAR)
SELECT MAX(overall_rank) FROM table_242813_2 WHERE league = "NL/UA"
Name the most overall rank for nl/ua league
<s>[INST]Name the most overall rank for nl/ua league Context: CREATE TABLE table_242813_2 (overall_rank INTEGER, league VARCHAR)[/INST]SELECT MAX(overall_rank) FROM table_242813_2 WHERE league = "NL/UA"</s>
CREATE TABLE table_name_12 (draws INTEGER, losses VARCHAR, byes VARCHAR)
SELECT MIN(draws) FROM table_name_12 WHERE losses = 0 AND byes > 4
What is the lowest value for Draws, when Losses is "0", and when Byes is greater than 4?
<s>[INST]What is the lowest value for Draws, when Losses is "0", and when Byes is greater than 4? Context: CREATE TABLE table_name_12 (draws INTEGER, losses VARCHAR, byes VARCHAR)[/INST]SELECT MIN(draws) FROM table_name_12 WHERE losses = 0 AND byes > 4</s>
CREATE TABLE table_name_93 (venue VARCHAR, founded VARCHAR, league VARCHAR)
SELECT venue FROM table_name_93 WHERE founded > 1967 AND league = "north american soccer league"
Which venue was founded after 1967 and had the league North American Soccer League?
<s>[INST]Which venue was founded after 1967 and had the league North American Soccer League? Context: CREATE TABLE table_name_93 (venue VARCHAR, founded VARCHAR, league VARCHAR)[/INST]SELECT venue FROM table_name_93 WHERE founded > 1967 AND league = "north american soccer league"</s>
CREATE TABLE table_27965906_2 (b_winning_car VARCHAR, ss_winning_car VARCHAR)
SELECT COUNT(b_winning_car) FROM table_27965906_2 WHERE ss_winning_car = "Bobby Archer, Tommy Archer"
Name the total number of b winning car and bobby archer, tommy archer
<s>[INST]Name the total number of b winning car and bobby archer, tommy archer Context: CREATE TABLE table_27965906_2 (b_winning_car VARCHAR, ss_winning_car VARCHAR)[/INST]SELECT COUNT(b_winning_car) FROM table_27965906_2 WHERE ss_winning_car = "Bobby Archer, Tommy Archer"</s>
CREATE TABLE table_name_9 (round VARCHAR, mwehl_team VARCHAR, nhl_team VARCHAR)
SELECT round FROM table_name_9 WHERE mwehl_team = "detroit honeybaked" AND nhl_team = "columbus blue jackets"
What round did the MWEHL team, Detroit Honeybaked, and the NHL Team Columbus Blue Jackets play?
<s>[INST]What round did the MWEHL team, Detroit Honeybaked, and the NHL Team Columbus Blue Jackets play? Context: CREATE TABLE table_name_9 (round VARCHAR, mwehl_team VARCHAR, nhl_team VARCHAR)[/INST]SELECT round FROM table_name_9 WHERE mwehl_team = "detroit honeybaked" AND nhl_team = "columbus blue jackets"</s>
CREATE TABLE table_name_97 (chart_no INTEGER, date VARCHAR)
SELECT AVG(chart_no) FROM table_name_97 WHERE date = "11/1965"
What is the average chart number for 11/1965?
<s>[INST]What is the average chart number for 11/1965? Context: CREATE TABLE table_name_97 (chart_no INTEGER, date VARCHAR)[/INST]SELECT AVG(chart_no) FROM table_name_97 WHERE date = "11/1965"</s>
CREATE TABLE table_name_28 (name VARCHAR, percentage VARCHAR)
SELECT name FROM table_name_28 WHERE percentage = "0.59%"
Which name has a percentage of 0.59%?
<s>[INST]Which name has a percentage of 0.59%? Context: CREATE TABLE table_name_28 (name VARCHAR, percentage VARCHAR)[/INST]SELECT name FROM table_name_28 WHERE percentage = "0.59%"</s>
CREATE TABLE Project_outcomes (outcome_code VARCHAR, project_id VARCHAR); CREATE TABLE Research_outcomes (outcome_description VARCHAR, outcome_code VARCHAR); CREATE TABLE Projects (project_id VARCHAR, project_details VARCHAR)
SELECT T1.outcome_description FROM Research_outcomes AS T1 JOIN Project_outcomes AS T2 ON T1.outcome_code = T2.outcome_code JOIN Projects AS T3 ON T2.project_id = T3.project_id WHERE T3.project_details = 'sint'
What are the result description of the project whose detail is 'sint'?
<s>[INST]What are the result description of the project whose detail is 'sint'? Context: CREATE TABLE Project_outcomes (outcome_code VARCHAR, project_id VARCHAR); CREATE TABLE Research_outcomes (outcome_description VARCHAR, outcome_code VARCHAR); CREATE TABLE Projects (project_id VARCHAR, project_details VARCHAR)[/INST...
CREATE TABLE table_142573_1 (clock_rate__mhz_ INTEGER, designation VARCHAR)
SELECT MIN(clock_rate__mhz_) FROM table_142573_1 WHERE designation = "RIMM 4200"
Name the least clock rate mhz when designation is rimm 4200
<s>[INST]Name the least clock rate mhz when designation is rimm 4200 Context: CREATE TABLE table_142573_1 (clock_rate__mhz_ INTEGER, designation VARCHAR)[/INST]SELECT MIN(clock_rate__mhz_) FROM table_142573_1 WHERE designation = "RIMM 4200"</s>
CREATE TABLE table_name_90 (week INTEGER, opponent VARCHAR)
SELECT MAX(week) FROM table_name_90 WHERE opponent = "atlanta falcons"
What is the largest week with the Atlanta Falcons as the opponent?
<s>[INST]What is the largest week with the Atlanta Falcons as the opponent? Context: CREATE TABLE table_name_90 (week INTEGER, opponent VARCHAR)[/INST]SELECT MAX(week) FROM table_name_90 WHERE opponent = "atlanta falcons"</s>
CREATE TABLE table_2201724_1 (year VARCHAR, score_in_the_final VARCHAR)
SELECT COUNT(year) FROM table_2201724_1 WHERE score_in_the_final = "3–6, 4–6, 2–6"
List the total number of years that have a score of 3–6, 4–6, 2–6.
<s>[INST]List the total number of years that have a score of 3–6, 4–6, 2–6. Context: CREATE TABLE table_2201724_1 (year VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT COUNT(year) FROM table_2201724_1 WHERE score_in_the_final = "3–6, 4–6, 2–6"</s>
CREATE TABLE table_name_53 (opponent VARCHAR, loss VARCHAR)
SELECT opponent FROM table_name_53 WHERE loss = "trout (7-4)"
Which opponent has a loss of trout (7-4)?
<s>[INST]Which opponent has a loss of trout (7-4)? Context: CREATE TABLE table_name_53 (opponent VARCHAR, loss VARCHAR)[/INST]SELECT opponent FROM table_name_53 WHERE loss = "trout (7-4)"</s>
CREATE TABLE browser (id VARCHAR, name VARCHAR); CREATE TABLE accelerator_compatible_browser (browser_id VARCHAR)
SELECT T1.id, T1.name FROM browser AS T1 JOIN accelerator_compatible_browser AS T2 ON T1.id = T2.browser_id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 1
What is the id and name of the browser that is compatible with the most web accelerators?
<s>[INST]What is the id and name of the browser that is compatible with the most web accelerators? Context: CREATE TABLE browser (id VARCHAR, name VARCHAR); CREATE TABLE accelerator_compatible_browser (browser_id VARCHAR)[/INST]SELECT T1.id, T1.name FROM browser AS T1 JOIN accelerator_compatible_browser AS T2 ON T1.id ...
CREATE TABLE student (city_code VARCHAR, age INTEGER, sex VARCHAR)
SELECT COUNT(*), AVG(age), city_code FROM student WHERE sex = 'M' GROUP BY city_code
Find the average age and number of male students (with sex M) from each city.
<s>[INST]Find the average age and number of male students (with sex M) from each city. Context: CREATE TABLE student (city_code VARCHAR, age INTEGER, sex VARCHAR)[/INST]SELECT COUNT(*), AVG(age), city_code FROM student WHERE sex = 'M' GROUP BY city_code</s>
CREATE TABLE table_name_81 (score VARCHAR, player VARCHAR, to_par VARCHAR, money___$__ VARCHAR)
SELECT score FROM table_name_81 WHERE to_par > 15 AND money___$__ > 116 AND player = "billy burke"
What score has a to par greater than 15, money ($) greater than 116, with billy burke as the player?
<s>[INST]What score has a to par greater than 15, money ($) greater than 116, with billy burke as the player? Context: CREATE TABLE table_name_81 (score VARCHAR, player VARCHAR, to_par VARCHAR, money___$__ VARCHAR)[/INST]SELECT score FROM table_name_81 WHERE to_par > 15 AND money___$__ > 116 AND player = "billy burke"<...
CREATE TABLE table_name_99 (city VARCHAR, seasons_in_league VARCHAR, club VARCHAR)
SELECT city FROM table_name_99 WHERE seasons_in_league = 17 AND club = "shakhter"
Which City has Seasons in league of 17, and a Club of shakhter?
<s>[INST]Which City has Seasons in league of 17, and a Club of shakhter? Context: CREATE TABLE table_name_99 (city VARCHAR, seasons_in_league VARCHAR, club VARCHAR)[/INST]SELECT city FROM table_name_99 WHERE seasons_in_league = 17 AND club = "shakhter"</s>
CREATE TABLE table_14158567_1 (congress VARCHAR, member_elect VARCHAR)
SELECT congress FROM table_14158567_1 WHERE member_elect = "Richard P. Giles"
What edition of congress for member-elect richard p. giles?
<s>[INST]What edition of congress for member-elect richard p. giles? Context: CREATE TABLE table_14158567_1 (congress VARCHAR, member_elect VARCHAR)[/INST]SELECT congress FROM table_14158567_1 WHERE member_elect = "Richard P. Giles"</s>
CREATE TABLE table_name_54 (visitor VARCHAR, home VARCHAR, series VARCHAR)
SELECT visitor FROM table_name_54 WHERE home = "philadelphia" AND series = "flyers lead 1–0"
WHo has a Home of philadelphia and a Series of flyers lead 1–0?
<s>[INST]WHo has a Home of philadelphia and a Series of flyers lead 1–0? Context: CREATE TABLE table_name_54 (visitor VARCHAR, home VARCHAR, series VARCHAR)[/INST]SELECT visitor FROM table_name_54 WHERE home = "philadelphia" AND series = "flyers lead 1–0"</s>
CREATE TABLE WINE (Name VARCHAR, Score VARCHAR)
SELECT Name, Score FROM WINE
List the names and scores of all wines.
<s>[INST]List the names and scores of all wines. Context: CREATE TABLE WINE (Name VARCHAR, Score VARCHAR)[/INST]SELECT Name, Score FROM WINE</s>
CREATE TABLE table_name_27 (college_junior_club_team VARCHAR, pick__number VARCHAR)
SELECT college_junior_club_team FROM table_name_27 WHERE pick__number = "1"
Which College/junior/club team has a Pick # of 1?
<s>[INST]Which College/junior/club team has a Pick # of 1? Context: CREATE TABLE table_name_27 (college_junior_club_team VARCHAR, pick__number VARCHAR)[/INST]SELECT college_junior_club_team FROM table_name_27 WHERE pick__number = "1"</s>
CREATE TABLE table_name_57 (quantity_preserved VARCHAR, fleet_number_s_ VARCHAR)
SELECT quantity_preserved FROM table_name_57 WHERE fleet_number_s_ = "700"
What's the quantity preserved when the fleet number was 700?
<s>[INST]What's the quantity preserved when the fleet number was 700? Context: CREATE TABLE table_name_57 (quantity_preserved VARCHAR, fleet_number_s_ VARCHAR)[/INST]SELECT quantity_preserved FROM table_name_57 WHERE fleet_number_s_ = "700"</s>
CREATE TABLE table_name_87 (player VARCHAR, money___£__ VARCHAR, country VARCHAR)
SELECT player FROM table_name_87 WHERE money___£__ = "playoff" AND country = "united states"
Who is the player with playoff money from the United States?
<s>[INST]Who is the player with playoff money from the United States? Context: CREATE TABLE table_name_87 (player VARCHAR, money___£__ VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_87 WHERE money___£__ = "playoff" AND country = "united states"</s>
CREATE TABLE table_name_4 (run_3 VARCHAR, rank VARCHAR)
SELECT run_3 FROM table_name_4 WHERE rank = "12"
What was the run 3 for the team in rank 12?
<s>[INST]What was the run 3 for the team in rank 12? Context: CREATE TABLE table_name_4 (run_3 VARCHAR, rank VARCHAR)[/INST]SELECT run_3 FROM table_name_4 WHERE rank = "12"</s>
CREATE TABLE table_10015132_2 (years_in_toronto VARCHAR, player VARCHAR)
SELECT years_in_toronto FROM table_10015132_2 WHERE player = "Marcus Banks"
During which years was Marcus Banks in Toronto?
<s>[INST]During which years was Marcus Banks in Toronto? Context: CREATE TABLE table_10015132_2 (years_in_toronto VARCHAR, player VARCHAR)[/INST]SELECT years_in_toronto FROM table_10015132_2 WHERE player = "Marcus Banks"</s>
CREATE TABLE table_name_3 (vote_to_save VARCHAR, eviction_no VARCHAR, vote_to_evict VARCHAR)
SELECT vote_to_save FROM table_name_3 WHERE eviction_no < 14 AND vote_to_evict = "5.42%"
Which Vote to Save has an Eviction # smaller than 14, and a Vote to Evict of 5.42%?
<s>[INST]Which Vote to Save has an Eviction # smaller than 14, and a Vote to Evict of 5.42%? Context: CREATE TABLE table_name_3 (vote_to_save VARCHAR, eviction_no VARCHAR, vote_to_evict VARCHAR)[/INST]SELECT vote_to_save FROM table_name_3 WHERE eviction_no < 14 AND vote_to_evict = "5.42%"</s>
CREATE TABLE table_name_63 (attendance INTEGER, record VARCHAR)
SELECT MAX(attendance) FROM table_name_63 WHERE record = "1-1-0"
What is the largest number in attendance when the record is 1-1-0?
<s>[INST]What is the largest number in attendance when the record is 1-1-0? Context: CREATE TABLE table_name_63 (attendance INTEGER, record VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_63 WHERE record = "1-1-0"</s>
CREATE TABLE table_name_69 (game VARCHAR, opponent VARCHAR, january VARCHAR)
SELECT COUNT(game) FROM table_name_69 WHERE opponent = "los angeles kings" AND january > 5
What is the total number of games of the team against the Los Angeles Kings after January 5?
<s>[INST]What is the total number of games of the team against the Los Angeles Kings after January 5? Context: CREATE TABLE table_name_69 (game VARCHAR, opponent VARCHAR, january VARCHAR)[/INST]SELECT COUNT(game) FROM table_name_69 WHERE opponent = "los angeles kings" AND january > 5</s>
CREATE TABLE table_name_91 (competition VARCHAR, report VARCHAR)
SELECT competition FROM table_name_91 WHERE report = "aiff"
Which competition has a report of AIFF?
<s>[INST]Which competition has a report of AIFF? Context: CREATE TABLE table_name_91 (competition VARCHAR, report VARCHAR)[/INST]SELECT competition FROM table_name_91 WHERE report = "aiff"</s>
CREATE TABLE table_11803648_22 (round INTEGER, club_team VARCHAR)
SELECT MAX(round) FROM table_11803648_22 WHERE club_team = "Guelph Storm (OHL)"
What is the last round with club team Guelph Storm (ohl)?
<s>[INST]What is the last round with club team Guelph Storm (ohl)? Context: CREATE TABLE table_11803648_22 (round INTEGER, club_team VARCHAR)[/INST]SELECT MAX(round) FROM table_11803648_22 WHERE club_team = "Guelph Storm (OHL)"</s>
CREATE TABLE table_name_87 (top_10 VARCHAR, events VARCHAR, top_5 VARCHAR)
SELECT COUNT(top_10) FROM table_name_87 WHERE events > 16 AND top_5 > 5
What's the sum of Top-10 that has Events that's larger than 16, and has a Top-5 that's also larger than 5?
<s>[INST]What's the sum of Top-10 that has Events that's larger than 16, and has a Top-5 that's also larger than 5? Context: CREATE TABLE table_name_87 (top_10 VARCHAR, events VARCHAR, top_5 VARCHAR)[/INST]SELECT COUNT(top_10) FROM table_name_87 WHERE events > 16 AND top_5 > 5</s>
CREATE TABLE table_1341973_11 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341973_11 WHERE incumbent = "Carl Vinson"
In which district is the incumbent Carl Vinson?
<s>[INST]In which district is the incumbent Carl Vinson? Context: CREATE TABLE table_1341973_11 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1341973_11 WHERE incumbent = "Carl Vinson"</s>
CREATE TABLE table_name_19 (result VARCHAR, year VARCHAR, competition VARCHAR)
SELECT result FROM table_name_19 WHERE year > 1997 AND competition = "world group, semifinals"
what is the result for the world group, semifinals after the year 1997?
<s>[INST]what is the result for the world group, semifinals after the year 1997? Context: CREATE TABLE table_name_19 (result VARCHAR, year VARCHAR, competition VARCHAR)[/INST]SELECT result FROM table_name_19 WHERE year > 1997 AND competition = "world group, semifinals"</s>
CREATE TABLE table_name_78 (title VARCHAR, name VARCHAR)
SELECT title FROM table_name_78 WHERE name = "amenemhat ii"
What is the title of Amenemhat II?
<s>[INST]What is the title of Amenemhat II? Context: CREATE TABLE table_name_78 (title VARCHAR, name VARCHAR)[/INST]SELECT title FROM table_name_78 WHERE name = "amenemhat ii"</s>
CREATE TABLE table_name_1 (wheel_arrangement VARCHAR, quantity_preserved VARCHAR)
SELECT wheel_arrangement FROM table_name_1 WHERE quantity_preserved = "1"
What is the wheel arrangement with 1 quantity preserved?
<s>[INST]What is the wheel arrangement with 1 quantity preserved? Context: CREATE TABLE table_name_1 (wheel_arrangement VARCHAR, quantity_preserved VARCHAR)[/INST]SELECT wheel_arrangement FROM table_name_1 WHERE quantity_preserved = "1"</s>
CREATE TABLE table_name_19 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
SELECT margin_of_victory FROM table_name_19 WHERE runner_s__up = "mark o'meara"
Which Margin of victory has a Runner(s)-up of mark o'meara?
<s>[INST]Which Margin of victory has a Runner(s)-up of mark o'meara? Context: CREATE TABLE table_name_19 (margin_of_victory VARCHAR, runner_s__up VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_19 WHERE runner_s__up = "mark o'meara"</s>
CREATE TABLE table_26986076_5 (tues_24_aug VARCHAR, fri_27_aug VARCHAR)
SELECT tues_24_aug FROM table_26986076_5 WHERE fri_27_aug = "20' 58.50 107.929mph"
When 20' 58.50 107.929mph is Friday August 27th What is Tuesday 24th August?
<s>[INST]When 20' 58.50 107.929mph is Friday August 27th What is Tuesday 24th August? Context: CREATE TABLE table_26986076_5 (tues_24_aug VARCHAR, fri_27_aug VARCHAR)[/INST]SELECT tues_24_aug FROM table_26986076_5 WHERE fri_27_aug = "20' 58.50 107.929mph"</s>
CREATE TABLE table_name_28 (competition VARCHAR, score VARCHAR)
SELECT competition FROM table_name_28 WHERE score = "2-1"
what is the competition when the score is 2-1?
<s>[INST]what is the competition when the score is 2-1? Context: CREATE TABLE table_name_28 (competition VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_28 WHERE score = "2-1"</s>
CREATE TABLE table_name_99 (network VARCHAR, name VARCHAR)
SELECT network FROM table_name_99 WHERE name = "bbtv channel 7"
What's the network of BBTV Channel 7?
<s>[INST]What's the network of BBTV Channel 7? Context: CREATE TABLE table_name_99 (network VARCHAR, name VARCHAR)[/INST]SELECT network FROM table_name_99 WHERE name = "bbtv channel 7"</s>
CREATE TABLE catalog_contents (price_in_euros INTEGER)
SELECT AVG(price_in_euros), MIN(price_in_euros) FROM catalog_contents
What are the average and minimum price (in Euro) of all products?
<s>[INST]What are the average and minimum price (in Euro) of all products? Context: CREATE TABLE catalog_contents (price_in_euros INTEGER)[/INST]SELECT AVG(price_in_euros), MIN(price_in_euros) FROM catalog_contents</s>
CREATE TABLE table_name_88 (games INTEGER, number VARCHAR)
SELECT MIN(games) AS ↑ FROM table_name_88 WHERE number = 98
Which Games↑ is the lowest one that has a Number of 98?
<s>[INST]Which Games↑ is the lowest one that has a Number of 98? Context: CREATE TABLE table_name_88 (games INTEGER, number VARCHAR)[/INST]SELECT MIN(games) AS ↑ FROM table_name_88 WHERE number = 98</s>
CREATE TABLE table_name_83 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_83 WHERE away_team = "chester"
What is the Tie no when Chester is the away team?
<s>[INST]What is the Tie no when Chester is the away team? Context: CREATE TABLE table_name_83 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_83 WHERE away_team = "chester"</s>
CREATE TABLE table_name_10 (score VARCHAR, home VARCHAR)
SELECT score FROM table_name_10 WHERE home = "edmonton"
What was the score when Edmonton was the home team?
<s>[INST]What was the score when Edmonton was the home team? Context: CREATE TABLE table_name_10 (score VARCHAR, home VARCHAR)[/INST]SELECT score FROM table_name_10 WHERE home = "edmonton"</s>
CREATE TABLE table_name_77 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_77 WHERE player = "jay haas"
What country was Jay Haas representing?
<s>[INST]What country was Jay Haas representing? Context: CREATE TABLE table_name_77 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_77 WHERE player = "jay haas"</s>
CREATE TABLE table_name_46 (historical_photos VARCHAR, location VARCHAR)
SELECT historical_photos FROM table_name_46 WHERE location = "prospect 43 prospect ave"
Which Historical Photos were taken at prospect 43 prospect ave?
<s>[INST]Which Historical Photos were taken at prospect 43 prospect ave? Context: CREATE TABLE table_name_46 (historical_photos VARCHAR, location VARCHAR)[/INST]SELECT historical_photos FROM table_name_46 WHERE location = "prospect 43 prospect ave"</s>