context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_92 (tournament VARCHAR) | SELECT tournament FROM table_name_92 WHERE 1996 = "1r" AND 1990 = "sf" | What is Tournament, when 1996 is "1R", and when 1990 is "SF"? | <s>[INST]What is Tournament, when 1996 is "1R", and when 1990 is "SF"? Context: CREATE TABLE table_name_92 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_92 WHERE 1996 = "1r" AND 1990 = "sf"</s> |
CREATE TABLE table_name_80 (partner VARCHAR, date VARCHAR) | SELECT partner FROM table_name_80 WHERE date = "october 20, 2013" | Who was the partner for the game on October 20, 2013? | <s>[INST]Who was the partner for the game on October 20, 2013? Context: CREATE TABLE table_name_80 (partner VARCHAR, date VARCHAR)[/INST]SELECT partner FROM table_name_80 WHERE date = "october 20, 2013"</s> |
CREATE TABLE entrepreneur (Company VARCHAR, People_ID VARCHAR, Money_Requested VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) | SELECT T2.Name, T1.Company FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Money_Requested | List the names of entrepreneurs and their companies in descending order of money requested? | <s>[INST]List the names of entrepreneurs and their companies in descending order of money requested? Context: CREATE TABLE entrepreneur (Company VARCHAR, People_ID VARCHAR, Money_Requested VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)[/INST]SELECT T2.Name, T1.Company FROM entrepreneur AS T1 JOIN peopl... |
CREATE TABLE table_name_78 (try_bonus VARCHAR, lost VARCHAR) | SELECT try_bonus FROM table_name_78 WHERE lost = "12" | What i the try bonus with 12 losses? | <s>[INST]What i the try bonus with 12 losses? Context: CREATE TABLE table_name_78 (try_bonus VARCHAR, lost VARCHAR)[/INST]SELECT try_bonus FROM table_name_78 WHERE lost = "12"</s> |
CREATE TABLE table_name_49 (ihsaa_class VARCHAR, school VARCHAR) | SELECT ihsaa_class FROM table_name_49 WHERE school = "chesterton" | What is the IHSAA class for Chesterton? | <s>[INST]What is the IHSAA class for Chesterton? Context: CREATE TABLE table_name_49 (ihsaa_class VARCHAR, school VARCHAR)[/INST]SELECT ihsaa_class FROM table_name_49 WHERE school = "chesterton"</s> |
CREATE TABLE table_2562572_52 (dominant_religion__2002_ VARCHAR, cyrillic_name VARCHAR) | SELECT COUNT(dominant_religion__2002_) FROM table_2562572_52 WHERE cyrillic_name = "Сибач" | how many times is the cyrillic name сибач? | <s>[INST]how many times is the cyrillic name сибач? Context: CREATE TABLE table_2562572_52 (dominant_religion__2002_ VARCHAR, cyrillic_name VARCHAR)[/INST]SELECT COUNT(dominant_religion__2002_) FROM table_2562572_52 WHERE cyrillic_name = "Сибач"</s> |
CREATE TABLE table_26708105_5 (common_name VARCHAR, accession_number VARCHAR) | SELECT COUNT(common_name) FROM table_26708105_5 WHERE accession_number = "XP_001843282" | How many times is the accession number xp_001843282? | <s>[INST]How many times is the accession number xp_001843282? Context: CREATE TABLE table_26708105_5 (common_name VARCHAR, accession_number VARCHAR)[/INST]SELECT COUNT(common_name) FROM table_26708105_5 WHERE accession_number = "XP_001843282"</s> |
CREATE TABLE table_name_43 (opponent VARCHAR, week VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_43 WHERE week < 16 AND date = "september 7, 2008" | What opponent has a week less than 16, with September 7, 2008 as the date? | <s>[INST]What opponent has a week less than 16, with September 7, 2008 as the date? Context: CREATE TABLE table_name_43 (opponent VARCHAR, week VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_43 WHERE week < 16 AND date = "september 7, 2008"</s> |
CREATE TABLE train (train_number VARCHAR, TIME VARCHAR, origin VARCHAR, destination VARCHAR) | SELECT train_number, TIME FROM train WHERE origin = 'Chennai' AND destination = 'Guruvayur' | Find the number and time of the train that goes from Chennai to Guruvayur. | <s>[INST]Find the number and time of the train that goes from Chennai to Guruvayur. Context: CREATE TABLE train (train_number VARCHAR, TIME VARCHAR, origin VARCHAR, destination VARCHAR)[/INST]SELECT train_number, TIME FROM train WHERE origin = 'Chennai' AND destination = 'Guruvayur'</s> |
CREATE TABLE table_name_79 (icao VARCHAR, country VARCHAR, iata VARCHAR) | SELECT icao FROM table_name_79 WHERE country = "france" AND iata = "ory" | What is the ICAO in France with an IATA of Ory? | <s>[INST]What is the ICAO in France with an IATA of Ory? Context: CREATE TABLE table_name_79 (icao VARCHAR, country VARCHAR, iata VARCHAR)[/INST]SELECT icao FROM table_name_79 WHERE country = "france" AND iata = "ory"</s> |
CREATE TABLE table_name_49 (laps INTEGER, grid VARCHAR, points VARCHAR, team VARCHAR) | SELECT MAX(laps) FROM table_name_49 WHERE points < 5 AND team = "garry rogers motorsport" AND grid < 23 | What is the highest number of laps when there are less than 5 points for team garry rogers motorsport and the grid number is under 23? | <s>[INST]What is the highest number of laps when there are less than 5 points for team garry rogers motorsport and the grid number is under 23? Context: CREATE TABLE table_name_49 (laps INTEGER, grid VARCHAR, points VARCHAR, team VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_49 WHERE points < 5 AND team = "garry roge... |
CREATE TABLE table_name_69 (player VARCHAR, pick__number VARCHAR, mls_team VARCHAR) | SELECT player FROM table_name_69 WHERE pick__number < 3 AND mls_team = "fc dallas" | Name the player for fc dallas pick number less than 3 | <s>[INST]Name the player for fc dallas pick number less than 3 Context: CREATE TABLE table_name_69 (player VARCHAR, pick__number VARCHAR, mls_team VARCHAR)[/INST]SELECT player FROM table_name_69 WHERE pick__number < 3 AND mls_team = "fc dallas"</s> |
CREATE TABLE table_name_32 (player VARCHAR, nhl_team VARCHAR, round VARCHAR, mwehl_team VARCHAR) | SELECT player FROM table_name_32 WHERE round = "7" AND mwehl_team = "detroit honeybaked" AND nhl_team = "philadelphia flyers" | Who was the player in Round 7, on the MWEHL Team Detroit Honeybaked, and the NHL Team, Philadelphia Flyers teams? | <s>[INST]Who was the player in Round 7, on the MWEHL Team Detroit Honeybaked, and the NHL Team, Philadelphia Flyers teams? Context: CREATE TABLE table_name_32 (player VARCHAR, nhl_team VARCHAR, round VARCHAR, mwehl_team VARCHAR)[/INST]SELECT player FROM table_name_32 WHERE round = "7" AND mwehl_team = "detroit honeybak... |
CREATE TABLE table_name_6 (overall VARCHAR, college VARCHAR) | SELECT COUNT(overall) FROM table_name_6 WHERE college = "wyoming" | What is the overall number for the College of Wyoming? | <s>[INST]What is the overall number for the College of Wyoming? Context: CREATE TABLE table_name_6 (overall VARCHAR, college VARCHAR)[/INST]SELECT COUNT(overall) FROM table_name_6 WHERE college = "wyoming"</s> |
CREATE TABLE table_name_51 (doctor_who_episode VARCHAR, original_airdate__uk_ VARCHAR) | SELECT doctor_who_episode FROM table_name_51 WHERE original_airdate__uk_ = "dvd only" | Which Doctor Who episode has a Original airdate (UK) of dvd only? | <s>[INST]Which Doctor Who episode has a Original airdate (UK) of dvd only? Context: CREATE TABLE table_name_51 (doctor_who_episode VARCHAR, original_airdate__uk_ VARCHAR)[/INST]SELECT doctor_who_episode FROM table_name_51 WHERE original_airdate__uk_ = "dvd only"</s> |
CREATE TABLE table_name_18 (code__iata_icao_ VARCHAR, rank VARCHAR) | SELECT code__iata_icao_ FROM table_name_18 WHERE rank = 10 | What is the code for rank 10? | <s>[INST]What is the code for rank 10? Context: CREATE TABLE table_name_18 (code__iata_icao_ VARCHAR, rank VARCHAR)[/INST]SELECT code__iata_icao_ FROM table_name_18 WHERE rank = 10</s> |
CREATE TABLE table_name_28 (local_name VARCHAR, dates_aired VARCHAR) | SELECT local_name FROM table_name_28 WHERE dates_aired = "1981" | What is the local name for the episodes that aired in 1981? | <s>[INST]What is the local name for the episodes that aired in 1981? Context: CREATE TABLE table_name_28 (local_name VARCHAR, dates_aired VARCHAR)[/INST]SELECT local_name FROM table_name_28 WHERE dates_aired = "1981"</s> |
CREATE TABLE table_name_90 (team_2 VARCHAR, team_1 VARCHAR, result VARCHAR) | SELECT team_2 FROM table_name_90 WHERE team_1 = "taipower" AND result = "0-1" | What team is 2 when 1 is Taipower and the result is 0-1? | <s>[INST]What team is 2 when 1 is Taipower and the result is 0-1? Context: CREATE TABLE table_name_90 (team_2 VARCHAR, team_1 VARCHAR, result VARCHAR)[/INST]SELECT team_2 FROM table_name_90 WHERE team_1 = "taipower" AND result = "0-1"</s> |
CREATE TABLE table_name_6 (city VARCHAR, date VARCHAR, name VARCHAR) | SELECT city FROM table_name_6 WHERE date = "5th" AND name = "guelferbytanus b" | I want to know the city for guelferbytanus b and the 5th | <s>[INST]I want to know the city for guelferbytanus b and the 5th Context: CREATE TABLE table_name_6 (city VARCHAR, date VARCHAR, name VARCHAR)[/INST]SELECT city FROM table_name_6 WHERE date = "5th" AND name = "guelferbytanus b"</s> |
CREATE TABLE table_name_95 (result VARCHAR, score VARCHAR) | SELECT result FROM table_name_95 WHERE score = "4-0" | What was the result of the competition that had a score of 4-0? | <s>[INST]What was the result of the competition that had a score of 4-0? Context: CREATE TABLE table_name_95 (result VARCHAR, score VARCHAR)[/INST]SELECT result FROM table_name_95 WHERE score = "4-0"</s> |
CREATE TABLE table_name_6 (probate_activities VARCHAR, reserved_instruments VARCHAR, regulator VARCHAR) | SELECT probate_activities FROM table_name_6 WHERE reserved_instruments = "no" AND regulator = "chartered institute of legal executives" | What is Probate Activities, when Reserved Instruments is No, and when Regulator is Chartered Institute of Legal Executives? | <s>[INST]What is Probate Activities, when Reserved Instruments is No, and when Regulator is Chartered Institute of Legal Executives? Context: CREATE TABLE table_name_6 (probate_activities VARCHAR, reserved_instruments VARCHAR, regulator VARCHAR)[/INST]SELECT probate_activities FROM table_name_6 WHERE reserved_instrumen... |
CREATE TABLE table_name_45 (surface VARCHAR, score VARCHAR) | SELECT surface FROM table_name_45 WHERE score = "6–4, 6–2" | Which surface has a Score of 6–4, 6–2? | <s>[INST]Which surface has a Score of 6–4, 6–2? Context: CREATE TABLE table_name_45 (surface VARCHAR, score VARCHAR)[/INST]SELECT surface FROM table_name_45 WHERE score = "6–4, 6–2"</s> |
CREATE TABLE table_name_25 (outcome VARCHAR, year VARCHAR) | SELECT outcome FROM table_name_25 WHERE year = 1975 | What was the outcome in 1975? | <s>[INST]What was the outcome in 1975? Context: CREATE TABLE table_name_25 (outcome VARCHAR, year VARCHAR)[/INST]SELECT outcome FROM table_name_25 WHERE year = 1975</s> |
CREATE TABLE table_2076490_1 (school VARCHAR, enrollment__2005_ VARCHAR) | SELECT school FROM table_2076490_1 WHERE enrollment__2005_ = "69" | What school had an enrollment in 2005 of 69? | <s>[INST]What school had an enrollment in 2005 of 69? Context: CREATE TABLE table_2076490_1 (school VARCHAR, enrollment__2005_ VARCHAR)[/INST]SELECT school FROM table_2076490_1 WHERE enrollment__2005_ = "69"</s> |
CREATE TABLE table_2623498_4 (Season VARCHAR, written_by VARCHAR) | SELECT Season AS episode__number FROM table_2623498_4 WHERE written_by = "Mark Drop" | Which episodes in season 3 were written by Mark Drop? | <s>[INST]Which episodes in season 3 were written by Mark Drop? Context: CREATE TABLE table_2623498_4 (Season VARCHAR, written_by VARCHAR)[/INST]SELECT Season AS episode__number FROM table_2623498_4 WHERE written_by = "Mark Drop"</s> |
CREATE TABLE table_name_91 (team VARCHAR, head_coach VARCHAR) | SELECT team AS Captain FROM table_name_91 WHERE head_coach = "felix magath" | For the team led by head coach Felix Magath, who is the team captain? | <s>[INST]For the team led by head coach Felix Magath, who is the team captain? Context: CREATE TABLE table_name_91 (team VARCHAR, head_coach VARCHAR)[/INST]SELECT team AS Captain FROM table_name_91 WHERE head_coach = "felix magath"</s> |
CREATE TABLE table_name_82 (combined VARCHAR, overall INTEGER) | SELECT combined FROM table_name_82 WHERE overall < 34 | What is the combined of the overalls less than 34? | <s>[INST]What is the combined of the overalls less than 34? Context: CREATE TABLE table_name_82 (combined VARCHAR, overall INTEGER)[/INST]SELECT combined FROM table_name_82 WHERE overall < 34</s> |
CREATE TABLE table_23495048_2 (represent VARCHAR, height__mtr_ VARCHAR) | SELECT represent FROM table_23495048_2 WHERE height__mtr_ = "1.76" | Which country had a contestant that was 1.76 meters tall? | <s>[INST]Which country had a contestant that was 1.76 meters tall? Context: CREATE TABLE table_23495048_2 (represent VARCHAR, height__mtr_ VARCHAR)[/INST]SELECT represent FROM table_23495048_2 WHERE height__mtr_ = "1.76"</s> |
CREATE TABLE table_23840623_4 (dirty_electric_grid_rocky_mountains__denver_ VARCHAR, clean_electric_grid_california__san_francisco_ VARCHAR) | SELECT dirty_electric_grid_rocky_mountains__denver_ FROM table_23840623_4 WHERE clean_electric_grid_california__san_francisco_ = "160 g/mi (99 g/km)" | What is the dirty electric grid rocky mountains (denver) for the vehicle with the clean electric grid california (san francisco) of 160 g/mi (99 g/km)? | <s>[INST]What is the dirty electric grid rocky mountains (denver) for the vehicle with the clean electric grid california (san francisco) of 160 g/mi (99 g/km)? Context: CREATE TABLE table_23840623_4 (dirty_electric_grid_rocky_mountains__denver_ VARCHAR, clean_electric_grid_california__san_francisco_ VARCHAR)[/INST]SEL... |
CREATE TABLE table_name_2 (fastest_laps INTEGER, seasons VARCHAR, poles VARCHAR, podiums VARCHAR) | SELECT SUM(fastest_laps) FROM table_name_2 WHERE poles = 0 AND podiums = 0 AND seasons = "1995" | What's the fastest laps during the 1995 season having poles & podiums at 0? | <s>[INST]What's the fastest laps during the 1995 season having poles & podiums at 0? Context: CREATE TABLE table_name_2 (fastest_laps INTEGER, seasons VARCHAR, poles VARCHAR, podiums VARCHAR)[/INST]SELECT SUM(fastest_laps) FROM table_name_2 WHERE poles = 0 AND podiums = 0 AND seasons = "1995"</s> |
CREATE TABLE table_206217_2 (periselene__km_ VARCHAR, period__h_ VARCHAR) | SELECT periselene__km_ FROM table_206217_2 WHERE period__h_ = "4.947432" | What is every value for periselene if period is 4.947432? | <s>[INST]What is every value for periselene if period is 4.947432? Context: CREATE TABLE table_206217_2 (periselene__km_ VARCHAR, period__h_ VARCHAR)[/INST]SELECT periselene__km_ FROM table_206217_2 WHERE period__h_ = "4.947432"</s> |
CREATE TABLE table_22043925_1 (school VARCHAR, location VARCHAR) | SELECT school FROM table_22043925_1 WHERE location = "Adelaide" | What is every school for the Adelaide location? | <s>[INST]What is every school for the Adelaide location? Context: CREATE TABLE table_22043925_1 (school VARCHAR, location VARCHAR)[/INST]SELECT school FROM table_22043925_1 WHERE location = "Adelaide"</s> |
CREATE TABLE table_name_88 (mintage VARCHAR, weight VARCHAR, theme VARCHAR) | SELECT COUNT(mintage) FROM table_name_88 WHERE weight = "12.61 g" AND theme = "ruby-throated hummingbird" | What is the Mintage of the 12.61 g Weight Ruby-Throated Hummingbird? | <s>[INST]What is the Mintage of the 12.61 g Weight Ruby-Throated Hummingbird? Context: CREATE TABLE table_name_88 (mintage VARCHAR, weight VARCHAR, theme VARCHAR)[/INST]SELECT COUNT(mintage) FROM table_name_88 WHERE weight = "12.61 g" AND theme = "ruby-throated hummingbird"</s> |
CREATE TABLE table_27708484_3 (overall_attendance INTEGER, overall_goals_scored VARCHAR) | SELECT MIN(overall_attendance) FROM table_27708484_3 WHERE overall_goals_scored = 19 | what is the minimum overall attendance where the goals scored were 19? | <s>[INST]what is the minimum overall attendance where the goals scored were 19? Context: CREATE TABLE table_27708484_3 (overall_attendance INTEGER, overall_goals_scored VARCHAR)[/INST]SELECT MIN(overall_attendance) FROM table_27708484_3 WHERE overall_goals_scored = 19</s> |
CREATE TABLE table_name_23 (tournament VARCHAR, score VARCHAR, outcome VARCHAR, surface VARCHAR) | SELECT tournament FROM table_name_23 WHERE outcome = "winner" AND surface = "clay" AND score = "6–4, 6–1" | Which Tournament has an Outcome of winner, and a Surface of clay, and a Score of 6–4, 6–1? | <s>[INST]Which Tournament has an Outcome of winner, and a Surface of clay, and a Score of 6–4, 6–1? Context: CREATE TABLE table_name_23 (tournament VARCHAR, score VARCHAR, outcome VARCHAR, surface VARCHAR)[/INST]SELECT tournament FROM table_name_23 WHERE outcome = "winner" AND surface = "clay" AND score = "6–4, 6–1"</s... |
CREATE TABLE table_15416002_1 (chi VARCHAR, nhc_advisory_number VARCHAR) | SELECT chi FROM table_15416002_1 WHERE nhc_advisory_number = "49B" | What is the CHI (Carvill Hurricane Index) when the NHC advisory number is equal to 49b? | <s>[INST]What is the CHI (Carvill Hurricane Index) when the NHC advisory number is equal to 49b? Context: CREATE TABLE table_15416002_1 (chi VARCHAR, nhc_advisory_number VARCHAR)[/INST]SELECT chi FROM table_15416002_1 WHERE nhc_advisory_number = "49B"</s> |
CREATE TABLE table_name_68 (losses VARCHAR, position VARCHAR, goals_for VARCHAR, draws VARCHAR, points VARCHAR) | SELECT COUNT(losses) FROM table_name_68 WHERE draws < 7 AND points > 26 AND goals_for = 60 AND position < 4 | What is the total number of losses and draws less than 7, points larger than 26, 60 goals, and a position before 4? | <s>[INST]What is the total number of losses and draws less than 7, points larger than 26, 60 goals, and a position before 4? Context: CREATE TABLE table_name_68 (losses VARCHAR, position VARCHAR, goals_for VARCHAR, draws VARCHAR, points VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_68 WHERE draws < 7 AND points >... |
CREATE TABLE table_name_33 (place VARCHAR, performance VARCHAR) | SELECT place FROM table_name_33 WHERE performance = "14:11.15" | What place had 14:11.15 as the performance? | <s>[INST]What place had 14:11.15 as the performance? Context: CREATE TABLE table_name_33 (place VARCHAR, performance VARCHAR)[/INST]SELECT place FROM table_name_33 WHERE performance = "14:11.15"</s> |
CREATE TABLE table_25983027_1 (rainfall_by_volume__km_3__year_ VARCHAR, rainfall_by_depth__mm_year_ VARCHAR) | SELECT rainfall_by_volume__km_3__year_ FROM table_25983027_1 WHERE rainfall_by_depth__mm_year_ = 3527 | What was the rainfall by volume in Huetar Atlantico where the rainfall depth (mm/year) was 3527? | <s>[INST]What was the rainfall by volume in Huetar Atlantico where the rainfall depth (mm/year) was 3527? Context: CREATE TABLE table_25983027_1 (rainfall_by_volume__km_3__year_ VARCHAR, rainfall_by_depth__mm_year_ VARCHAR)[/INST]SELECT rainfall_by_volume__km_3__year_ FROM table_25983027_1 WHERE rainfall_by_depth__mm_y... |
CREATE TABLE table_name_60 (decile INTEGER, area VARCHAR) | SELECT MIN(decile) FROM table_name_60 WHERE area = "otumoetai" | What is the smallest decile with an Area of otumoetai? | <s>[INST]What is the smallest decile with an Area of otumoetai? Context: CREATE TABLE table_name_60 (decile INTEGER, area VARCHAR)[/INST]SELECT MIN(decile) FROM table_name_60 WHERE area = "otumoetai"</s> |
CREATE TABLE table_12171145_1 (womens_doubles VARCHAR, mixed_doubles VARCHAR) | SELECT womens_doubles FROM table_12171145_1 WHERE mixed_doubles = "Jacco Arends Selena Piek" | Who was the womens doubles when the mixed doubles is jacco arends selena piek? | <s>[INST]Who was the womens doubles when the mixed doubles is jacco arends selena piek? Context: CREATE TABLE table_12171145_1 (womens_doubles VARCHAR, mixed_doubles VARCHAR)[/INST]SELECT womens_doubles FROM table_12171145_1 WHERE mixed_doubles = "Jacco Arends Selena Piek"</s> |
CREATE TABLE table_name_34 (river_mile INTEGER, location_ VARCHAR, l_ VARCHAR) | SELECT SUM(river_mile) FROM table_name_34 WHERE location_[l_] = "greenup, kentucky" | What is the total of the River Mile in Greenup, Kentucky? | <s>[INST]What is the total of the River Mile in Greenup, Kentucky? Context: CREATE TABLE table_name_34 (river_mile INTEGER, location_ VARCHAR, l_ VARCHAR)[/INST]SELECT SUM(river_mile) FROM table_name_34 WHERE location_[l_] = "greenup, kentucky"</s> |
CREATE TABLE table_name_56 (year VARCHAR, champion VARCHAR, runner_up VARCHAR) | SELECT year FROM table_name_56 WHERE champion = "akron goodyear wingfoots" AND runner_up = "real madrid" | What year was the International Cup that was won by Akron Goodyear Wingfoots and had Real Madrid as runner-up? | <s>[INST]What year was the International Cup that was won by Akron Goodyear Wingfoots and had Real Madrid as runner-up? Context: CREATE TABLE table_name_56 (year VARCHAR, champion VARCHAR, runner_up VARCHAR)[/INST]SELECT year FROM table_name_56 WHERE champion = "akron goodyear wingfoots" AND runner_up = "real madrid"</... |
CREATE TABLE table_name_41 (john_edwards VARCHAR, john_kerry VARCHAR) | SELECT john_edwards FROM table_name_41 WHERE john_kerry = "70%" | What is John Edwards, when John Kerry is "70%"? | <s>[INST]What is John Edwards, when John Kerry is "70%"? Context: CREATE TABLE table_name_41 (john_edwards VARCHAR, john_kerry VARCHAR)[/INST]SELECT john_edwards FROM table_name_41 WHERE john_kerry = "70%"</s> |
CREATE TABLE table_name_22 (number VARCHAR, name VARCHAR) | SELECT number FROM table_name_22 WHERE name = "tony dixon" | What number is Tony Dixon? | <s>[INST]What number is Tony Dixon? Context: CREATE TABLE table_name_22 (number VARCHAR, name VARCHAR)[/INST]SELECT number FROM table_name_22 WHERE name = "tony dixon"</s> |
CREATE TABLE table_26794530_1 (f_laps VARCHAR, points VARCHAR) | SELECT COUNT(f_laps) FROM table_26794530_1 WHERE points = "170" | How many f/laps were there when he scored 170 points? | <s>[INST]How many f/laps were there when he scored 170 points? Context: CREATE TABLE table_26794530_1 (f_laps VARCHAR, points VARCHAR)[/INST]SELECT COUNT(f_laps) FROM table_26794530_1 WHERE points = "170"</s> |
CREATE TABLE table_name_80 (remixed_by VARCHAR, version VARCHAR, album VARCHAR) | SELECT remixed_by FROM table_name_80 WHERE version = "album version" AND album = "les mots" | Which Remixed by has a Version of album version, and an Album of les mots? | <s>[INST]Which Remixed by has a Version of album version, and an Album of les mots? Context: CREATE TABLE table_name_80 (remixed_by VARCHAR, version VARCHAR, album VARCHAR)[/INST]SELECT remixed_by FROM table_name_80 WHERE version = "album version" AND album = "les mots"</s> |
CREATE TABLE table_name_84 (position VARCHAR, overall VARCHAR, pick VARCHAR) | SELECT position FROM table_name_84 WHERE overall < 314 AND pick < 8 | What is Position, when Overallis less than 314, and when Pick is less than 8? | <s>[INST]What is Position, when Overallis less than 314, and when Pick is less than 8? Context: CREATE TABLE table_name_84 (position VARCHAR, overall VARCHAR, pick VARCHAR)[/INST]SELECT position FROM table_name_84 WHERE overall < 314 AND pick < 8</s> |
CREATE TABLE table_14035132_3 (production_code VARCHAR, no_in_series VARCHAR) | SELECT production_code FROM table_14035132_3 WHERE no_in_series = "37b" | What's the production code of the episode with a series number 37b? | <s>[INST]What's the production code of the episode with a series number 37b? Context: CREATE TABLE table_14035132_3 (production_code VARCHAR, no_in_series VARCHAR)[/INST]SELECT production_code FROM table_14035132_3 WHERE no_in_series = "37b"</s> |
CREATE TABLE table_name_38 (college VARCHAR, team VARCHAR) | SELECT college FROM table_name_38 WHERE team = "new york jets" | Which college has their team as the New York Jets? | <s>[INST]Which college has their team as the New York Jets? Context: CREATE TABLE table_name_38 (college VARCHAR, team VARCHAR)[/INST]SELECT college FROM table_name_38 WHERE team = "new york jets"</s> |
CREATE TABLE table_name_99 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_99 WHERE player = "lanny wadkins" | What is the To par for Lanny Wadkins? | <s>[INST]What is the To par for Lanny Wadkins? Context: CREATE TABLE table_name_99 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_99 WHERE player = "lanny wadkins"</s> |
CREATE TABLE table_name_60 (plural VARCHAR, singular VARCHAR) | SELECT plural FROM table_name_60 WHERE singular = "awu" | What is the plural if the singular is awu? | <s>[INST]What is the plural if the singular is awu? Context: CREATE TABLE table_name_60 (plural VARCHAR, singular VARCHAR)[/INST]SELECT plural FROM table_name_60 WHERE singular = "awu"</s> |
CREATE TABLE countrylanguage (CountryCode VARCHAR); CREATE TABLE country (Continent VARCHAR, Code VARCHAR) | SELECT T1.Continent FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Continent ORDER BY COUNT(*) DESC LIMIT 1 | Which continent has the most diverse languages? | <s>[INST]Which continent has the most diverse languages? Context: CREATE TABLE countrylanguage (CountryCode VARCHAR); CREATE TABLE country (Continent VARCHAR, Code VARCHAR)[/INST]SELECT T1.Continent FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Continent ORDER BY COUNT(*) DESC LI... |
CREATE TABLE table_name_49 (year INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR) | SELECT MIN(year) FROM table_name_49 WHERE points < 45 AND team = "yamaha" AND rank = "21st" | What is the earliest year with less than 45 points for Yamaha team in 21st rank? | <s>[INST]What is the earliest year with less than 45 points for Yamaha team in 21st rank? Context: CREATE TABLE table_name_49 (year INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR)[/INST]SELECT MIN(year) FROM table_name_49 WHERE points < 45 AND team = "yamaha" AND rank = "21st"</s> |
CREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR) | SELECT country FROM table_2764267_2 WHERE currency = "US dollar" | Name the country for the us dollar | <s>[INST]Name the country for the us dollar Context: CREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR)[/INST]SELECT country FROM table_2764267_2 WHERE currency = "US dollar"</s> |
CREATE TABLE table_name_58 (opponent VARCHAR, save VARCHAR) | SELECT opponent FROM table_name_58 WHERE save = "||33,389||87–62" | Who was the opponent in the game with save ||33,389||87–62? | <s>[INST]Who was the opponent in the game with save ||33,389||87–62? Context: CREATE TABLE table_name_58 (opponent VARCHAR, save VARCHAR)[/INST]SELECT opponent FROM table_name_58 WHERE save = "||33,389||87–62"</s> |
CREATE TABLE entrepreneur (People_ID VARCHAR, Investor VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) | SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Investor <> "Rachel Elnaugh" | What are the names of entrepreneurs whose investor is not "Rachel Elnaugh"? | <s>[INST]What are the names of entrepreneurs whose investor is not "Rachel Elnaugh"? Context: CREATE TABLE entrepreneur (People_ID VARCHAR, Investor VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)[/INST]SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Inve... |
CREATE TABLE table_14209245_9 (college_junior_club_team__league_ VARCHAR, pick__number VARCHAR) | SELECT college_junior_club_team__league_ FROM table_14209245_9 WHERE pick__number = "130" | What is the college/junior/club team (league) of the player who was pick number 130? | <s>[INST]What is the college/junior/club team (league) of the player who was pick number 130? Context: CREATE TABLE table_14209245_9 (college_junior_club_team__league_ VARCHAR, pick__number VARCHAR)[/INST]SELECT college_junior_club_team__league_ FROM table_14209245_9 WHERE pick__number = "130"</s> |
CREATE TABLE table_name_68 (course VARCHAR, edition VARCHAR) | SELECT course FROM table_name_68 WHERE edition = "117th" | What was the course called that had an Edition of 117th? | <s>[INST]What was the course called that had an Edition of 117th? Context: CREATE TABLE table_name_68 (course VARCHAR, edition VARCHAR)[/INST]SELECT course FROM table_name_68 WHERE edition = "117th"</s> |
CREATE TABLE table_name_20 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_20 WHERE attendance = "27,321" | What was the result when there were 27,321 in attendance? | <s>[INST]What was the result when there were 27,321 in attendance? Context: CREATE TABLE table_name_20 (result VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_20 WHERE attendance = "27,321"</s> |
CREATE TABLE table_name_79 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_79 WHERE score = 66 - 73 = 139 | WHAT PLAYER HAS A SCORE OF 66-73=139? | <s>[INST]WHAT PLAYER HAS A SCORE OF 66-73=139? Context: CREATE TABLE table_name_79 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_79 WHERE score = 66 - 73 = 139</s> |
CREATE TABLE table_name_81 (coat_of_cash_wearing_celebrity VARCHAR, episode_number VARCHAR) | SELECT coat_of_cash_wearing_celebrity FROM table_name_81 WHERE episode_number = 6 | Who was the Coat of Cash Wearing Celebrity in Episode 6? | <s>[INST]Who was the Coat of Cash Wearing Celebrity in Episode 6? Context: CREATE TABLE table_name_81 (coat_of_cash_wearing_celebrity VARCHAR, episode_number VARCHAR)[/INST]SELECT coat_of_cash_wearing_celebrity FROM table_name_81 WHERE episode_number = 6</s> |
CREATE TABLE table_29538735_1 (year VARCHAR, tonnes_of_co2_saved VARCHAR) | SELECT year FROM table_29538735_1 WHERE tonnes_of_co2_saved = 1522 | When 1522 is the tonnes of co2 saved what is the year? | <s>[INST]When 1522 is the tonnes of co2 saved what is the year? Context: CREATE TABLE table_29538735_1 (year VARCHAR, tonnes_of_co2_saved VARCHAR)[/INST]SELECT year FROM table_29538735_1 WHERE tonnes_of_co2_saved = 1522</s> |
CREATE TABLE table_25538763_1 (poles VARCHAR, season VARCHAR, points VARCHAR) | SELECT COUNT(poles) FROM table_25538763_1 WHERE season = 2012 AND points = "252" | How many pole data were given on season 2012 with 252 points? | <s>[INST]How many pole data were given on season 2012 with 252 points? Context: CREATE TABLE table_25538763_1 (poles VARCHAR, season VARCHAR, points VARCHAR)[/INST]SELECT COUNT(poles) FROM table_25538763_1 WHERE season = 2012 AND points = "252"</s> |
CREATE TABLE table_name_40 (result VARCHAR, record VARCHAR, game VARCHAR, streak VARCHAR) | SELECT result FROM table_name_40 WHERE game < 37 AND streak = "lost 1" AND record = "4-9" | Which Result has a Game smaller than 37, and a Streak of lost 1, and a Record of 4-9? | <s>[INST]Which Result has a Game smaller than 37, and a Streak of lost 1, and a Record of 4-9? Context: CREATE TABLE table_name_40 (result VARCHAR, record VARCHAR, game VARCHAR, streak VARCHAR)[/INST]SELECT result FROM table_name_40 WHERE game < 37 AND streak = "lost 1" AND record = "4-9"</s> |
CREATE TABLE table_name_50 (fatalities VARCHAR, country VARCHAR) | SELECT fatalities FROM table_name_50 WHERE country = "italy" | How many fatalities does Italy have? | <s>[INST]How many fatalities does Italy have? Context: CREATE TABLE table_name_50 (fatalities VARCHAR, country VARCHAR)[/INST]SELECT fatalities FROM table_name_50 WHERE country = "italy"</s> |
CREATE TABLE table_name_83 (record VARCHAR, loss VARCHAR) | SELECT record FROM table_name_83 WHERE loss = "mays (0-3)" | Which Record that has a Loss of mays (0-3)? | <s>[INST]Which Record that has a Loss of mays (0-3)? Context: CREATE TABLE table_name_83 (record VARCHAR, loss VARCHAR)[/INST]SELECT record FROM table_name_83 WHERE loss = "mays (0-3)"</s> |
CREATE TABLE table_1341738_34 (candidates VARCHAR, first_elected VARCHAR, party VARCHAR) | SELECT candidates FROM table_1341738_34 WHERE first_elected = "1952" AND party = "Democratic" | who was the candidate elected to the democratic party in 1952? | <s>[INST]who was the candidate elected to the democratic party in 1952? Context: CREATE TABLE table_1341738_34 (candidates VARCHAR, first_elected VARCHAR, party VARCHAR)[/INST]SELECT candidates FROM table_1341738_34 WHERE first_elected = "1952" AND party = "Democratic"</s> |
CREATE TABLE table_name_95 (location_attendance VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_name_95 WHERE record = "26-11" | What is the location/attendance with a 26-11 record? | <s>[INST]What is the location/attendance with a 26-11 record? Context: CREATE TABLE table_name_95 (location_attendance VARCHAR, record VARCHAR)[/INST]SELECT location_attendance FROM table_name_95 WHERE record = "26-11"</s> |
CREATE TABLE table_name_74 (poles INTEGER, wins INTEGER) | SELECT MAX(poles) FROM table_name_74 WHERE wins < 0 | What is the highest Poles with a win that is smaller than 0? | <s>[INST]What is the highest Poles with a win that is smaller than 0? Context: CREATE TABLE table_name_74 (poles INTEGER, wins INTEGER)[/INST]SELECT MAX(poles) FROM table_name_74 WHERE wins < 0</s> |
CREATE TABLE table_name_98 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_98 WHERE venue = "windy hill" | What was the score of the away team when they played at Windy Hill? | <s>[INST]What was the score of the away team when they played at Windy Hill? Context: CREATE TABLE table_name_98 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_98 WHERE venue = "windy hill"</s> |
CREATE TABLE table_2668243_18 (party VARCHAR, candidates VARCHAR) | SELECT COUNT(party) FROM table_2668243_18 WHERE candidates = "Willis Alston (J) 93.9% George E. Spruill 6.1%" | Name the total number of party for willis alston (j) 93.9% george e. spruill 6.1% | <s>[INST]Name the total number of party for willis alston (j) 93.9% george e. spruill 6.1% Context: CREATE TABLE table_2668243_18 (party VARCHAR, candidates VARCHAR)[/INST]SELECT COUNT(party) FROM table_2668243_18 WHERE candidates = "Willis Alston (J) 93.9% George E. Spruill 6.1%"</s> |
CREATE TABLE table_1682026_6 (rank INTEGER, assets__billion_$_ VARCHAR) | SELECT MAX(rank) FROM table_1682026_6 WHERE assets__billion_$_ = "1,715.8" | What is the highest rank of a company that has 1,715.8 billion in assets? | <s>[INST]What is the highest rank of a company that has 1,715.8 billion in assets? Context: CREATE TABLE table_1682026_6 (rank INTEGER, assets__billion_$_ VARCHAR)[/INST]SELECT MAX(rank) FROM table_1682026_6 WHERE assets__billion_$_ = "1,715.8"</s> |
CREATE TABLE table_name_25 (round VARCHAR, name VARCHAR) | SELECT COUNT(round) FROM table_name_25 WHERE name = "anglia tv trophy" | How many rounds had a race name of anglia tv trophy? | <s>[INST]How many rounds had a race name of anglia tv trophy? Context: CREATE TABLE table_name_25 (round VARCHAR, name VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_25 WHERE name = "anglia tv trophy"</s> |
CREATE TABLE table_name_45 (record VARCHAR, streak VARCHAR, score VARCHAR) | SELECT record FROM table_name_45 WHERE streak = "l1" AND score = "l 95–111" | Name the record that has a stream of l1 and score of l 95–111 | <s>[INST]Name the record that has a stream of l1 and score of l 95–111 Context: CREATE TABLE table_name_45 (record VARCHAR, streak VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_45 WHERE streak = "l1" AND score = "l 95–111"</s> |
CREATE TABLE table_18600760_13 (ansi_code VARCHAR, latitude VARCHAR) | SELECT COUNT(ansi_code) FROM table_18600760_13 WHERE latitude = "48.247662" | How many places associated with latitude 48.247662? | <s>[INST]How many places associated with latitude 48.247662? Context: CREATE TABLE table_18600760_13 (ansi_code VARCHAR, latitude VARCHAR)[/INST]SELECT COUNT(ansi_code) FROM table_18600760_13 WHERE latitude = "48.247662"</s> |
CREATE TABLE STUDENT (LName VARCHAR, PRESIDENT_Vote VARCHAR, Advisor VARCHAR); CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (Id VARCHAR) | SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = PRESIDENT_Vote EXCEPT SELECT DISTINCT LName FROM STUDENT WHERE Advisor = "2192" | Find the distinct last names of all the students who have president votes and whose advisor is not 2192. | <s>[INST]Find the distinct last names of all the students who have president votes and whose advisor is not 2192. Context: CREATE TABLE STUDENT (LName VARCHAR, PRESIDENT_Vote VARCHAR, Advisor VARCHAR); CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (Id VARCHAR)[/INST]SELECT DISTINCT T1.... |
CREATE TABLE table_name_16 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_16 WHERE record = "31–28–3" | WHich Score has a Record of 31–28–3? | <s>[INST]WHich Score has a Record of 31–28–3? Context: CREATE TABLE table_name_16 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_16 WHERE record = "31–28–3"</s> |
CREATE TABLE table_name_48 (manager VARCHAR, club VARCHAR) | SELECT manager FROM table_name_48 WHERE club = "fc twente" | Who is the manager of club fc twente? | <s>[INST]Who is the manager of club fc twente? Context: CREATE TABLE table_name_48 (manager VARCHAR, club VARCHAR)[/INST]SELECT manager FROM table_name_48 WHERE club = "fc twente"</s> |
CREATE TABLE table_name_49 (gender VARCHAR, decile VARCHAR, local_board VARCHAR, roll VARCHAR) | SELECT gender FROM table_name_49 WHERE local_board = "albert–eden" AND roll > 232 AND decile = "5" | What gender has a local board of albert–eden with a roll of more than 232 and Decile of 5? | <s>[INST]What gender has a local board of albert–eden with a roll of more than 232 and Decile of 5? Context: CREATE TABLE table_name_49 (gender VARCHAR, decile VARCHAR, local_board VARCHAR, roll VARCHAR)[/INST]SELECT gender FROM table_name_49 WHERE local_board = "albert–eden" AND roll > 232 AND decile = "5"</s> |
CREATE TABLE table_name_42 (opponent VARCHAR, surface VARCHAR) | SELECT opponent FROM table_name_42 WHERE surface = "hard" | What person was played against when the playing surface was hard? | <s>[INST]What person was played against when the playing surface was hard? Context: CREATE TABLE table_name_42 (opponent VARCHAR, surface VARCHAR)[/INST]SELECT opponent FROM table_name_42 WHERE surface = "hard"</s> |
CREATE TABLE broadcast (program_id VARCHAR, Time_of_day VARCHAR); CREATE TABLE program (name VARCHAR, program_id VARCHAR); CREATE TABLE program (name VARCHAR) | SELECT name FROM program EXCEPT SELECT t1.name FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id = t2.program_id WHERE t2.Time_of_day = "Morning" | Find the names of programs that are never broadcasted in the morning. | <s>[INST]Find the names of programs that are never broadcasted in the morning. Context: CREATE TABLE broadcast (program_id VARCHAR, Time_of_day VARCHAR); CREATE TABLE program (name VARCHAR, program_id VARCHAR); CREATE TABLE program (name VARCHAR)[/INST]SELECT name FROM program EXCEPT SELECT t1.name FROM program AS t1 J... |
CREATE TABLE table_name_66 (award VARCHAR, result VARCHAR, film VARCHAR) | SELECT award FROM table_name_66 WHERE result = "nominated" AND film = "sankranthi" | What is Award, when Result is "Nominated", and when Film is "Sankranthi"? | <s>[INST]What is Award, when Result is "Nominated", and when Film is "Sankranthi"? Context: CREATE TABLE table_name_66 (award VARCHAR, result VARCHAR, film VARCHAR)[/INST]SELECT award FROM table_name_66 WHERE result = "nominated" AND film = "sankranthi"</s> |
CREATE TABLE table_name_98 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_98 WHERE away_team = "middlesbrough" | Which Score has an Away team of middlesbrough? | <s>[INST]Which Score has an Away team of middlesbrough? Context: CREATE TABLE table_name_98 (score VARCHAR, away_team VARCHAR)[/INST]SELECT score FROM table_name_98 WHERE away_team = "middlesbrough"</s> |
CREATE TABLE table_1342359_5 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1342359_5 WHERE incumbent = "William E. Evans" | what's the party with incumbent being william e. evans | <s>[INST]what's the party with incumbent being william e. evans Context: CREATE TABLE table_1342359_5 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1342359_5 WHERE incumbent = "William E. Evans"</s> |
CREATE TABLE table_27537870_3 (october VARCHAR, score VARCHAR) | SELECT COUNT(october) FROM table_27537870_3 WHERE score = "6-1" | On how many days in October was the score 6-1? | <s>[INST]On how many days in October was the score 6-1? Context: CREATE TABLE table_27537870_3 (october VARCHAR, score VARCHAR)[/INST]SELECT COUNT(october) FROM table_27537870_3 WHERE score = "6-1"</s> |
CREATE TABLE table_22078972_2 (title VARCHAR, us_viewers__millions_ VARCHAR) | SELECT title FROM table_22078972_2 WHERE us_viewers__millions_ = "18.15" | What's the title of the episode first seen by 18.15 million people in the US? | <s>[INST]What's the title of the episode first seen by 18.15 million people in the US? Context: CREATE TABLE table_22078972_2 (title VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT title FROM table_22078972_2 WHERE us_viewers__millions_ = "18.15"</s> |
CREATE TABLE table_name_28 (source_language VARCHAR, meaning VARCHAR) | SELECT source_language FROM table_name_28 WHERE meaning = "mahjong" | What language did the word that means mahjong first come from? | <s>[INST]What language did the word that means mahjong first come from? Context: CREATE TABLE table_name_28 (source_language VARCHAR, meaning VARCHAR)[/INST]SELECT source_language FROM table_name_28 WHERE meaning = "mahjong"</s> |
CREATE TABLE table_name_89 (successful_defenses VARCHAR, days_held VARCHAR, reigns VARCHAR) | SELECT successful_defenses FROM table_name_89 WHERE days_held = 126 AND reigns = "3" | What successful defenses has 126 days held and a Reigns of 3? | <s>[INST]What successful defenses has 126 days held and a Reigns of 3? Context: CREATE TABLE table_name_89 (successful_defenses VARCHAR, days_held VARCHAR, reigns VARCHAR)[/INST]SELECT successful_defenses FROM table_name_89 WHERE days_held = 126 AND reigns = "3"</s> |
CREATE TABLE table_name_18 (goals_against INTEGER, wins INTEGER) | SELECT MIN(goals_against) FROM table_name_18 WHERE wins > 5 | What is the lowest Goals Against by a team with more than 5 wins? | <s>[INST]What is the lowest Goals Against by a team with more than 5 wins? Context: CREATE TABLE table_name_18 (goals_against INTEGER, wins INTEGER)[/INST]SELECT MIN(goals_against) FROM table_name_18 WHERE wins > 5</s> |
CREATE TABLE table_name_63 (time VARCHAR, lane VARCHAR, nationality VARCHAR) | SELECT time FROM table_name_63 WHERE lane < 5 AND nationality = "poland" | What time has a lane less than 5, with Poland as the nationality? | <s>[INST]What time has a lane less than 5, with Poland as the nationality? Context: CREATE TABLE table_name_63 (time VARCHAR, lane VARCHAR, nationality VARCHAR)[/INST]SELECT time FROM table_name_63 WHERE lane < 5 AND nationality = "poland"</s> |
CREATE TABLE table_20728138_1 (_percentage_in_seats_contested VARCHAR) | SELECT MIN(2003 AS _seats) FROM table_20728138_1 WHERE _percentage_in_seats_contested = "38.23%" | What is the 2003 seat number, when seats contested was at 38.23% | <s>[INST]What is the 2003 seat number, when seats contested was at 38.23% Context: CREATE TABLE table_20728138_1 (_percentage_in_seats_contested VARCHAR)[/INST]SELECT MIN(2003 AS _seats) FROM table_20728138_1 WHERE _percentage_in_seats_contested = "38.23%"</s> |
CREATE TABLE table_name_80 (week INTEGER, date VARCHAR, attendance VARCHAR) | SELECT MAX(week) FROM table_name_80 WHERE date = "october 6, 1975" AND attendance > 79 OFFSET 384 | what is the highest week when the date is october 6, 1975 and attendance is higher than 79,384? | <s>[INST]what is the highest week when the date is october 6, 1975 and attendance is higher than 79,384? Context: CREATE TABLE table_name_80 (week INTEGER, date VARCHAR, attendance VARCHAR)[/INST]SELECT MAX(week) FROM table_name_80 WHERE date = "october 6, 1975" AND attendance > 79 OFFSET 384</s> |
CREATE TABLE table_name_32 (award VARCHAR, year INTEGER) | SELECT award FROM table_name_32 WHERE year < 2001 | What was the award before 2001? | <s>[INST]What was the award before 2001? Context: CREATE TABLE table_name_32 (award VARCHAR, year INTEGER)[/INST]SELECT award FROM table_name_32 WHERE year < 2001</s> |
CREATE TABLE table_14342367_7 (field_goals INTEGER) | SELECT MIN(field_goals) FROM table_14342367_7 | What is the least amount of field goals made by a player? | <s>[INST]What is the least amount of field goals made by a player? Context: CREATE TABLE table_14342367_7 (field_goals INTEGER)[/INST]SELECT MIN(field_goals) FROM table_14342367_7</s> |
CREATE TABLE table_name_50 (attendance INTEGER, date VARCHAR) | SELECT AVG(attendance) FROM table_name_50 WHERE date = "june 11" | Name the average attendance from june 11 | <s>[INST]Name the average attendance from june 11 Context: CREATE TABLE table_name_50 (attendance INTEGER, date VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_50 WHERE date = "june 11"</s> |
CREATE TABLE table_name_17 (region INTEGER, code VARCHAR, name VARCHAR) | SELECT MAX(region) FROM table_name_17 WHERE code < 66112 AND name = "l'île-dorval" | What is the largest region with a Code smaller than 66112, and a Name of l'île-dorval? | <s>[INST]What is the largest region with a Code smaller than 66112, and a Name of l'île-dorval? Context: CREATE TABLE table_name_17 (region INTEGER, code VARCHAR, name VARCHAR)[/INST]SELECT MAX(region) FROM table_name_17 WHERE code < 66112 AND name = "l'île-dorval"</s> |
CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR) | SELECT for___percentage_ FROM table_20683381_3 WHERE ±_yes_side_2008___percentage_ = "+20.3" | When +20.3 is the ± yes side 2008 (%) what is the for percentage? | <s>[INST]When +20.3 is the ± yes side 2008 (%) what is the for percentage? Context: CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR)[/INST]SELECT for___percentage_ FROM table_20683381_3 WHERE ±_yes_side_2008___percentage_ = "+20.3"</s> |
CREATE TABLE table_name_23 (grid INTEGER, rider VARCHAR, laps VARCHAR) | SELECT AVG(grid) FROM table_name_23 WHERE rider = "mike di meglio" AND laps > 23 | Which Grid that has a Rider of mike di meglio, and Laps larger than 23? | <s>[INST]Which Grid that has a Rider of mike di meglio, and Laps larger than 23? Context: CREATE TABLE table_name_23 (grid INTEGER, rider VARCHAR, laps VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_23 WHERE rider = "mike di meglio" AND laps > 23</s> |
CREATE TABLE table_name_49 (agg VARCHAR, opponent VARCHAR) | SELECT agg FROM table_name_49 WHERE opponent = "koper" | What was the aggregate total for the match against Koper? | <s>[INST]What was the aggregate total for the match against Koper? Context: CREATE TABLE table_name_49 (agg VARCHAR, opponent VARCHAR)[/INST]SELECT agg FROM table_name_49 WHERE opponent = "koper"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.