context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_57 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_57 WHERE home_team = "fitzroy" | In the game against home team Fitzroy, what did the away team score? | <s>[INST]In the game against home team Fitzroy, what did the away team score? Context: CREATE TABLE table_name_57 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_57 WHERE home_team = "fitzroy"</s> |
CREATE TABLE table_2861364_1 (under_president VARCHAR, executed_person VARCHAR) | SELECT under_president FROM table_2861364_1 WHERE executed_person = "Gunther Volz" | under which president was gunther volz executed? | <s>[INST]under which president was gunther volz executed? Context: CREATE TABLE table_2861364_1 (under_president VARCHAR, executed_person VARCHAR)[/INST]SELECT under_president FROM table_2861364_1 WHERE executed_person = "Gunther Volz"</s> |
CREATE TABLE table_name_37 (opponent_team VARCHAR, scorers VARCHAR) | SELECT opponent_team FROM table_name_37 WHERE scorers = "ronaldinho 90+3'" | Who was the opposing team when the scorer was ronaldinho 90+3'? | <s>[INST]Who was the opposing team when the scorer was ronaldinho 90+3'? Context: CREATE TABLE table_name_37 (opponent_team VARCHAR, scorers VARCHAR)[/INST]SELECT opponent_team FROM table_name_37 WHERE scorers = "ronaldinho 90+3'"</s> |
CREATE TABLE table_name_34 (ends VARCHAR, name VARCHAR) | SELECT ends FROM table_name_34 WHERE name = "donaldson" | When does Donaldson's move end? | <s>[INST]When does Donaldson's move end? Context: CREATE TABLE table_name_34 (ends VARCHAR, name VARCHAR)[/INST]SELECT ends FROM table_name_34 WHERE name = "donaldson"</s> |
CREATE TABLE table_20704243_5 (directed_by VARCHAR, season__number VARCHAR) | SELECT directed_by FROM table_20704243_5 WHERE season__number = 1 | Name who directed season 1 | <s>[INST]Name who directed season 1 Context: CREATE TABLE table_20704243_5 (directed_by VARCHAR, season__number VARCHAR)[/INST]SELECT directed_by FROM table_20704243_5 WHERE season__number = 1</s> |
CREATE TABLE table_17779448_1 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_17779448_1 WHERE opponent = "Boston Patriots" | How many attended game(s) against the boston patriots? | <s>[INST]How many attended game(s) against the boston patriots? Context: CREATE TABLE table_17779448_1 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT attendance FROM table_17779448_1 WHERE opponent = "Boston Patriots"</s> |
CREATE TABLE table_name_89 (high_school VARCHAR, utah_mr_basketball VARCHAR, year VARCHAR) | SELECT high_school FROM table_name_89 WHERE utah_mr_basketball = "tyler haws" AND year = 2009 | Where did Tyler Haws, 2009 Utah Mr. Basketball, go to high school? | <s>[INST]Where did Tyler Haws, 2009 Utah Mr. Basketball, go to high school? Context: CREATE TABLE table_name_89 (high_school VARCHAR, utah_mr_basketball VARCHAR, year VARCHAR)[/INST]SELECT high_school FROM table_name_89 WHERE utah_mr_basketball = "tyler haws" AND year = 2009</s> |
CREATE TABLE table_1434788_5 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_1434788_5 WHERE incumbent = "John Thomas Wilson" | When was incumbent John Thomas Wilson first elected? | <s>[INST]When was incumbent John Thomas Wilson first elected? Context: CREATE TABLE table_1434788_5 (first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT first_elected FROM table_1434788_5 WHERE incumbent = "John Thomas Wilson"</s> |
CREATE TABLE table_28457809_3 (first_llcr VARCHAR, province VARCHAR) | SELECT first_llcr FROM table_28457809_3 WHERE province = "Ontario" | What year was Ontario's first LLCR? | <s>[INST]What year was Ontario's first LLCR? Context: CREATE TABLE table_28457809_3 (first_llcr VARCHAR, province VARCHAR)[/INST]SELECT first_llcr FROM table_28457809_3 WHERE province = "Ontario"</s> |
CREATE TABLE table_name_29 (manager_1 VARCHAR, kit_manufacturer VARCHAR, shirt_sponsor VARCHAR) | SELECT manager_1 FROM table_name_29 WHERE kit_manufacturer = "puma" AND shirt_sponsor = "puma" | Who is the manager 1 with Puma as the kit manufacturer and Puma as the shirt sponsor? | <s>[INST]Who is the manager 1 with Puma as the kit manufacturer and Puma as the shirt sponsor? Context: CREATE TABLE table_name_29 (manager_1 VARCHAR, kit_manufacturer VARCHAR, shirt_sponsor VARCHAR)[/INST]SELECT manager_1 FROM table_name_29 WHERE kit_manufacturer = "puma" AND shirt_sponsor = "puma"</s> |
CREATE TABLE table_name_4 (launches INTEGER, rocket VARCHAR, failures VARCHAR) | SELECT SUM(launches) FROM table_name_4 WHERE rocket = "long march 3" AND failures > 0 | What is the sum of launches with Long March 3 and 0 failures? | <s>[INST]What is the sum of launches with Long March 3 and 0 failures? Context: CREATE TABLE table_name_4 (launches INTEGER, rocket VARCHAR, failures VARCHAR)[/INST]SELECT SUM(launches) FROM table_name_4 WHERE rocket = "long march 3" AND failures > 0</s> |
CREATE TABLE table_22860_1 (america VARCHAR, atlantic_europe VARCHAR) | SELECT america FROM table_22860_1 WHERE atlantic_europe = "Hoxniense" | What is every entry for America when Atlantic Europe is Hoxniense? | <s>[INST]What is every entry for America when Atlantic Europe is Hoxniense? Context: CREATE TABLE table_22860_1 (america VARCHAR, atlantic_europe VARCHAR)[/INST]SELECT america FROM table_22860_1 WHERE atlantic_europe = "Hoxniense"</s> |
CREATE TABLE table_name_34 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR) | SELECT MAX(population) FROM table_name_34 WHERE median_household_income = "$32,902" AND number_of_households < 11 OFFSET 125 | What is the highest Population that has a Median household income of $32,902 with a number of households less than 11,125 | <s>[INST]What is the highest Population that has a Median household income of $32,902 with a number of households less than 11,125 Context: CREATE TABLE table_name_34 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR)[/INST]SELECT MAX(population) FROM table_name_34 WHERE median_househol... |
CREATE TABLE table_name_20 (pick__number INTEGER, position VARCHAR, college VARCHAR) | SELECT SUM(pick__number) FROM table_name_20 WHERE position = "sb" AND college = "minnesota" | Can you tell me the sum of Pick # that has the Position of sb, and the College of minnesota? | <s>[INST]Can you tell me the sum of Pick # that has the Position of sb, and the College of minnesota? Context: CREATE TABLE table_name_20 (pick__number INTEGER, position VARCHAR, college VARCHAR)[/INST]SELECT SUM(pick__number) FROM table_name_20 WHERE position = "sb" AND college = "minnesota"</s> |
CREATE TABLE table_name_10 (replaced_by VARCHAR, team VARCHAR) | SELECT replaced_by FROM table_name_10 WHERE team = "milton keynes dons" | who is the replacement when the team is milton keynes dons? | <s>[INST]who is the replacement when the team is milton keynes dons? Context: CREATE TABLE table_name_10 (replaced_by VARCHAR, team VARCHAR)[/INST]SELECT replaced_by FROM table_name_10 WHERE team = "milton keynes dons"</s> |
CREATE TABLE table_name_44 (year VARCHAR, production VARCHAR, award VARCHAR) | SELECT year FROM table_name_44 WHERE production = "wicked" AND award = "green room awards" | During what year was Wicked associated with the Green Room Awards? | <s>[INST]During what year was Wicked associated with the Green Room Awards? Context: CREATE TABLE table_name_44 (year VARCHAR, production VARCHAR, award VARCHAR)[/INST]SELECT year FROM table_name_44 WHERE production = "wicked" AND award = "green room awards"</s> |
CREATE TABLE table_name_50 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_name_50 WHERE date = "february 2" | What was the location of the game on February 2? | <s>[INST]What was the location of the game on February 2? Context: CREATE TABLE table_name_50 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_name_50 WHERE date = "february 2"</s> |
CREATE TABLE table_name_20 (movie VARCHAR, co_singers VARCHAR) | SELECT movie FROM table_name_20 WHERE co_singers = "selva nambi" | In which movie is Selva Nambi a co-singer? | <s>[INST]In which movie is Selva Nambi a co-singer? Context: CREATE TABLE table_name_20 (movie VARCHAR, co_singers VARCHAR)[/INST]SELECT movie FROM table_name_20 WHERE co_singers = "selva nambi"</s> |
CREATE TABLE table_name_27 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_27 WHERE attendance = "42,308" | Which team won on the day when attendance was 42,308? | <s>[INST]Which team won on the day when attendance was 42,308? Context: CREATE TABLE table_name_27 (result VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_27 WHERE attendance = "42,308"</s> |
CREATE TABLE table_name_38 (score VARCHAR, outcome VARCHAR) | SELECT score FROM table_name_38 WHERE outcome = "runner-up" | What was the score when she was a runner-up? | <s>[INST]What was the score when she was a runner-up? Context: CREATE TABLE table_name_38 (score VARCHAR, outcome VARCHAR)[/INST]SELECT score FROM table_name_38 WHERE outcome = "runner-up"</s> |
CREATE TABLE table_name_14 (goals_against INTEGER, wins VARCHAR, goals_for VARCHAR, position VARCHAR) | SELECT SUM(goals_against) FROM table_name_14 WHERE goals_for > 10 AND position = 3 AND wins < 6 | Can you tell me the sum of Goals against that has the Goals for larger than 10, and the Position of 3, and the Wins smaller than 6? | <s>[INST]Can you tell me the sum of Goals against that has the Goals for larger than 10, and the Position of 3, and the Wins smaller than 6? Context: CREATE TABLE table_name_14 (goals_against INTEGER, wins VARCHAR, goals_for VARCHAR, position VARCHAR)[/INST]SELECT SUM(goals_against) FROM table_name_14 WHERE goals_for >... |
CREATE TABLE table_2509505_1 (goals_for INTEGER, points VARCHAR) | SELECT MAX(goals_for) FROM table_2509505_1 WHERE points = 56 | Name the most goals for 56 points | <s>[INST]Name the most goals for 56 points Context: CREATE TABLE table_2509505_1 (goals_for INTEGER, points VARCHAR)[/INST]SELECT MAX(goals_for) FROM table_2509505_1 WHERE points = 56</s> |
CREATE TABLE table_name_67 (played INTEGER, team VARCHAR, place VARCHAR) | SELECT SUM(played) FROM table_name_67 WHERE team = "c.d. luis ángel firpo" AND place > 3 | Name the sum of played for c.d. luis ángel firpo and place more than 3 | <s>[INST]Name the sum of played for c.d. luis ángel firpo and place more than 3 Context: CREATE TABLE table_name_67 (played INTEGER, team VARCHAR, place VARCHAR)[/INST]SELECT SUM(played) FROM table_name_67 WHERE team = "c.d. luis ángel firpo" AND place > 3</s> |
CREATE TABLE table_name_71 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_71 WHERE record = "4-5" | Which date has a Record of 4-5? | <s>[INST]Which date has a Record of 4-5? Context: CREATE TABLE table_name_71 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_71 WHERE record = "4-5"</s> |
CREATE TABLE table_name_19 (winning_driver VARCHAR, circuit VARCHAR) | SELECT winning_driver FROM table_name_19 WHERE circuit = "taunus" | what is the winning driver in taunus | <s>[INST]what is the winning driver in taunus Context: CREATE TABLE table_name_19 (winning_driver VARCHAR, circuit VARCHAR)[/INST]SELECT winning_driver FROM table_name_19 WHERE circuit = "taunus"</s> |
CREATE TABLE table_name_12 (moving_to VARCHAR, transfer_window VARCHAR, transfer_fee VARCHAR, nat VARCHAR) | SELECT moving_to FROM table_name_12 WHERE transfer_fee = "free" AND nat = "cyp" AND transfer_window = "winter" | What was the moving that has a free transfer fee, and the nationality of CYP, and winter as the transfer window? | <s>[INST]What was the moving that has a free transfer fee, and the nationality of CYP, and winter as the transfer window? Context: CREATE TABLE table_name_12 (moving_to VARCHAR, transfer_window VARCHAR, transfer_fee VARCHAR, nat VARCHAR)[/INST]SELECT moving_to FROM table_name_12 WHERE transfer_fee = "free" AND nat = "c... |
CREATE TABLE table_name_1 (player VARCHAR, place VARCHAR) | SELECT player FROM table_name_1 WHERE place = "2" | What is the Place 2 Player? | <s>[INST]What is the Place 2 Player? Context: CREATE TABLE table_name_1 (player VARCHAR, place VARCHAR)[/INST]SELECT player FROM table_name_1 WHERE place = "2"</s> |
CREATE TABLE table_name_79 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_79 WHERE player = "chris robinson" | What was the position that Chris Robinson played? | <s>[INST]What was the position that Chris Robinson played? Context: CREATE TABLE table_name_79 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_79 WHERE player = "chris robinson"</s> |
CREATE TABLE table_29545993_3 (Ends INTEGER, stolen_ends VARCHAR, l VARCHAR) | SELECT MIN(Ends) AS lost FROM table_29545993_3 WHERE stolen_ends = 6 AND l > 5.0 | What is the minimum ends lost record when the stolen ends records is 6 and the loss record is bigger than 5.0? | <s>[INST]What is the minimum ends lost record when the stolen ends records is 6 and the loss record is bigger than 5.0? Context: CREATE TABLE table_29545993_3 (Ends INTEGER, stolen_ends VARCHAR, l VARCHAR)[/INST]SELECT MIN(Ends) AS lost FROM table_29545993_3 WHERE stolen_ends = 6 AND l > 5.0</s> |
CREATE TABLE table_name_33 (score VARCHAR, country VARCHAR, player VARCHAR) | SELECT score FROM table_name_33 WHERE country = "united states" AND player = "raymond floyd" | Which Score has a Country of united states, and a Player of raymond floyd? | <s>[INST]Which Score has a Country of united states, and a Player of raymond floyd? Context: CREATE TABLE table_name_33 (score VARCHAR, country VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_33 WHERE country = "united states" AND player = "raymond floyd"</s> |
CREATE TABLE table_12193259_1 (mens_doubles VARCHAR, season VARCHAR) | SELECT COUNT(mens_doubles) FROM table_12193259_1 WHERE season = "2004/2005" | Name the number of mens doubles for 2004/2005 | <s>[INST]Name the number of mens doubles for 2004/2005 Context: CREATE TABLE table_12193259_1 (mens_doubles VARCHAR, season VARCHAR)[/INST]SELECT COUNT(mens_doubles) FROM table_12193259_1 WHERE season = "2004/2005"</s> |
CREATE TABLE table_18733814_2 (points_classification VARCHAR, stage VARCHAR) | SELECT points_classification FROM table_18733814_2 WHERE stage = 19 | When 19 is the stage who is the points classification? | <s>[INST]When 19 is the stage who is the points classification? Context: CREATE TABLE table_18733814_2 (points_classification VARCHAR, stage VARCHAR)[/INST]SELECT points_classification FROM table_18733814_2 WHERE stage = 19</s> |
CREATE TABLE table_name_43 (joined INTEGER, division VARCHAR, location VARCHAR) | SELECT MAX(joined) FROM table_name_43 WHERE division = "west" AND location = "highland township" | What was the most recent year that a team located in Highland Township and a member of the West Division joined the Kensington Lakes Activities Association? | <s>[INST]What was the most recent year that a team located in Highland Township and a member of the West Division joined the Kensington Lakes Activities Association? Context: CREATE TABLE table_name_43 (joined INTEGER, division VARCHAR, location VARCHAR)[/INST]SELECT MAX(joined) FROM table_name_43 WHERE division = "wes... |
CREATE TABLE table_name_16 (matches VARCHAR, prize_money VARCHAR) | SELECT matches FROM table_name_16 WHERE prize_money = "£1,000,000" | What is the Match with a Prize of money that is £1,000,000? | <s>[INST]What is the Match with a Prize of money that is £1,000,000? Context: CREATE TABLE table_name_16 (matches VARCHAR, prize_money VARCHAR)[/INST]SELECT matches FROM table_name_16 WHERE prize_money = "£1,000,000"</s> |
CREATE TABLE table_name_94 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_94 WHERE date = "25 may 2008" | Name the venue for 25 may 2008 | <s>[INST]Name the venue for 25 may 2008 Context: CREATE TABLE table_name_94 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_94 WHERE date = "25 may 2008"</s> |
CREATE TABLE table_name_7 (score VARCHAR, points VARCHAR, game VARCHAR) | SELECT score FROM table_name_7 WHERE points > 74 AND game = 57 | What is the score when the points are larger than 74 and the game is 57? | <s>[INST]What is the score when the points are larger than 74 and the game is 57? Context: CREATE TABLE table_name_7 (score VARCHAR, points VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_name_7 WHERE points > 74 AND game = 57</s> |
CREATE TABLE table_2731431_1 (col_location VARCHAR, location VARCHAR) | SELECT col_location FROM table_2731431_1 WHERE location = "France / Italy" | What is the col location for the location of france / italy? | <s>[INST]What is the col location for the location of france / italy? Context: CREATE TABLE table_2731431_1 (col_location VARCHAR, location VARCHAR)[/INST]SELECT col_location FROM table_2731431_1 WHERE location = "France / Italy"</s> |
CREATE TABLE table_2454550_1 (track VARCHAR, race_name VARCHAR) | SELECT track FROM table_2454550_1 WHERE race_name = "Argent Mortgage Indy 300" | On what track is the Argent mortgage Indy 300 held? | <s>[INST]On what track is the Argent mortgage Indy 300 held? Context: CREATE TABLE table_2454550_1 (track VARCHAR, race_name VARCHAR)[/INST]SELECT track FROM table_2454550_1 WHERE race_name = "Argent Mortgage Indy 300"</s> |
CREATE TABLE table_25831483_1 (last_appearance VARCHAR, actor_actress VARCHAR) | SELECT last_appearance FROM table_25831483_1 WHERE actor_actress = "Pam Ferris" | What was the last appearance of actor/actress is pam ferris? | <s>[INST]What was the last appearance of actor/actress is pam ferris? Context: CREATE TABLE table_25831483_1 (last_appearance VARCHAR, actor_actress VARCHAR)[/INST]SELECT last_appearance FROM table_25831483_1 WHERE actor_actress = "Pam Ferris"</s> |
CREATE TABLE table_25527255_2 (manager VARCHAR, team VARCHAR) | SELECT manager FROM table_25527255_2 WHERE team = "FK Andijan" | Who is the manager of FK Andijan? | <s>[INST]Who is the manager of FK Andijan? Context: CREATE TABLE table_25527255_2 (manager VARCHAR, team VARCHAR)[/INST]SELECT manager FROM table_25527255_2 WHERE team = "FK Andijan"</s> |
CREATE TABLE table_24481478_1 (kickoff VARCHAR, date VARCHAR) | SELECT kickoff FROM table_24481478_1 WHERE date = "Saturday, April 20" | What time did the game start on saturday, april 20? | <s>[INST]What time did the game start on saturday, april 20? Context: CREATE TABLE table_24481478_1 (kickoff VARCHAR, date VARCHAR)[/INST]SELECT kickoff FROM table_24481478_1 WHERE date = "Saturday, April 20"</s> |
CREATE TABLE table_name_90 (evening_gown VARCHAR, swimsuit VARCHAR, country VARCHAR) | SELECT evening_gown FROM table_name_90 WHERE swimsuit > 9.51 AND country = "maryland" | Name the evening gown for swimsuit more than 9.51 for maryland | <s>[INST]Name the evening gown for swimsuit more than 9.51 for maryland Context: CREATE TABLE table_name_90 (evening_gown VARCHAR, swimsuit VARCHAR, country VARCHAR)[/INST]SELECT evening_gown FROM table_name_90 WHERE swimsuit > 9.51 AND country = "maryland"</s> |
CREATE TABLE table_12030612_9 (title VARCHAR, written_by VARCHAR) | SELECT COUNT(title) FROM table_12030612_9 WHERE written_by = "Adam I. Lapidus" | Name the number of titles written by adam i. lapidus | <s>[INST]Name the number of titles written by adam i. lapidus Context: CREATE TABLE table_12030612_9 (title VARCHAR, written_by VARCHAR)[/INST]SELECT COUNT(title) FROM table_12030612_9 WHERE written_by = "Adam I. Lapidus"</s> |
CREATE TABLE table_name_82 (season VARCHAR, level VARCHAR, position VARCHAR) | SELECT COUNT(season) FROM table_name_82 WHERE level = "tier 2" AND position = "1st" | Which Season has a Level of tier 2 and a Position of 1st? | <s>[INST]Which Season has a Level of tier 2 and a Position of 1st? Context: CREATE TABLE table_name_82 (season VARCHAR, level VARCHAR, position VARCHAR)[/INST]SELECT COUNT(season) FROM table_name_82 WHERE level = "tier 2" AND position = "1st"</s> |
CREATE TABLE table_name_84 (municipality VARCHAR, code VARCHAR) | SELECT municipality FROM table_name_84 WHERE code = 2401 | Which municipality has the code 2401? | <s>[INST]Which municipality has the code 2401? Context: CREATE TABLE table_name_84 (municipality VARCHAR, code VARCHAR)[/INST]SELECT municipality FROM table_name_84 WHERE code = 2401</s> |
CREATE TABLE table_name_20 (round VARCHAR, event VARCHAR) | SELECT round FROM table_name_20 WHERE event = "jiu-jitsu vs martial arts" | What is the Round for the jiu-jitsu vs martial arts? | <s>[INST]What is the Round for the jiu-jitsu vs martial arts? Context: CREATE TABLE table_name_20 (round VARCHAR, event VARCHAR)[/INST]SELECT round FROM table_name_20 WHERE event = "jiu-jitsu vs martial arts"</s> |
CREATE TABLE table_name_51 (position VARCHAR, played INTEGER) | SELECT COUNT(position) FROM table_name_51 WHERE played < 46 | What is the total number of Position, when Played is less than 46? | <s>[INST]What is the total number of Position, when Played is less than 46? Context: CREATE TABLE table_name_51 (position VARCHAR, played INTEGER)[/INST]SELECT COUNT(position) FROM table_name_51 WHERE played < 46</s> |
CREATE TABLE table_name_96 (leading_lady VARCHAR, title VARCHAR) | SELECT leading_lady FROM table_name_96 WHERE title = "the lonely trail" | Who is the leading lady in The Lonely Trail? | <s>[INST]Who is the leading lady in The Lonely Trail? Context: CREATE TABLE table_name_96 (leading_lady VARCHAR, title VARCHAR)[/INST]SELECT leading_lady FROM table_name_96 WHERE title = "the lonely trail"</s> |
CREATE TABLE table_22447251_2 (province VARCHAR, _community VARCHAR, hometown VARCHAR) | SELECT province, _community FROM table_22447251_2 WHERE hometown = "Villa Bisonó" | Which province is Villa Bisonó in? | <s>[INST]Which province is Villa Bisonó in? Context: CREATE TABLE table_22447251_2 (province VARCHAR, _community VARCHAR, hometown VARCHAR)[/INST]SELECT province, _community FROM table_22447251_2 WHERE hometown = "Villa Bisonó"</s> |
CREATE TABLE table_name_77 (region VARCHAR, catalog_number VARCHAR) | SELECT region FROM table_name_77 WHERE catalog_number = "3 12046 2" | What is the Region of the release with Catalog number 3 12046 2? | <s>[INST]What is the Region of the release with Catalog number 3 12046 2? Context: CREATE TABLE table_name_77 (region VARCHAR, catalog_number VARCHAR)[/INST]SELECT region FROM table_name_77 WHERE catalog_number = "3 12046 2"</s> |
CREATE TABLE table_1341690_20 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1341690_20 WHERE incumbent = "Robert Bauman" | What are all the results where Robert Bauman is the incumbent politician? | <s>[INST]What are all the results where Robert Bauman is the incumbent politician? Context: CREATE TABLE table_1341690_20 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_1341690_20 WHERE incumbent = "Robert Bauman"</s> |
CREATE TABLE match_season (Team VARCHAR) | SELECT COUNT(DISTINCT Team) FROM match_season | How many distinct teams are involved in match seasons? | <s>[INST]How many distinct teams are involved in match seasons? Context: CREATE TABLE match_season (Team VARCHAR)[/INST]SELECT COUNT(DISTINCT Team) FROM match_season</s> |
CREATE TABLE table_name_68 (airport VARCHAR, country VARCHAR, icao VARCHAR) | SELECT airport FROM table_name_68 WHERE country = "tunisia" AND icao = "dtaa" | what is the airport for the country tunisia with the icao dtaa? | <s>[INST]what is the airport for the country tunisia with the icao dtaa? Context: CREATE TABLE table_name_68 (airport VARCHAR, country VARCHAR, icao VARCHAR)[/INST]SELECT airport FROM table_name_68 WHERE country = "tunisia" AND icao = "dtaa"</s> |
CREATE TABLE table_27495117_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) | SELECT COUNT(manner_of_departure) FROM table_27495117_3 WHERE outgoing_manager = "Antonio Gómez" | How many teams had an outgoing manager of antonio gómez | <s>[INST]How many teams had an outgoing manager of antonio gómez Context: CREATE TABLE table_27495117_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT COUNT(manner_of_departure) FROM table_27495117_3 WHERE outgoing_manager = "Antonio Gómez"</s> |
CREATE TABLE table_262527_1 (type VARCHAR, joined VARCHAR) | SELECT type FROM table_262527_1 WHERE joined = "1902 5" | what type was joined in 1902 5? | <s>[INST]what type was joined in 1902 5? Context: CREATE TABLE table_262527_1 (type VARCHAR, joined VARCHAR)[/INST]SELECT type FROM table_262527_1 WHERE joined = "1902 5"</s> |
CREATE TABLE table_name_50 (high_rebounds VARCHAR, high_assists VARCHAR) | SELECT high_rebounds FROM table_name_50 WHERE high_assists = "jason kidd (13)" | What is High Rebounds, when High Assists is "Jason Kidd (13)"? | <s>[INST]What is High Rebounds, when High Assists is "Jason Kidd (13)"? Context: CREATE TABLE table_name_50 (high_rebounds VARCHAR, high_assists VARCHAR)[/INST]SELECT high_rebounds FROM table_name_50 WHERE high_assists = "jason kidd (13)"</s> |
CREATE TABLE table_name_84 (week INTEGER, result VARCHAR, attendance VARCHAR) | SELECT AVG(week) FROM table_name_84 WHERE result = "l 10–30" AND attendance > 57 OFFSET 312 | Which Week has a Result of l 10–30, and an Attendance larger than 57,312? | <s>[INST]Which Week has a Result of l 10–30, and an Attendance larger than 57,312? Context: CREATE TABLE table_name_84 (week INTEGER, result VARCHAR, attendance VARCHAR)[/INST]SELECT AVG(week) FROM table_name_84 WHERE result = "l 10–30" AND attendance > 57 OFFSET 312</s> |
CREATE TABLE product_suppliers (product_id VARCHAR, total_amount_purchased VARCHAR) | SELECT product_id FROM product_suppliers ORDER BY total_amount_purchased DESC LIMIT 3 | What are the ids of the top three products that were purchased in the largest amount? | <s>[INST]What are the ids of the top three products that were purchased in the largest amount? Context: CREATE TABLE product_suppliers (product_id VARCHAR, total_amount_purchased VARCHAR)[/INST]SELECT product_id FROM product_suppliers ORDER BY total_amount_purchased DESC LIMIT 3</s> |
CREATE TABLE table_name_6 (bronze VARCHAR, location VARCHAR, year VARCHAR) | SELECT bronze FROM table_name_6 WHERE location = "bangkok" AND year = 1978 | What is listed for the Bronze, with the Location of Bangkok, and the Year of 1978? | <s>[INST]What is listed for the Bronze, with the Location of Bangkok, and the Year of 1978? Context: CREATE TABLE table_name_6 (bronze VARCHAR, location VARCHAR, year VARCHAR)[/INST]SELECT bronze FROM table_name_6 WHERE location = "bangkok" AND year = 1978</s> |
CREATE TABLE table_name_3 (total_goals INTEGER, position VARCHAR, league_apps VARCHAR, total_apps VARCHAR) | SELECT MIN(total_goals) FROM table_name_3 WHERE league_apps < 171 AND total_apps = 151 AND position = "df" | What is the fewest total goals scored for players with under 171 league appearances, 151 total appearances, and the DF position? | <s>[INST]What is the fewest total goals scored for players with under 171 league appearances, 151 total appearances, and the DF position? Context: CREATE TABLE table_name_3 (total_goals INTEGER, position VARCHAR, league_apps VARCHAR, total_apps VARCHAR)[/INST]SELECT MIN(total_goals) FROM table_name_3 WHERE league_apps ... |
CREATE TABLE table_10023387_1 (years_played VARCHAR, singles_w_l VARCHAR) | SELECT years_played FROM table_10023387_1 WHERE singles_w_l = "3–2" | what's the years played with singles w-l of 3–2 | <s>[INST]what's the years played with singles w-l of 3–2 Context: CREATE TABLE table_10023387_1 (years_played VARCHAR, singles_w_l VARCHAR)[/INST]SELECT years_played FROM table_10023387_1 WHERE singles_w_l = "3–2"</s> |
CREATE TABLE table_23390604_1 (mohsen_rezaee INTEGER, mir_hossein_mousavi VARCHAR) | SELECT MAX(mohsen_rezaee) FROM table_23390604_1 WHERE mir_hossein_mousavi = 837858 | What is the highest score for candidate Mohsen Rezaee when candidate mir-hossein mousavi scored 837858 votes? | <s>[INST]What is the highest score for candidate Mohsen Rezaee when candidate mir-hossein mousavi scored 837858 votes? Context: CREATE TABLE table_23390604_1 (mohsen_rezaee INTEGER, mir_hossein_mousavi VARCHAR)[/INST]SELECT MAX(mohsen_rezaee) FROM table_23390604_1 WHERE mir_hossein_mousavi = 837858</s> |
CREATE TABLE table_26565936_2 (written_by VARCHAR, no_in_series VARCHAR) | SELECT written_by FROM table_26565936_2 WHERE no_in_series = 109 | Who wrote episode number 109 in the series? | <s>[INST]Who wrote episode number 109 in the series? Context: CREATE TABLE table_26565936_2 (written_by VARCHAR, no_in_series VARCHAR)[/INST]SELECT written_by FROM table_26565936_2 WHERE no_in_series = 109</s> |
CREATE TABLE table_name_29 (elevator VARCHAR, title VARCHAR) | SELECT elevator FROM table_name_29 WHERE title = "bishop of palestrina" | Which Elevator has a Title of bishop of palestrina? | <s>[INST]Which Elevator has a Title of bishop of palestrina? Context: CREATE TABLE table_name_29 (elevator VARCHAR, title VARCHAR)[/INST]SELECT elevator FROM table_name_29 WHERE title = "bishop of palestrina"</s> |
CREATE TABLE table_name_53 (partial_failures INTEGER, launches VARCHAR, family VARCHAR, country VARCHAR, failures VARCHAR) | SELECT AVG(partial_failures) FROM table_name_53 WHERE country = "russia" AND failures > 0 AND family = "angara" AND launches > 1 | What is the partial failure for the Country of russia, and a Failure larger than 0, and a Family of angara, and a Launch larger than 1? | <s>[INST]What is the partial failure for the Country of russia, and a Failure larger than 0, and a Family of angara, and a Launch larger than 1? Context: CREATE TABLE table_name_53 (partial_failures INTEGER, launches VARCHAR, family VARCHAR, country VARCHAR, failures VARCHAR)[/INST]SELECT AVG(partial_failures) FROM tab... |
CREATE TABLE table_name_42 (total INTEGER, gold VARCHAR, bronze VARCHAR) | SELECT MIN(total) FROM table_name_42 WHERE gold = 11 AND bronze > 2 | What is the smallest total that has 11 golds and bronzes over 2? | <s>[INST]What is the smallest total that has 11 golds and bronzes over 2? Context: CREATE TABLE table_name_42 (total INTEGER, gold VARCHAR, bronze VARCHAR)[/INST]SELECT MIN(total) FROM table_name_42 WHERE gold = 11 AND bronze > 2</s> |
CREATE TABLE table_name_18 (latitude VARCHAR, longitude VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR) | SELECT latitude FROM table_name_18 WHERE land___sqmi__ < 34.401 AND geo_id < 3807157722 AND longitude = -98.475995 | What is the latitude that has a sqmi smaller than 34.401, a Geo ID smaller than 3807157722, and a Longitude of -98.475995? | <s>[INST]What is the latitude that has a sqmi smaller than 34.401, a Geo ID smaller than 3807157722, and a Longitude of -98.475995? Context: CREATE TABLE table_name_18 (latitude VARCHAR, longitude VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR)[/INST]SELECT latitude FROM table_name_18 WHERE land___sqmi__ < 34.401 AND g... |
CREATE TABLE table_name_36 (name_in_polish VARCHAR, seat VARCHAR) | SELECT name_in_polish FROM table_name_36 WHERE seat = "radom" | Tell me the name in polish for radom seat | <s>[INST]Tell me the name in polish for radom seat Context: CREATE TABLE table_name_36 (name_in_polish VARCHAR, seat VARCHAR)[/INST]SELECT name_in_polish FROM table_name_36 WHERE seat = "radom"</s> |
CREATE TABLE table_name_59 (representative VARCHAR, termination_of_mission VARCHAR) | SELECT representative FROM table_name_59 WHERE termination_of_mission = "mar 25, 1976" | Which representative has a Termination of MIssion date Mar 25, 1976? | <s>[INST]Which representative has a Termination of MIssion date Mar 25, 1976? Context: CREATE TABLE table_name_59 (representative VARCHAR, termination_of_mission VARCHAR)[/INST]SELECT representative FROM table_name_59 WHERE termination_of_mission = "mar 25, 1976"</s> |
CREATE TABLE table_name_60 (points VARCHAR, tries VARCHAR, goals VARCHAR) | SELECT COUNT(points) FROM table_name_60 WHERE tries < 1 AND goals > 0 | What is the total number of Points with less than 1 tries, and more than 0 goals? | <s>[INST]What is the total number of Points with less than 1 tries, and more than 0 goals? Context: CREATE TABLE table_name_60 (points VARCHAR, tries VARCHAR, goals VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_60 WHERE tries < 1 AND goals > 0</s> |
CREATE TABLE table_name_37 (Id VARCHAR) | SELECT 2006 FROM table_name_37 WHERE 2012 = "grand slam tournaments" | What is the value in 2006 when it is Grand Slam Tournaments in 2012? | <s>[INST]What is the value in 2006 when it is Grand Slam Tournaments in 2012? Context: CREATE TABLE table_name_37 (Id VARCHAR)[/INST]SELECT 2006 FROM table_name_37 WHERE 2012 = "grand slam tournaments"</s> |
CREATE TABLE table_name_69 (position INTEGER, points VARCHAR, equipment VARCHAR) | SELECT AVG(position) FROM table_name_69 WHERE points < 54 AND equipment = "husaberg-bsu" | What is the average position for a driver with less than 54 points and husaberg-bsu as equipment? | <s>[INST]What is the average position for a driver with less than 54 points and husaberg-bsu as equipment? Context: CREATE TABLE table_name_69 (position INTEGER, points VARCHAR, equipment VARCHAR)[/INST]SELECT AVG(position) FROM table_name_69 WHERE points < 54 AND equipment = "husaberg-bsu"</s> |
CREATE TABLE Documents_with_expenses (document_id VARCHAR, document_type_code VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_type_code VARCHAR) | SELECT document_id FROM Documents WHERE document_type_code = "CV" EXCEPT SELECT document_id FROM Documents_with_expenses | Show ids for all documents in type CV without expense budgets. | <s>[INST]Show ids for all documents in type CV without expense budgets. Context: CREATE TABLE Documents_with_expenses (document_id VARCHAR, document_type_code VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_type_code VARCHAR)[/INST]SELECT document_id FROM Documents WHERE document_type_code = "CV" EXCEPT... |
CREATE TABLE table_name_68 (region VARCHAR, format VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_68 WHERE format = "stereo lp" AND catalog = "amlh 66078" | What is the region for Catalog amlh 66078 in stereo lp format? | <s>[INST]What is the region for Catalog amlh 66078 in stereo lp format? Context: CREATE TABLE table_name_68 (region VARCHAR, format VARCHAR, catalog VARCHAR)[/INST]SELECT region FROM table_name_68 WHERE format = "stereo lp" AND catalog = "amlh 66078"</s> |
CREATE TABLE table_name_60 (attendance VARCHAR, competition VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_60 WHERE competition = "scottish cup" AND date = "29.02.2000" | How many people attended the Scottish Cup on 29.02.2000? | <s>[INST]How many people attended the Scottish Cup on 29.02.2000? Context: CREATE TABLE table_name_60 (attendance VARCHAR, competition VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_60 WHERE competition = "scottish cup" AND date = "29.02.2000"</s> |
CREATE TABLE table_2263152_1 (features VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR) | SELECT features FROM table_2263152_1 WHERE security_issues = "98-004" AND distribution_mechanism = "Microsoft website" | If the distribution mechanism is the Microsoft website and the security issues id 98-004, what are all of the features? | <s>[INST]If the distribution mechanism is the Microsoft website and the security issues id 98-004, what are all of the features? Context: CREATE TABLE table_2263152_1 (features VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR)[/INST]SELECT features FROM table_2263152_1 WHERE security_issues = "98-004" A... |
CREATE TABLE table_name_4 (total INTEGER, silver VARCHAR, gold VARCHAR, rank VARCHAR) | SELECT MIN(total) FROM table_name_4 WHERE gold > 6 AND rank > 2 AND silver > 5 | For ranks over 2 with Golds over 6 and Silvers over 5 what would be the lowest qualifying Total? | <s>[INST]For ranks over 2 with Golds over 6 and Silvers over 5 what would be the lowest qualifying Total? Context: CREATE TABLE table_name_4 (total INTEGER, silver VARCHAR, gold VARCHAR, rank VARCHAR)[/INST]SELECT MIN(total) FROM table_name_4 WHERE gold > 6 AND rank > 2 AND silver > 5</s> |
CREATE TABLE table_name_83 (gross_revenue__1979_ VARCHAR, venue VARCHAR) | SELECT gross_revenue__1979_ FROM table_name_83 WHERE venue = "lyceum theatre" | What is the Gross Revenue (1979) of the Venue, lyceum theatre? | <s>[INST]What is the Gross Revenue (1979) of the Venue, lyceum theatre? Context: CREATE TABLE table_name_83 (gross_revenue__1979_ VARCHAR, venue VARCHAR)[/INST]SELECT gross_revenue__1979_ FROM table_name_83 WHERE venue = "lyceum theatre"</s> |
CREATE TABLE table_name_68 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_68 WHERE record = "4–2–0" | Which Date has a Record of 4–2–0? | <s>[INST]Which Date has a Record of 4–2–0? Context: CREATE TABLE table_name_68 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_68 WHERE record = "4–2–0"</s> |
CREATE TABLE table_17120964_5 (man_of_the_match VARCHAR, date VARCHAR) | SELECT man_of_the_match FROM table_17120964_5 WHERE date = "24th" | Name the man of the match for 24th | <s>[INST]Name the man of the match for 24th Context: CREATE TABLE table_17120964_5 (man_of_the_match VARCHAR, date VARCHAR)[/INST]SELECT man_of_the_match FROM table_17120964_5 WHERE date = "24th"</s> |
CREATE TABLE table_name_72 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_72 WHERE score = 66 - 69 = 135 | What Country Scored 66-69=135? | <s>[INST]What Country Scored 66-69=135? Context: CREATE TABLE table_name_72 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_72 WHERE score = 66 - 69 = 135</s> |
CREATE TABLE table_name_50 (game INTEGER, record VARCHAR, points VARCHAR) | SELECT SUM(game) FROM table_name_50 WHERE record = "14–10–4" AND points < 32 | Which Game has a Record of 14–10–4, and Points smaller than 32? | <s>[INST]Which Game has a Record of 14–10–4, and Points smaller than 32? Context: CREATE TABLE table_name_50 (game INTEGER, record VARCHAR, points VARCHAR)[/INST]SELECT SUM(game) FROM table_name_50 WHERE record = "14–10–4" AND points < 32</s> |
CREATE TABLE table_name_88 (venue VARCHAR, competition VARCHAR) | SELECT venue FROM table_name_88 WHERE competition = "friendly" | What venue is listed as having a competition titled Friendly? | <s>[INST]What venue is listed as having a competition titled Friendly? Context: CREATE TABLE table_name_88 (venue VARCHAR, competition VARCHAR)[/INST]SELECT venue FROM table_name_88 WHERE competition = "friendly"</s> |
CREATE TABLE table_name_22 (Id VARCHAR) | SELECT 1949 FROM table_name_22 WHERE 1945 = "a" | What did the tournament that got an A in 1945 get in 1949? | <s>[INST]What did the tournament that got an A in 1945 get in 1949? Context: CREATE TABLE table_name_22 (Id VARCHAR)[/INST]SELECT 1949 FROM table_name_22 WHERE 1945 = "a"</s> |
CREATE TABLE table_name_31 (annual_change VARCHAR, rank VARCHAR, capacity_in_use VARCHAR) | SELECT annual_change FROM table_name_31 WHERE rank < 3 AND capacity_in_use = "78.4%" | In which yearly change was there a capacity of 78.4% and a rank smaller than 3? | <s>[INST]In which yearly change was there a capacity of 78.4% and a rank smaller than 3? Context: CREATE TABLE table_name_31 (annual_change VARCHAR, rank VARCHAR, capacity_in_use VARCHAR)[/INST]SELECT annual_change FROM table_name_31 WHERE rank < 3 AND capacity_in_use = "78.4%"</s> |
CREATE TABLE table_name_22 (Id VARCHAR) | SELECT 1994 FROM table_name_22 WHERE 1998 = "2r" | What is the 1994 finish in the event that had a 1998 finish of 2R? | <s>[INST]What is the 1994 finish in the event that had a 1998 finish of 2R? Context: CREATE TABLE table_name_22 (Id VARCHAR)[/INST]SELECT 1994 FROM table_name_22 WHERE 1998 = "2r"</s> |
CREATE TABLE table_name_50 (location VARCHAR, year VARCHAR) | SELECT location FROM table_name_50 WHERE year = "2009" | What was the location in 2009? | <s>[INST]What was the location in 2009? Context: CREATE TABLE table_name_50 (location VARCHAR, year VARCHAR)[/INST]SELECT location FROM table_name_50 WHERE year = "2009"</s> |
CREATE TABLE table_21035326_1 (opponent VARCHAR, golden_bears_points VARCHAR) | SELECT opponent FROM table_21035326_1 WHERE golden_bears_points = 3 | What opponent was playing against the Golden Bears when they scored 3 points? | <s>[INST]What opponent was playing against the Golden Bears when they scored 3 points? Context: CREATE TABLE table_21035326_1 (opponent VARCHAR, golden_bears_points VARCHAR)[/INST]SELECT opponent FROM table_21035326_1 WHERE golden_bears_points = 3</s> |
CREATE TABLE table_1007688_1 (typhoid_fever VARCHAR, year VARCHAR) | SELECT typhoid_fever FROM table_1007688_1 WHERE year = "1929" | what is the typhoid fever number for the year 1929 | <s>[INST]what is the typhoid fever number for the year 1929 Context: CREATE TABLE table_1007688_1 (typhoid_fever VARCHAR, year VARCHAR)[/INST]SELECT typhoid_fever FROM table_1007688_1 WHERE year = "1929"</s> |
CREATE TABLE table_name_5 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_5 WHERE score = 68 - 74 - 71 - 77 = 290 | What's the to par for the score of 68-74-71-77=290? | <s>[INST]What's the to par for the score of 68-74-71-77=290? Context: CREATE TABLE table_name_5 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_5 WHERE score = 68 - 74 - 71 - 77 = 290</s> |
CREATE TABLE people (Hometown VARCHAR, Age INTEGER) | SELECT Hometown FROM people WHERE Age > 23 INTERSECT SELECT Hometown FROM people WHERE Age < 20 | Show the hometowns shared by people older than 23 and younger than 20. | <s>[INST]Show the hometowns shared by people older than 23 and younger than 20. Context: CREATE TABLE people (Hometown VARCHAR, Age INTEGER)[/INST]SELECT Hometown FROM people WHERE Age > 23 INTERSECT SELECT Hometown FROM people WHERE Age < 20</s> |
CREATE TABLE table_name_50 (place VARCHAR, bronze VARCHAR, silver VARCHAR, year VARCHAR) | SELECT place FROM table_name_50 WHERE silver = "valeri postoianov ( urs )" AND year > 1969 AND bronze = "alexander gazov ( urs )" | In which Place was the Silver won by valeri postoianov ( urs ) later than 1969 and the Bronze won by alexander gazov ( urs )? | <s>[INST]In which Place was the Silver won by valeri postoianov ( urs ) later than 1969 and the Bronze won by alexander gazov ( urs )? Context: CREATE TABLE table_name_50 (place VARCHAR, bronze VARCHAR, silver VARCHAR, year VARCHAR)[/INST]SELECT place FROM table_name_50 WHERE silver = "valeri postoianov ( urs )" AND ye... |
CREATE TABLE table_name_11 (home_team VARCHAR, crowd INTEGER) | SELECT home_team AS score FROM table_name_11 WHERE crowd > 30 OFFSET 100 | What is the home team score when the crowd was larger than 30,100? | <s>[INST]What is the home team score when the crowd was larger than 30,100? Context: CREATE TABLE table_name_11 (home_team VARCHAR, crowd INTEGER)[/INST]SELECT home_team AS score FROM table_name_11 WHERE crowd > 30 OFFSET 100</s> |
CREATE TABLE table_name_46 (type VARCHAR, built VARCHAR) | SELECT type FROM table_name_46 WHERE built = 1923 | Which type of locomotive was built in 1923? | <s>[INST]Which type of locomotive was built in 1923? Context: CREATE TABLE table_name_46 (type VARCHAR, built VARCHAR)[/INST]SELECT type FROM table_name_46 WHERE built = 1923</s> |
CREATE TABLE table_name_99 (overall INTEGER, round VARCHAR) | SELECT MIN(overall) FROM table_name_99 WHERE round = 7 | Which Overall has a Round of 7? | <s>[INST]Which Overall has a Round of 7? Context: CREATE TABLE table_name_99 (overall INTEGER, round VARCHAR)[/INST]SELECT MIN(overall) FROM table_name_99 WHERE round = 7</s> |
CREATE TABLE table_20867295_2 (season VARCHAR, winner VARCHAR, third_place VARCHAR) | SELECT season FROM table_20867295_2 WHERE winner = "Ajax" AND third_place = "Twente" | When twente came in third place and ajax was the winner what are the seasons? | <s>[INST]When twente came in third place and ajax was the winner what are the seasons? Context: CREATE TABLE table_20867295_2 (season VARCHAR, winner VARCHAR, third_place VARCHAR)[/INST]SELECT season FROM table_20867295_2 WHERE winner = "Ajax" AND third_place = "Twente"</s> |
CREATE TABLE table_name_18 (location VARCHAR, event VARCHAR) | SELECT location FROM table_name_18 WHERE event = "ufc 154" | Where was the UFC 154 match held? | <s>[INST]Where was the UFC 154 match held? Context: CREATE TABLE table_name_18 (location VARCHAR, event VARCHAR)[/INST]SELECT location FROM table_name_18 WHERE event = "ufc 154"</s> |
CREATE TABLE table_28059992_5 (position VARCHAR, cfl_team VARCHAR) | SELECT position FROM table_28059992_5 WHERE cfl_team = "Saskatchewan" | What position did the draft pick going to saskatchewan play? | <s>[INST]What position did the draft pick going to saskatchewan play? Context: CREATE TABLE table_28059992_5 (position VARCHAR, cfl_team VARCHAR)[/INST]SELECT position FROM table_28059992_5 WHERE cfl_team = "Saskatchewan"</s> |
CREATE TABLE table_name_6 (silver INTEGER, gold VARCHAR, rank VARCHAR) | SELECT AVG(silver) FROM table_name_6 WHERE gold = 2 AND rank > 1 | what is the amount of silver when gold is 2 and the rank is more than 1? | <s>[INST]what is the amount of silver when gold is 2 and the rank is more than 1? Context: CREATE TABLE table_name_6 (silver INTEGER, gold VARCHAR, rank VARCHAR)[/INST]SELECT AVG(silver) FROM table_name_6 WHERE gold = 2 AND rank > 1</s> |
CREATE TABLE table_29225103_2 (cm_winning_team VARCHAR, fm_winning_team VARCHAR) | SELECT cm_winning_team FROM table_29225103_2 WHERE fm_winning_team = "#17 Elva - Ford" | Who was the CM winning team when the FM winning team was #17 Elva - Ford? | <s>[INST]Who was the CM winning team when the FM winning team was #17 Elva - Ford? Context: CREATE TABLE table_29225103_2 (cm_winning_team VARCHAR, fm_winning_team VARCHAR)[/INST]SELECT cm_winning_team FROM table_29225103_2 WHERE fm_winning_team = "#17 Elva - Ford"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.