context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_89 (gold INTEGER, total VARCHAR, nation VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT SUM(gold) FROM table_name_89 WHERE bronze > 15 AND silver < 197 AND nation = "saint lucia" AND total > 50 | What's the sum of Gold with a Bronze that's larger than 15, Silver that's smaller than 197, the Nation of Saint Lucia, and has a Total that is larger than 50? | <s>[INST]What's the sum of Gold with a Bronze that's larger than 15, Silver that's smaller than 197, the Nation of Saint Lucia, and has a Total that is larger than 50? Context: CREATE TABLE table_name_89 (gold INTEGER, total VARCHAR, nation VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT SUM(gold) FROM table_name... |
CREATE TABLE table_name_18 (laps VARCHAR, driver VARCHAR, grid VARCHAR) | SELECT COUNT(laps) FROM table_name_18 WHERE driver = "robin montgomerie-charrington" AND grid < 15 | How many laps for robin montgomerie-charrington, and a Grid smaller than 15? | <s>[INST]How many laps for robin montgomerie-charrington, and a Grid smaller than 15? Context: CREATE TABLE table_name_18 (laps VARCHAR, driver VARCHAR, grid VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_18 WHERE driver = "robin montgomerie-charrington" AND grid < 15</s> |
CREATE TABLE catalog_contents (catalog_entry_name VARCHAR) | SELECT DISTINCT (catalog_entry_name) FROM catalog_contents | Find the names of all the catalog entries. | <s>[INST]Find the names of all the catalog entries. Context: CREATE TABLE catalog_contents (catalog_entry_name VARCHAR)[/INST]SELECT DISTINCT (catalog_entry_name) FROM catalog_contents</s> |
CREATE TABLE table_10335_1 (current_country_of_location VARCHAR, operational VARCHAR) | SELECT current_country_of_location FROM table_10335_1 WHERE operational = "Summer of 1941 to 28 June 1944" | what's the current country of location with operational period of summer of 1941 to 28 june 1944 | <s>[INST]what's the current country of location with operational period of summer of 1941 to 28 june 1944 Context: CREATE TABLE table_10335_1 (current_country_of_location VARCHAR, operational VARCHAR)[/INST]SELECT current_country_of_location FROM table_10335_1 WHERE operational = "Summer of 1941 to 28 June 1944"</s> |
CREATE TABLE table_name_44 (branding VARCHAR, frequency VARCHAR) | SELECT branding FROM table_name_44 WHERE frequency = "1150 am" | What is the branding for the radio with a frequency of 1150 am? | <s>[INST]What is the branding for the radio with a frequency of 1150 am? Context: CREATE TABLE table_name_44 (branding VARCHAR, frequency VARCHAR)[/INST]SELECT branding FROM table_name_44 WHERE frequency = "1150 am"</s> |
CREATE TABLE table_1342359_2 (district VARCHAR, incumbent VARCHAR) | SELECT COUNT(district) FROM table_1342359_2 WHERE incumbent = "William B. Oliver" | How many districts does william b. oliver represent? | <s>[INST]How many districts does william b. oliver represent? Context: CREATE TABLE table_1342359_2 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(district) FROM table_1342359_2 WHERE incumbent = "William B. Oliver"</s> |
CREATE TABLE table_177766_1 (percentage VARCHAR, abbreviation VARCHAR) | SELECT percentage FROM table_177766_1 WHERE abbreviation = "Nor" | What is the percentage of this constellation abbreviated as 'nor'? | <s>[INST]What is the percentage of this constellation abbreviated as 'nor'? Context: CREATE TABLE table_177766_1 (percentage VARCHAR, abbreviation VARCHAR)[/INST]SELECT percentage FROM table_177766_1 WHERE abbreviation = "Nor"</s> |
CREATE TABLE table_27756314_7 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_27756314_7 WHERE date = "December 3" | who had high assists on december 3? | <s>[INST]who had high assists on december 3? Context: CREATE TABLE table_27756314_7 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_27756314_7 WHERE date = "December 3"</s> |
CREATE TABLE table_name_55 (date VARCHAR, matches VARCHAR, round VARCHAR) | SELECT date FROM table_name_55 WHERE matches < 32 AND round = "fifth round proper" | What is Date, when Matches is less than 32, and when Round is Fifth Round Proper? | <s>[INST]What is Date, when Matches is less than 32, and when Round is Fifth Round Proper? Context: CREATE TABLE table_name_55 (date VARCHAR, matches VARCHAR, round VARCHAR)[/INST]SELECT date FROM table_name_55 WHERE matches < 32 AND round = "fifth round proper"</s> |
CREATE TABLE table_name_62 (opponents_in_the_final VARCHAR, surface VARCHAR) | SELECT opponents_in_the_final FROM table_name_62 WHERE surface = "carpet (i)" | Who were the Opponents in the final that played on a carpet (i) Surface? | <s>[INST]Who were the Opponents in the final that played on a carpet (i) Surface? Context: CREATE TABLE table_name_62 (opponents_in_the_final VARCHAR, surface VARCHAR)[/INST]SELECT opponents_in_the_final FROM table_name_62 WHERE surface = "carpet (i)"</s> |
CREATE TABLE table_name_91 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_91 WHERE away_team = "walsall" | What was the score when Walsall was the away team? | <s>[INST]What was the score when Walsall was the away team? Context: CREATE TABLE table_name_91 (score VARCHAR, away_team VARCHAR)[/INST]SELECT score FROM table_name_91 WHERE away_team = "walsall"</s> |
CREATE TABLE table_name_43 (score VARCHAR, date VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_43 WHERE date = "10 april 2007" AND opponent = "selima sfar" | Name the score for 10 april 2007 and opponent of selima sfar | <s>[INST]Name the score for 10 april 2007 and opponent of selima sfar Context: CREATE TABLE table_name_43 (score VARCHAR, date VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_43 WHERE date = "10 april 2007" AND opponent = "selima sfar"</s> |
CREATE TABLE table_name_68 (country VARCHAR, highest_mountain VARCHAR) | SELECT country FROM table_name_68 WHERE highest_mountain = "rettlkirchspitze" | Which country has the Highest mountain of rettlkirchspitze? | <s>[INST]Which country has the Highest mountain of rettlkirchspitze? Context: CREATE TABLE table_name_68 (country VARCHAR, highest_mountain VARCHAR)[/INST]SELECT country FROM table_name_68 WHERE highest_mountain = "rettlkirchspitze"</s> |
CREATE TABLE table_14346950_1 (teleplay_by VARCHAR, series__number VARCHAR) | SELECT COUNT(teleplay_by) FROM table_14346950_1 WHERE series__number = 35 | What is the total number of values for "Teleplay by" category for series # 35? | <s>[INST]What is the total number of values for "Teleplay by" category for series # 35? Context: CREATE TABLE table_14346950_1 (teleplay_by VARCHAR, series__number VARCHAR)[/INST]SELECT COUNT(teleplay_by) FROM table_14346950_1 WHERE series__number = 35</s> |
CREATE TABLE table_name_99 (round VARCHAR, pick__number VARCHAR, player VARCHAR) | SELECT round FROM table_name_99 WHERE pick__number > 114 AND player = "richard crump" | Richard Crump picked after the 114 pick was drafted in what round? | <s>[INST]Richard Crump picked after the 114 pick was drafted in what round? Context: CREATE TABLE table_name_99 (round VARCHAR, pick__number VARCHAR, player VARCHAR)[/INST]SELECT round FROM table_name_99 WHERE pick__number > 114 AND player = "richard crump"</s> |
CREATE TABLE ship (TYPE VARCHAR, flag VARCHAR) | SELECT TYPE FROM ship WHERE flag = 'Panama' INTERSECT SELECT TYPE FROM ship WHERE flag = 'Malta' | Find the ship type that are used by both ships with Panama and Malta flags. | <s>[INST]Find the ship type that are used by both ships with Panama and Malta flags. Context: CREATE TABLE ship (TYPE VARCHAR, flag VARCHAR)[/INST]SELECT TYPE FROM ship WHERE flag = 'Panama' INTERSECT SELECT TYPE FROM ship WHERE flag = 'Malta'</s> |
CREATE TABLE table_name_75 (machine VARCHAR, trophy VARCHAR) | SELECT machine FROM table_name_75 WHERE trophy = "susan jenness trophy" | What machine did susan jenness trophy earn the trophy? | <s>[INST]What machine did susan jenness trophy earn the trophy? Context: CREATE TABLE table_name_75 (machine VARCHAR, trophy VARCHAR)[/INST]SELECT machine FROM table_name_75 WHERE trophy = "susan jenness trophy"</s> |
CREATE TABLE table_name_62 (fatalities INTEGER, aircraft_type VARCHAR) | SELECT SUM(fatalities) FROM table_name_62 WHERE aircraft_type = "lockheed l-1049g" | How many fatalities shows for the lockheed l-1049g? | <s>[INST]How many fatalities shows for the lockheed l-1049g? Context: CREATE TABLE table_name_62 (fatalities INTEGER, aircraft_type VARCHAR)[/INST]SELECT SUM(fatalities) FROM table_name_62 WHERE aircraft_type = "lockheed l-1049g"</s> |
CREATE TABLE table_name_91 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_91 WHERE tie_no = "2" | When was the game that has tie no 2? | <s>[INST]When was the game that has tie no 2? Context: CREATE TABLE table_name_91 (date VARCHAR, tie_no VARCHAR)[/INST]SELECT date FROM table_name_91 WHERE tie_no = "2"</s> |
CREATE TABLE table_17778417_1 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_17778417_1 WHERE week = 8 | How many people attended the Week 8 game when Denver played Buffalo? | <s>[INST]How many people attended the Week 8 game when Denver played Buffalo? Context: CREATE TABLE table_17778417_1 (attendance VARCHAR, week VARCHAR)[/INST]SELECT attendance FROM table_17778417_1 WHERE week = 8</s> |
CREATE TABLE table_1918850_2 (championship VARCHAR, opponents_in_the_final VARCHAR, partner VARCHAR, outcome VARCHAR, surface VARCHAR) | SELECT championship FROM table_1918850_2 WHERE outcome = "Winner" AND surface = "Hard" AND partner = "Nicole Provis" AND opponents_in_the_final = "Helena Suková Tom Nijssen" | which championship had helena suková tom nijssen as opponents in the final and nicole provis as partner, the surface was hard and the outcome was winner | <s>[INST]which championship had helena suková tom nijssen as opponents in the final and nicole provis as partner, the surface was hard and the outcome was winner Context: CREATE TABLE table_1918850_2 (championship VARCHAR, opponents_in_the_final VARCHAR, partner VARCHAR, outcome VARCHAR, surface VARCHAR)[/INST]SELECT c... |
CREATE TABLE table_name_48 (peak_position INTEGER, album VARCHAR) | SELECT MAX(peak_position) FROM table_name_48 WHERE album = "one of the boys" | What was the highest peak position for the album one of the boys? | <s>[INST]What was the highest peak position for the album one of the boys? Context: CREATE TABLE table_name_48 (peak_position INTEGER, album VARCHAR)[/INST]SELECT MAX(peak_position) FROM table_name_48 WHERE album = "one of the boys"</s> |
CREATE TABLE table_name_40 (average INTEGER, tally VARCHAR, total VARCHAR) | SELECT AVG(average) FROM table_name_40 WHERE tally = "0-29" AND total > 29 | Name the average with tally of 0-29 and total more than 29 | <s>[INST]Name the average with tally of 0-29 and total more than 29 Context: CREATE TABLE table_name_40 (average INTEGER, tally VARCHAR, total VARCHAR)[/INST]SELECT AVG(average) FROM table_name_40 WHERE tally = "0-29" AND total > 29</s> |
CREATE TABLE table_name_77 (pick__number INTEGER, overall VARCHAR) | SELECT MIN(pick__number) FROM table_name_77 WHERE overall = 86 | What was the lowest pick number with an overall 86? | <s>[INST]What was the lowest pick number with an overall 86? Context: CREATE TABLE table_name_77 (pick__number INTEGER, overall VARCHAR)[/INST]SELECT MIN(pick__number) FROM table_name_77 WHERE overall = 86</s> |
CREATE TABLE table_name_93 (votes INTEGER, draw VARCHAR, artist VARCHAR) | SELECT SUM(votes) FROM table_name_93 WHERE draw < 4 AND artist = "yvetta kadakas & ivo linna" | How many votes did Yvetta Kadakas & Ivo Linna, who had less than 4 draws, have? | <s>[INST]How many votes did Yvetta Kadakas & Ivo Linna, who had less than 4 draws, have? Context: CREATE TABLE table_name_93 (votes INTEGER, draw VARCHAR, artist VARCHAR)[/INST]SELECT SUM(votes) FROM table_name_93 WHERE draw < 4 AND artist = "yvetta kadakas & ivo linna"</s> |
CREATE TABLE table_name_42 (city VARCHAR, type_of_game VARCHAR, opponent VARCHAR) | SELECT city FROM table_name_42 WHERE type_of_game = "friendly" AND opponent = "tunisia" | what city has a game of friendly and an opponent of tunisia? | <s>[INST]what city has a game of friendly and an opponent of tunisia? Context: CREATE TABLE table_name_42 (city VARCHAR, type_of_game VARCHAR, opponent VARCHAR)[/INST]SELECT city FROM table_name_42 WHERE type_of_game = "friendly" AND opponent = "tunisia"</s> |
CREATE TABLE table_name_78 (record VARCHAR, year VARCHAR) | SELECT record FROM table_name_78 WHERE year = "1997" | Name the record for 1997 | <s>[INST]Name the record for 1997 Context: CREATE TABLE table_name_78 (record VARCHAR, year VARCHAR)[/INST]SELECT record FROM table_name_78 WHERE year = "1997"</s> |
CREATE TABLE table_21469545_2 (winning_score VARCHAR, date VARCHAR) | SELECT COUNT(winning_score) FROM table_21469545_2 WHERE date = "8 Feb 2009" | Name the winning score for 8 feb 2009 | <s>[INST]Name the winning score for 8 feb 2009 Context: CREATE TABLE table_21469545_2 (winning_score VARCHAR, date VARCHAR)[/INST]SELECT COUNT(winning_score) FROM table_21469545_2 WHERE date = "8 Feb 2009"</s> |
CREATE TABLE table_name_66 (country VARCHAR, value_in_usd VARCHAR, currency VARCHAR) | SELECT country FROM table_name_66 WHERE value_in_usd > 1.33 AND currency = "pound sterling" | Which country uses pound sterling with a value higher than 1.33 USD? | <s>[INST]Which country uses pound sterling with a value higher than 1.33 USD? Context: CREATE TABLE table_name_66 (country VARCHAR, value_in_usd VARCHAR, currency VARCHAR)[/INST]SELECT country FROM table_name_66 WHERE value_in_usd > 1.33 AND currency = "pound sterling"</s> |
CREATE TABLE table_name_51 (founded INTEGER, home_city VARCHAR) | SELECT MIN(founded) FROM table_name_51 WHERE home_city = "mayagüez" | what is the earliest founded when the home city is mayagüez? | <s>[INST]what is the earliest founded when the home city is mayagüez? Context: CREATE TABLE table_name_51 (founded INTEGER, home_city VARCHAR)[/INST]SELECT MIN(founded) FROM table_name_51 WHERE home_city = "mayagüez"</s> |
CREATE TABLE table_name_5 (lost INTEGER, match INTEGER) | SELECT SUM(lost) FROM table_name_5 WHERE match < 10 | What is the sum of losses for teams with under 10 matches? | <s>[INST]What is the sum of losses for teams with under 10 matches? Context: CREATE TABLE table_name_5 (lost INTEGER, match INTEGER)[/INST]SELECT SUM(lost) FROM table_name_5 WHERE match < 10</s> |
CREATE TABLE student (stu_num VARCHAR); CREATE TABLE enroll (stu_num VARCHAR) | SELECT DISTINCT stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num WHERE enroll_grade = 'C' | What is the first name of students who got grade C in any class? | <s>[INST]What is the first name of students who got grade C in any class? Context: CREATE TABLE student (stu_num VARCHAR); CREATE TABLE enroll (stu_num VARCHAR)[/INST]SELECT DISTINCT stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num WHERE enroll_grade = 'C'</s> |
CREATE TABLE table_name_94 (january INTEGER, record VARCHAR, game VARCHAR, score VARCHAR) | SELECT MIN(january) FROM table_name_94 WHERE game < 46 AND score = "5 - 3" AND record = "15-22-8" | What is the lowest January, when Game is less than 46, when Score is "5 - 3", and when Record is "15-22-8"? | <s>[INST]What is the lowest January, when Game is less than 46, when Score is "5 - 3", and when Record is "15-22-8"? Context: CREATE TABLE table_name_94 (january INTEGER, record VARCHAR, game VARCHAR, score VARCHAR)[/INST]SELECT MIN(january) FROM table_name_94 WHERE game < 46 AND score = "5 - 3" AND record = "15-22-8"<... |
CREATE TABLE table_name_7 (fate VARCHAR, name_of_ship VARCHAR) | SELECT fate FROM table_name_7 WHERE name_of_ship = "proletarij" | How did the ship named proletarij finish its service? | <s>[INST]How did the ship named proletarij finish its service? Context: CREATE TABLE table_name_7 (fate VARCHAR, name_of_ship VARCHAR)[/INST]SELECT fate FROM table_name_7 WHERE name_of_ship = "proletarij"</s> |
CREATE TABLE table_name_79 (type VARCHAR, transfer_window VARCHAR, name VARCHAR) | SELECT type FROM table_name_79 WHERE transfer_window = "summer" AND name = "bulykin" | What is the type of bulykin, which has a summer transfer window? | <s>[INST]What is the type of bulykin, which has a summer transfer window? Context: CREATE TABLE table_name_79 (type VARCHAR, transfer_window VARCHAR, name VARCHAR)[/INST]SELECT type FROM table_name_79 WHERE transfer_window = "summer" AND name = "bulykin"</s> |
CREATE TABLE table_name_12 (laps INTEGER, grid VARCHAR) | SELECT MIN(laps) FROM table_name_12 WHERE grid = 14 | What is the low lap total for a grid of 14? | <s>[INST]What is the low lap total for a grid of 14? Context: CREATE TABLE table_name_12 (laps INTEGER, grid VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_12 WHERE grid = 14</s> |
CREATE TABLE table_name_60 (rank INTEGER, name VARCHAR, games VARCHAR) | SELECT MIN(rank) FROM table_name_60 WHERE name = "jeremiah massey" AND games < 20 | What is the lowest Rank, when Name is Jeremiah Massey, and when Games is less than 20? | <s>[INST]What is the lowest Rank, when Name is Jeremiah Massey, and when Games is less than 20? Context: CREATE TABLE table_name_60 (rank INTEGER, name VARCHAR, games VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_60 WHERE name = "jeremiah massey" AND games < 20</s> |
CREATE TABLE table_name_27 (longitude VARCHAR, latitude VARCHAR) | SELECT longitude FROM table_name_27 WHERE latitude = "61.0s" | What is the Longitude of the 61.0s Latitude? | <s>[INST]What is the Longitude of the 61.0s Latitude? Context: CREATE TABLE table_name_27 (longitude VARCHAR, latitude VARCHAR)[/INST]SELECT longitude FROM table_name_27 WHERE latitude = "61.0s"</s> |
CREATE TABLE table_12305325_4 (brunos_vote VARCHAR, eliminated VARCHAR) | SELECT COUNT(brunos_vote) FROM table_12305325_4 WHERE eliminated = "Willie and Erin" | What is the total number of brunos vote when willie and erin are eliminated? | <s>[INST]What is the total number of brunos vote when willie and erin are eliminated? Context: CREATE TABLE table_12305325_4 (brunos_vote VARCHAR, eliminated VARCHAR)[/INST]SELECT COUNT(brunos_vote) FROM table_12305325_4 WHERE eliminated = "Willie and Erin"</s> |
CREATE TABLE table_name_55 (home_captain VARCHAR, result VARCHAR) | SELECT home_captain FROM table_name_55 WHERE result = "aus by 32 runs" | What is the name of the home captain when the result was Aus by 32 runs? | <s>[INST]What is the name of the home captain when the result was Aus by 32 runs? Context: CREATE TABLE table_name_55 (home_captain VARCHAR, result VARCHAR)[/INST]SELECT home_captain FROM table_name_55 WHERE result = "aus by 32 runs"</s> |
CREATE TABLE table_1181375_1 (notes VARCHAR, number_range VARCHAR) | SELECT notes FROM table_1181375_1 WHERE number_range = "17" | what's the notes where number range is 17 | <s>[INST] what's the notes where number range is 17 Context: CREATE TABLE table_1181375_1 (notes VARCHAR, number_range VARCHAR)[/INST]SELECT notes FROM table_1181375_1 WHERE number_range = "17"</s> |
CREATE TABLE table_name_23 (branding VARCHAR, frequency VARCHAR, callsign VARCHAR) | SELECT branding FROM table_name_23 WHERE frequency = "93.1mhz" AND callsign = "dwrx" | What is the branding for the station with a frequency of 93.1mhz and a callsign of DWRX? | <s>[INST]What is the branding for the station with a frequency of 93.1mhz and a callsign of DWRX? Context: CREATE TABLE table_name_23 (branding VARCHAR, frequency VARCHAR, callsign VARCHAR)[/INST]SELECT branding FROM table_name_23 WHERE frequency = "93.1mhz" AND callsign = "dwrx"</s> |
CREATE TABLE table_22673872_1 (race_name VARCHAR, pole_position VARCHAR) | SELECT race_name FROM table_22673872_1 WHERE pole_position = "Al Unser" | What was the name of the race that Al Unser had the pole position? | <s>[INST]What was the name of the race that Al Unser had the pole position? Context: CREATE TABLE table_22673872_1 (race_name VARCHAR, pole_position VARCHAR)[/INST]SELECT race_name FROM table_22673872_1 WHERE pole_position = "Al Unser"</s> |
CREATE TABLE table_name_57 (week VARCHAR, game_site VARCHAR) | SELECT week FROM table_name_57 WHERE game_site = "giants stadium" | Which week has giants stadium as the game site? | <s>[INST]Which week has giants stadium as the game site? Context: CREATE TABLE table_name_57 (week VARCHAR, game_site VARCHAR)[/INST]SELECT week FROM table_name_57 WHERE game_site = "giants stadium"</s> |
CREATE TABLE table_name_46 (puchat_ligi INTEGER, total VARCHAR, ekstraklasa VARCHAR) | SELECT SUM(puchat_ligi) FROM table_name_46 WHERE total < 5 AND ekstraklasa > 1 | How much Puchat Ligi has a Total smaller than 5, and an Ekstraklasa larger than 1? | <s>[INST]How much Puchat Ligi has a Total smaller than 5, and an Ekstraklasa larger than 1? Context: CREATE TABLE table_name_46 (puchat_ligi INTEGER, total VARCHAR, ekstraklasa VARCHAR)[/INST]SELECT SUM(puchat_ligi) FROM table_name_46 WHERE total < 5 AND ekstraklasa > 1</s> |
CREATE TABLE table_name_5 (round VARCHAR, time VARCHAR, location VARCHAR) | SELECT round FROM table_name_5 WHERE time = "n/a" AND location = "rio de janeiro , brazil" | What Round has a Time of n/a, in rio de janeiro , brazil? | <s>[INST]What Round has a Time of n/a, in rio de janeiro , brazil? Context: CREATE TABLE table_name_5 (round VARCHAR, time VARCHAR, location VARCHAR)[/INST]SELECT round FROM table_name_5 WHERE time = "n/a" AND location = "rio de janeiro , brazil"</s> |
CREATE TABLE table_name_29 (location VARCHAR, length___m__ VARCHAR) | SELECT location FROM table_name_29 WHERE length___m__ = "64.2" | Where is the longest arch with a length in meters of 64.2? | <s>[INST]Where is the longest arch with a length in meters of 64.2? Context: CREATE TABLE table_name_29 (location VARCHAR, length___m__ VARCHAR)[/INST]SELECT location FROM table_name_29 WHERE length___m__ = "64.2"</s> |
CREATE TABLE table_name_98 (score VARCHAR, country VARCHAR, player VARCHAR) | SELECT score FROM table_name_98 WHERE country = "united states" AND player = "raymond floyd" | What is Score, when Country is "United States", and when Player is "Raymond Floyd"? | <s>[INST]What is Score, when Country is "United States", and when Player is "Raymond Floyd"? Context: CREATE TABLE table_name_98 (score VARCHAR, country VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_98 WHERE country = "united states" AND player = "raymond floyd"</s> |
CREATE TABLE table_name_47 (character VARCHAR, duration VARCHAR) | SELECT character FROM table_name_47 WHERE duration = "11 years" | what is the character with the duration of 11 years? | <s>[INST]what is the character with the duration of 11 years? Context: CREATE TABLE table_name_47 (character VARCHAR, duration VARCHAR)[/INST]SELECT character FROM table_name_47 WHERE duration = "11 years"</s> |
CREATE TABLE table_name_92 (kilometer_no__rizal_park_basis_ VARCHAR, kilometer_no__layac_basis_ VARCHAR) | SELECT kilometer_no__rizal_park_basis_ FROM table_name_92 WHERE kilometer_no__layac_basis_ = "25" | What kilometer (Rizal Park-basis) has a kilometer of 25? | <s>[INST]What kilometer (Rizal Park-basis) has a kilometer of 25? Context: CREATE TABLE table_name_92 (kilometer_no__rizal_park_basis_ VARCHAR, kilometer_no__layac_basis_ VARCHAR)[/INST]SELECT kilometer_no__rizal_park_basis_ FROM table_name_92 WHERE kilometer_no__layac_basis_ = "25"</s> |
CREATE TABLE table_name_66 (tournament VARCHAR) | SELECT tournament FROM table_name_66 WHERE 2004 = "q2" | What tournament has q2 as the 2004? | <s>[INST]What tournament has q2 as the 2004? Context: CREATE TABLE table_name_66 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_66 WHERE 2004 = "q2"</s> |
CREATE TABLE table_name_72 (license VARCHAR, creator VARCHAR) | SELECT license FROM table_name_72 WHERE creator = "ietf" | What is the name of the license created by IETF? | <s>[INST]What is the name of the license created by IETF? Context: CREATE TABLE table_name_72 (license VARCHAR, creator VARCHAR)[/INST]SELECT license FROM table_name_72 WHERE creator = "ietf"</s> |
CREATE TABLE table_name_57 (city VARCHAR, country VARCHAR, iata VARCHAR) | SELECT city FROM table_name_57 WHERE country = "libya" AND iata = "ben" | what is the city when the country is libya and the iata is ben? | <s>[INST]what is the city when the country is libya and the iata is ben? Context: CREATE TABLE table_name_57 (city VARCHAR, country VARCHAR, iata VARCHAR)[/INST]SELECT city FROM table_name_57 WHERE country = "libya" AND iata = "ben"</s> |
CREATE TABLE table_name_71 (team VARCHAR, previous_team VARCHAR, pos VARCHAR) | SELECT team FROM table_name_71 WHERE previous_team = "san diego rockets" AND pos = "f" | Which Team has a Previous team of san diego rockets, and a Position of f? | <s>[INST]Which Team has a Previous team of san diego rockets, and a Position of f? Context: CREATE TABLE table_name_71 (team VARCHAR, previous_team VARCHAR, pos VARCHAR)[/INST]SELECT team FROM table_name_71 WHERE previous_team = "san diego rockets" AND pos = "f"</s> |
CREATE TABLE table_name_89 (altitude__mslm_ INTEGER, density__inhabitants_km_2__ VARCHAR, common_of VARCHAR) | SELECT SUM(altitude__mslm_) FROM table_name_89 WHERE density__inhabitants_km_2__ < 1467.5 AND common_of = "moncalieri" | Which Altitude (mslm) has a Density (inhabitants/km 2) smaller than 1467.5, and a Common of moncalieri? | <s>[INST]Which Altitude (mslm) has a Density (inhabitants/km 2) smaller than 1467.5, and a Common of moncalieri? Context: CREATE TABLE table_name_89 (altitude__mslm_ INTEGER, density__inhabitants_km_2__ VARCHAR, common_of VARCHAR)[/INST]SELECT SUM(altitude__mslm_) FROM table_name_89 WHERE density__inhabitants_km_2__ < ... |
CREATE TABLE table_name_74 (draw INTEGER, artist VARCHAR, place VARCHAR) | SELECT MIN(draw) FROM table_name_74 WHERE artist = "anastasia prikhodko" AND place > 1 | What's the smallest draw that has a place bigger more than 1 and Anastasia Prikhodko as the artist? | <s>[INST]What's the smallest draw that has a place bigger more than 1 and Anastasia Prikhodko as the artist? Context: CREATE TABLE table_name_74 (draw INTEGER, artist VARCHAR, place VARCHAR)[/INST]SELECT MIN(draw) FROM table_name_74 WHERE artist = "anastasia prikhodko" AND place > 1</s> |
CREATE TABLE table_name_81 (country_of_origin VARCHAR, artist VARCHAR) | SELECT country_of_origin FROM table_name_81 WHERE artist = "journey" | Name th country of origin for journey | <s>[INST]Name th country of origin for journey Context: CREATE TABLE table_name_81 (country_of_origin VARCHAR, artist VARCHAR)[/INST]SELECT country_of_origin FROM table_name_81 WHERE artist = "journey"</s> |
CREATE TABLE table_name_87 (rank INTEGER, lane INTEGER) | SELECT SUM(rank) FROM table_name_87 WHERE lane < 2 | What is the total rank for the lane before 2? | <s>[INST]What is the total rank for the lane before 2? Context: CREATE TABLE table_name_87 (rank INTEGER, lane INTEGER)[/INST]SELECT SUM(rank) FROM table_name_87 WHERE lane < 2</s> |
CREATE TABLE table_1153898_1 (semi_ddm_class VARCHAR, comparisons VARCHAR) | SELECT semi_ddm_class FROM table_1153898_1 WHERE comparisons = "Drawing Tablet Support" | Is drawing tablet support part of the semi-DDM class? | <s>[INST]Is drawing tablet support part of the semi-DDM class? Context: CREATE TABLE table_1153898_1 (semi_ddm_class VARCHAR, comparisons VARCHAR)[/INST]SELECT semi_ddm_class FROM table_1153898_1 WHERE comparisons = "Drawing Tablet Support"</s> |
CREATE TABLE table_name_82 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_82 WHERE result = "w 35-21" | Name the opponent with result of w 35-21 | <s>[INST]Name the opponent with result of w 35-21 Context: CREATE TABLE table_name_82 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_name_82 WHERE result = "w 35-21"</s> |
CREATE TABLE table_name_27 (week INTEGER, attendance VARCHAR) | SELECT SUM(week) FROM table_name_27 WHERE attendance = 47 OFFSET 218 | In which week was the attendance 47,218? | <s>[INST]In which week was the attendance 47,218? Context: CREATE TABLE table_name_27 (week INTEGER, attendance VARCHAR)[/INST]SELECT SUM(week) FROM table_name_27 WHERE attendance = 47 OFFSET 218</s> |
CREATE TABLE table_name_52 (type VARCHAR, list_entry_number VARCHAR) | SELECT type FROM table_name_52 WHERE list_entry_number = 1356677 | Which type has list entry number of 1356677? | <s>[INST]Which type has list entry number of 1356677? Context: CREATE TABLE table_name_52 (type VARCHAR, list_entry_number VARCHAR)[/INST]SELECT type FROM table_name_52 WHERE list_entry_number = 1356677</s> |
CREATE TABLE table_name_44 (time_retired VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_44 WHERE driver = "riccardo patrese" | What was Riccardo Patrese's time/retired? | <s>[INST]What was Riccardo Patrese's time/retired? Context: CREATE TABLE table_name_44 (time_retired VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_44 WHERE driver = "riccardo patrese"</s> |
CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, fri_28_aug VARCHAR) | SELECT sat_29_aug FROM table_23465864_4 WHERE fri_28_aug = "25' 01.89 90.438mph" | What time was achieved on Saturday 29th August by the rider who recorded 25' 01.89 90.438mph on Friday 28th August? | <s>[INST]What time was achieved on Saturday 29th August by the rider who recorded 25' 01.89 90.438mph on Friday 28th August? Context: CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, fri_28_aug VARCHAR)[/INST]SELECT sat_29_aug FROM table_23465864_4 WHERE fri_28_aug = "25' 01.89 90.438mph"</s> |
CREATE TABLE table_name_25 (circuit VARCHAR, round VARCHAR) | SELECT circuit FROM table_name_25 WHERE round = 18 | Name the circuit for round 18 | <s>[INST]Name the circuit for round 18 Context: CREATE TABLE table_name_25 (circuit VARCHAR, round VARCHAR)[/INST]SELECT circuit FROM table_name_25 WHERE round = 18</s> |
CREATE TABLE table_name_33 (game VARCHAR, platform_s_ VARCHAR, genre VARCHAR) | SELECT game FROM table_name_33 WHERE platform_s_ = "playstation 3" AND genre = "platform game" | What game has a platform(s) of playstation 3, when the genre is platform game? | <s>[INST]What game has a platform(s) of playstation 3, when the genre is platform game? Context: CREATE TABLE table_name_33 (game VARCHAR, platform_s_ VARCHAR, genre VARCHAR)[/INST]SELECT game FROM table_name_33 WHERE platform_s_ = "playstation 3" AND genre = "platform game"</s> |
CREATE TABLE table_name_46 (opponent VARCHAR, game_site VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_46 WHERE game_site = "the meadowlands" AND week = 14 | Who did the Jets play in the Meadowlands on week 14? | <s>[INST]Who did the Jets play in the Meadowlands on week 14? Context: CREATE TABLE table_name_46 (opponent VARCHAR, game_site VARCHAR, week VARCHAR)[/INST]SELECT opponent FROM table_name_46 WHERE game_site = "the meadowlands" AND week = 14</s> |
CREATE TABLE table_name_84 (pop_area__1_km²_ INTEGER, no_p VARCHAR, name VARCHAR) | SELECT AVG(pop_area__1_km²_) FROM table_name_84 WHERE no_p > 1 AND name = "albergaria-a-velha" | Which Pop/Area (1/km²) has a No P. larger than 1, and a Name of albergaria-a-velha? | <s>[INST]Which Pop/Area (1/km²) has a No P. larger than 1, and a Name of albergaria-a-velha? Context: CREATE TABLE table_name_84 (pop_area__1_km²_ INTEGER, no_p VARCHAR, name VARCHAR)[/INST]SELECT AVG(pop_area__1_km²_) FROM table_name_84 WHERE no_p > 1 AND name = "albergaria-a-velha"</s> |
CREATE TABLE table_19112_3 (industry VARCHAR, revenue__billion_$_ VARCHAR) | SELECT industry FROM table_19112_3 WHERE revenue__billion_$_ = "2.1" | Name the industry for revenue being 2.1 | <s>[INST]Name the industry for revenue being 2.1 Context: CREATE TABLE table_19112_3 (industry VARCHAR, revenue__billion_$_ VARCHAR)[/INST]SELECT industry FROM table_19112_3 WHERE revenue__billion_$_ = "2.1"</s> |
CREATE TABLE table_13336122_7 (title VARCHAR, directed_by VARCHAR) | SELECT title FROM table_13336122_7 WHERE directed_by = "David Duchovny" | What episode was directed by David Duchovny? | <s>[INST]What episode was directed by David Duchovny? Context: CREATE TABLE table_13336122_7 (title VARCHAR, directed_by VARCHAR)[/INST]SELECT title FROM table_13336122_7 WHERE directed_by = "David Duchovny"</s> |
CREATE TABLE table_name_81 (rank INTEGER, lane VARCHAR) | SELECT MIN(rank) FROM table_name_81 WHERE lane = 7 | The swimmer in lane 7 has what as the smallest rank? | <s>[INST]The swimmer in lane 7 has what as the smallest rank? Context: CREATE TABLE table_name_81 (rank INTEGER, lane VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_81 WHERE lane = 7</s> |
CREATE TABLE table_name_86 (qual VARCHAR, laps VARCHAR, rank VARCHAR) | SELECT qual FROM table_name_86 WHERE laps = 200 AND rank = "27" | What is the qual with 200 laps and a rank of 27? | <s>[INST]What is the qual with 200 laps and a rank of 27? Context: CREATE TABLE table_name_86 (qual VARCHAR, laps VARCHAR, rank VARCHAR)[/INST]SELECT qual FROM table_name_86 WHERE laps = 200 AND rank = "27"</s> |
CREATE TABLE table_name_50 (year VARCHAR, tournament VARCHAR) | SELECT COUNT(year) FROM table_name_50 WHERE tournament = "world championships" | What is the total number of Year(s), when Tournament is "World Championships"? | <s>[INST]What is the total number of Year(s), when Tournament is "World Championships"? Context: CREATE TABLE table_name_50 (year VARCHAR, tournament VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_50 WHERE tournament = "world championships"</s> |
CREATE TABLE table_name_51 (player VARCHAR, wins VARCHAR, rank VARCHAR) | SELECT player FROM table_name_51 WHERE wins = 3 AND rank > 3 | What player has 3 wins and ranks above 3rd? | <s>[INST]What player has 3 wins and ranks above 3rd? Context: CREATE TABLE table_name_51 (player VARCHAR, wins VARCHAR, rank VARCHAR)[/INST]SELECT player FROM table_name_51 WHERE wins = 3 AND rank > 3</s> |
CREATE TABLE table_name_35 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_35 WHERE score = 65 - 70 - 72 = 207 | What was the place when the score was 65-70-72=207? | <s>[INST]What was the place when the score was 65-70-72=207? Context: CREATE TABLE table_name_35 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_35 WHERE score = 65 - 70 - 72 = 207</s> |
CREATE TABLE table_name_20 (english_title VARCHAR, original_title VARCHAR) | SELECT english_title FROM table_name_20 WHERE original_title = "fanny och alexander" | What's the English Title of Fanny Och Alexander? | <s>[INST]What's the English Title of Fanny Och Alexander? Context: CREATE TABLE table_name_20 (english_title VARCHAR, original_title VARCHAR)[/INST]SELECT english_title FROM table_name_20 WHERE original_title = "fanny och alexander"</s> |
CREATE TABLE table_18047346_4 (airport_name VARCHAR, location VARCHAR) | SELECT airport_name FROM table_18047346_4 WHERE location = "Chicago, Illinois" | If the location is Chicago, Illinois, what is the airport name? | <s>[INST]If the location is Chicago, Illinois, what is the airport name? Context: CREATE TABLE table_18047346_4 (airport_name VARCHAR, location VARCHAR)[/INST]SELECT airport_name FROM table_18047346_4 WHERE location = "Chicago, Illinois"</s> |
CREATE TABLE table_29690363_3 (race VARCHAR, fastest_lap VARCHAR, most_laps_led VARCHAR) | SELECT race FROM table_29690363_3 WHERE fastest_lap = "Josef Newgarden" AND most_laps_led = "Josef Newgarden" | What race did josef newgarden have the fastest lap and lead the most laps? | <s>[INST]What race did josef newgarden have the fastest lap and lead the most laps? Context: CREATE TABLE table_29690363_3 (race VARCHAR, fastest_lap VARCHAR, most_laps_led VARCHAR)[/INST]SELECT race FROM table_29690363_3 WHERE fastest_lap = "Josef Newgarden" AND most_laps_led = "Josef Newgarden"</s> |
CREATE TABLE table_name_98 (to_par VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | SELECT to_par FROM table_name_98 WHERE margin_of_victory = "2 strokes" AND tournament = "women's british open" | What is To par, when Margin of Victory is "2 Strokes", and when Tournament is "Women's British Open"? | <s>[INST]What is To par, when Margin of Victory is "2 Strokes", and when Tournament is "Women's British Open"? Context: CREATE TABLE table_name_98 (to_par VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)[/INST]SELECT to_par FROM table_name_98 WHERE margin_of_victory = "2 strokes" AND tournament = "women's britis... |
CREATE TABLE table_name_37 (date VARCHAR, competition VARCHAR) | SELECT date FROM table_name_37 WHERE competition = "friendship cup" | When was the friendship cup? | <s>[INST]When was the friendship cup? Context: CREATE TABLE table_name_37 (date VARCHAR, competition VARCHAR)[/INST]SELECT date FROM table_name_37 WHERE competition = "friendship cup"</s> |
CREATE TABLE table_16741821_8 (result VARCHAR, surface VARCHAR, against VARCHAR) | SELECT result FROM table_16741821_8 WHERE surface = "Clay" AND against = "Lithuania" | WHAT WERE ALL OF THE RESULTS WHEN THEY PLAYED AGAINST LITHUANIA AND THE SURFACE WAS MADE OF CLAY? | <s>[INST]WHAT WERE ALL OF THE RESULTS WHEN THEY PLAYED AGAINST LITHUANIA AND THE SURFACE WAS MADE OF CLAY? Context: CREATE TABLE table_16741821_8 (result VARCHAR, surface VARCHAR, against VARCHAR)[/INST]SELECT result FROM table_16741821_8 WHERE surface = "Clay" AND against = "Lithuania"</s> |
CREATE TABLE table_name_29 (average INTEGER, interview VARCHAR, state VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR) | SELECT MIN(average) FROM table_name_29 WHERE swimsuit > 6.89 AND evening_gown > 7.76 AND state = "illinois" AND interview > 8.57 | What's the lowest average for a swimsuit over 6.89, evening gown over 7.76, and an interview over 8.57 in illinois? | <s>[INST]What's the lowest average for a swimsuit over 6.89, evening gown over 7.76, and an interview over 8.57 in illinois? Context: CREATE TABLE table_name_29 (average INTEGER, interview VARCHAR, state VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR)[/INST]SELECT MIN(average) FROM table_name_29 WHERE swimsuit > 6.89 ... |
CREATE TABLE table_24099476_8 (date VARCHAR, win_lose VARCHAR, round VARCHAR) | SELECT date FROM table_24099476_8 WHERE win_lose = "Lose" AND round = "Play-off" | When was the win/lose lose and the round a play-off? | <s>[INST]When was the win/lose lose and the round a play-off? Context: CREATE TABLE table_24099476_8 (date VARCHAR, win_lose VARCHAR, round VARCHAR)[/INST]SELECT date FROM table_24099476_8 WHERE win_lose = "Lose" AND round = "Play-off"</s> |
CREATE TABLE table_name_32 (draws INTEGER, played INTEGER) | SELECT MAX(draws) FROM table_name_32 WHERE played < 9 | The highest draws with smaller than 9 played? | <s>[INST]The highest draws with smaller than 9 played? Context: CREATE TABLE table_name_32 (draws INTEGER, played INTEGER)[/INST]SELECT MAX(draws) FROM table_name_32 WHERE played < 9</s> |
CREATE TABLE table_21021796_1 (power VARCHAR, torque VARCHAR, applications VARCHAR) | SELECT power FROM table_21021796_1 WHERE torque = "N·m (lb·ft) @1600–2400 rpm" AND applications = "2000 W90x Sprinter" | If torque is n·m (lb·ft) @1600–2400 rpm and applications is 2000 w90x sprinter, what is the power? | <s>[INST]If torque is n·m (lb·ft) @1600–2400 rpm and applications is 2000 w90x sprinter, what is the power? Context: CREATE TABLE table_21021796_1 (power VARCHAR, torque VARCHAR, applications VARCHAR)[/INST]SELECT power FROM table_21021796_1 WHERE torque = "N·m (lb·ft) @1600–2400 rpm" AND applications = "2000 W90x Spri... |
CREATE TABLE table_name_31 (president VARCHAR, year VARCHAR, date VARCHAR) | SELECT president FROM table_name_31 WHERE year > 2011 AND date = "23 may" | What is the President with a Year larger than 2011, and a Date with 23 may? | <s>[INST]What is the President with a Year larger than 2011, and a Date with 23 may? Context: CREATE TABLE table_name_31 (president VARCHAR, year VARCHAR, date VARCHAR)[/INST]SELECT president FROM table_name_31 WHERE year > 2011 AND date = "23 may"</s> |
CREATE TABLE table_name_25 (player VARCHAR, cross_code_debut VARCHAR) | SELECT player FROM table_name_25 WHERE cross_code_debut = "rl test gb v france" | What is the Player with a Cross Code Debut of RL Test GB v France? | <s>[INST]What is the Player with a Cross Code Debut of RL Test GB v France? Context: CREATE TABLE table_name_25 (player VARCHAR, cross_code_debut VARCHAR)[/INST]SELECT player FROM table_name_25 WHERE cross_code_debut = "rl test gb v france"</s> |
CREATE TABLE table_name_24 (region VARCHAR, _percentage_growth VARCHAR) | SELECT region FROM table_name_24 WHERE _percentage_growth = "−3.6" | Which Region that has a growth of −3.6%? | <s>[INST]Which Region that has a growth of −3.6%? Context: CREATE TABLE table_name_24 (region VARCHAR, _percentage_growth VARCHAR)[/INST]SELECT region FROM table_name_24 WHERE _percentage_growth = "−3.6"</s> |
CREATE TABLE table_name_75 (yellow_cards INTEGER, season VARCHAR) | SELECT AVG(yellow_cards) FROM table_name_75 WHERE season = "1999/2000" | Which Yellow Cards has a Season of 1999/2000? | <s>[INST]Which Yellow Cards has a Season of 1999/2000? Context: CREATE TABLE table_name_75 (yellow_cards INTEGER, season VARCHAR)[/INST]SELECT AVG(yellow_cards) FROM table_name_75 WHERE season = "1999/2000"</s> |
CREATE TABLE table_name_56 (roll VARCHAR, decile VARCHAR, authority VARCHAR, area VARCHAR) | SELECT COUNT(roll) FROM table_name_56 WHERE authority = "state" AND area = "hapuku" AND decile > 4 | What is the total number of Rolls of State schools in Hapuku with a Decile greater than 4? | <s>[INST]What is the total number of Rolls of State schools in Hapuku with a Decile greater than 4? Context: CREATE TABLE table_name_56 (roll VARCHAR, decile VARCHAR, authority VARCHAR, area VARCHAR)[/INST]SELECT COUNT(roll) FROM table_name_56 WHERE authority = "state" AND area = "hapuku" AND decile > 4</s> |
CREATE TABLE table_2357201_1 (playoffs VARCHAR, regular_season VARCHAR) | SELECT playoffs FROM table_2357201_1 WHERE regular_season = "2nd, Great Lakes" | When Cleveland was 2nd, great lakes in the regular season what did they get to in the playoffs? | <s>[INST]When Cleveland was 2nd, great lakes in the regular season what did they get to in the playoffs? Context: CREATE TABLE table_2357201_1 (playoffs VARCHAR, regular_season VARCHAR)[/INST]SELECT playoffs FROM table_2357201_1 WHERE regular_season = "2nd, Great Lakes"</s> |
CREATE TABLE table_10284385_1 (date_of_birth VARCHAR, representative VARCHAR) | SELECT COUNT(date_of_birth) FROM table_10284385_1 WHERE representative = "Earl Hanley Beshlin" | How many birthdays does Earl Hanley Beshlin have? | <s>[INST]How many birthdays does Earl Hanley Beshlin have? Context: CREATE TABLE table_10284385_1 (date_of_birth VARCHAR, representative VARCHAR)[/INST]SELECT COUNT(date_of_birth) FROM table_10284385_1 WHERE representative = "Earl Hanley Beshlin"</s> |
CREATE TABLE Companies (Industry VARCHAR) | SELECT Industry, COUNT(*) FROM Companies GROUP BY Industry | Please show each industry and the corresponding number of companies in that industry. | <s>[INST]Please show each industry and the corresponding number of companies in that industry. Context: CREATE TABLE Companies (Industry VARCHAR)[/INST]SELECT Industry, COUNT(*) FROM Companies GROUP BY Industry</s> |
CREATE TABLE table_name_54 (year INTEGER, silver VARCHAR) | SELECT MIN(year) FROM table_name_54 WHERE silver = "matthias merz" | WHAT YEAR HAS A SILVER FOR MATTHIAS MERZ? | <s>[INST]WHAT YEAR HAS A SILVER FOR MATTHIAS MERZ? Context: CREATE TABLE table_name_54 (year INTEGER, silver VARCHAR)[/INST]SELECT MIN(year) FROM table_name_54 WHERE silver = "matthias merz"</s> |
CREATE TABLE table_18862490_2 (country VARCHAR, player VARCHAR) | SELECT country FROM table_18862490_2 WHERE player = "Robert Allenby" | What country does robert allenby represent? | <s>[INST]What country does robert allenby represent? Context: CREATE TABLE table_18862490_2 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_18862490_2 WHERE player = "Robert Allenby"</s> |
CREATE TABLE table_name_45 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_45 WHERE date = "january 16" | Who is the Opponent on January 16? | <s>[INST]Who is the Opponent on January 16? Context: CREATE TABLE table_name_45 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_45 WHERE date = "january 16"</s> |
CREATE TABLE table_name_60 (player VARCHAR, school_club_team VARCHAR, round VARCHAR, position VARCHAR) | SELECT player FROM table_name_60 WHERE round < 8 AND position = "guard" AND school_club_team = "stephen f. austin" | Who is the player in guard position from Stephen F. Austin in a round less than 8? | <s>[INST]Who is the player in guard position from Stephen F. Austin in a round less than 8? Context: CREATE TABLE table_name_60 (player VARCHAR, school_club_team VARCHAR, round VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_name_60 WHERE round < 8 AND position = "guard" AND school_club_team = "stephen f. aus... |
CREATE TABLE table_name_23 (gold INTEGER, total VARCHAR) | SELECT MIN(gold) FROM table_name_23 WHERE total = 7 | What is the smallest number of gold medals a country with 7 medals has? | <s>[INST]What is the smallest number of gold medals a country with 7 medals has? Context: CREATE TABLE table_name_23 (gold INTEGER, total VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_23 WHERE total = 7</s> |
CREATE TABLE TV_series (Air_Date VARCHAR, Episode VARCHAR) | SELECT Air_Date FROM TV_series WHERE Episode = "A Love of a Lifetime" | What is the air date of TV series with Episode "A Love of a Lifetime"? | <s>[INST]What is the air date of TV series with Episode "A Love of a Lifetime"? Context: CREATE TABLE TV_series (Air_Date VARCHAR, Episode VARCHAR)[/INST]SELECT Air_Date FROM TV_series WHERE Episode = "A Love of a Lifetime"</s> |
CREATE TABLE table_name_73 (state VARCHAR, hometown VARCHAR) | SELECT state FROM table_name_73 WHERE hometown = "lincoln, de" | What state has lincoln, de as the hometown? | <s>[INST]What state has lincoln, de as the hometown? Context: CREATE TABLE table_name_73 (state VARCHAR, hometown VARCHAR)[/INST]SELECT state FROM table_name_73 WHERE hometown = "lincoln, de"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.