answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT operator FROM table_18333678_2 WHERE arrival = "13.39" | CREATE TABLE table_18333678_2 (operator VARCHAR, arrival VARCHAR) | what is the operator of trains arriving at 13.39 |
SELECT arrival FROM table_18333678_2 WHERE departure = "11.35" | CREATE TABLE table_18333678_2 (arrival VARCHAR, departure VARCHAR) | when does the train departuring at 11.35 arrive |
SELECT departure FROM table_18333678_2 WHERE going_to = "Bourne" AND arrival = "11.45" | CREATE TABLE table_18333678_2 (departure VARCHAR, going_to VARCHAR, arrival VARCHAR) | when does the train arriving at bourne at 11.45 departure |
SELECT departure FROM table_18333678_2 WHERE arrival = "11.45" AND going_to = "Stamford East" | CREATE TABLE table_18333678_2 (departure VARCHAR, arrival VARCHAR, going_to VARCHAR) | when does the train arriving at stamford east at 11.45 departure |
SELECT clubs_remaining FROM table_18328569_1 WHERE winners_from_previous_round = "4" | CREATE TABLE table_18328569_1 (clubs_remaining VARCHAR, winners_from_previous_round VARCHAR) | How many clubs are remaining when the winners from the previous round totals 4? |
SELECT round FROM table_18328569_1 WHERE winners_from_previous_round = "8" | CREATE TABLE table_18328569_1 (round VARCHAR, winners_from_previous_round VARCHAR) | What is the round where winners from the previous round totals 8? |
SELECT MIN(clubs_remaining) FROM table_18328569_1 WHERE round = "Fourth round" | CREATE TABLE table_18328569_1 (clubs_remaining INTEGER, round VARCHAR) | How many clubs remain in the fourth round? |
SELECT new_entries_this_round FROM table_18328569_1 WHERE winners_from_previous_round = "32" | CREATE TABLE table_18328569_1 (new_entries_this_round VARCHAR, winners_from_previous_round VARCHAR) | How many new entries started in the round where winners from the previous round is 32? |
SELECT new_entries_this_round FROM table_18328569_1 WHERE round = "Quarter finals" | CREATE TABLE table_18328569_1 (new_entries_this_round VARCHAR, round VARCHAR) | How many new entries started in the quarter finals? |
SELECT new_entries_this_round FROM table_18328569_1 WHERE winners_from_previous_round = "16" | CREATE TABLE table_18328569_1 (new_entries_this_round VARCHAR, winners_from_previous_round VARCHAR) | How many new entries started in the round where winners from the previous round is 16? |
SELECT operator FROM table_18365784_3 WHERE departure = "11.02" | CREATE TABLE table_18365784_3 (operator VARCHAR, departure VARCHAR) | Who was the train operator when the train departed at 11.02 in 1922? |
SELECT going_to FROM table_18365784_3 WHERE calling_at = "Boston, Sleaford, Nottingham Victoria" | CREATE TABLE table_18365784_3 (going_to VARCHAR, calling_at VARCHAR) | What was the train destination when it has a calling at Boston, Sleaford, Nottingham Victoria? |
SELECT departure FROM table_18365784_3 WHERE going_to = "Boston" | CREATE TABLE table_18365784_3 (departure VARCHAR, going_to VARCHAR) | What was the departure time of the train going to Boston? |
SELECT arrival FROM table_18365784_3 WHERE departure = "18.16" | CREATE TABLE table_18365784_3 (arrival VARCHAR, departure VARCHAR) | What was the arrival time of the train that departed at 18.16? |
SELECT departure FROM table_18365784_3 WHERE arrival = "21.26" | CREATE TABLE table_18365784_3 (departure VARCHAR, arrival VARCHAR) | What was the departure time of the train that arrived at 21.26? |
SELECT calling_at FROM table_18365784_3 WHERE departure = "18.16" | CREATE TABLE table_18365784_3 (calling_at VARCHAR, departure VARCHAR) | What was the 'calling at' station of the train that departed on 18.16? |
SELECT original_air_date FROM table_18335117_5 WHERE director = "Barnaby Southcomb" AND writer = "Charlie Martin" | CREATE TABLE table_18335117_5 (original_air_date VARCHAR, director VARCHAR, writer VARCHAR) | Name the original air date for barnaby southcomb for charlie martin |
SELECT MIN(no_in_series) FROM table_18335117_5 WHERE no_overall = 38 | CREATE TABLE table_18335117_5 (no_in_series INTEGER, no_overall VARCHAR) | Name the number in series for number 38 |
SELECT original_air_date FROM table_18367694_2 WHERE production_code = 1115 | CREATE TABLE table_18367694_2 (original_air_date VARCHAR, production_code VARCHAR) | What is the original air date of the episode with the production code 1115? |
SELECT directed_by FROM table_18367694_2 WHERE original_air_date = "November 22, 1989" | CREATE TABLE table_18367694_2 (directed_by VARCHAR, original_air_date VARCHAR) | who directed the episode with the original air date of November 22, 1989? |
SELECT mlb_team FROM table_18373863_2 WHERE years_played = "2008" AND fcsl_team = "DeLand" | CREATE TABLE table_18373863_2 (mlb_team VARCHAR, years_played VARCHAR, fcsl_team VARCHAR) | when deland is the fcsl team and 2008 is the year played who is the mlb team? |
SELECT fcsl_team FROM table_18373863_2 WHERE mlb_team = "Toronto Blue Jays" | CREATE TABLE table_18373863_2 (fcsl_team VARCHAR, mlb_team VARCHAR) | When toronto blue jays are the mlb team who are the fscl team? |
SELECT MIN(year_drafted) FROM table_18373863_2 WHERE years_played = "2005" | CREATE TABLE table_18373863_2 (year_drafted INTEGER, years_played VARCHAR) | When 2005 is the year played what is the lowest year drafted? |
SELECT COUNT(mlb_team) FROM table_18373863_2 WHERE fcsl_team = "Winter Pines" | CREATE TABLE table_18373863_2 (mlb_team VARCHAR, fcsl_team VARCHAR) | When winter pines is the fcsl team how many mlb teams are there? |
SELECT player FROM table_18373863_2 WHERE fcsl_team = "Winter Park" AND years_played = "2006" | CREATE TABLE table_18373863_2 (player VARCHAR, fcsl_team VARCHAR, years_played VARCHAR) | When 2006 is the year played and winter park is the fcsl team who is the player? |
SELECT operator FROM table_1837570_1 WHERE genre = "music" | CREATE TABLE table_1837570_1 (operator VARCHAR, genre VARCHAR) | Which operators offer a genre of music? |
SELECT language FROM table_1837570_1 WHERE coverage_area = "Klang Petaling Jaya Shah Alam" | CREATE TABLE table_1837570_1 (language VARCHAR, coverage_area VARCHAR) | Which languages are offered in the coverage area of klang petaling jaya shah alam? |
SELECT macedonian FROM table_1841901_1 WHERE french = "il/elle avait entendu" | CREATE TABLE table_1841901_1 (macedonian VARCHAR, french VARCHAR) | Name the macedonian for il/elle avait entendu |
SELECT greek__modern_ FROM table_1841901_1 WHERE polish__extinct_ = "słyszałeś był / słyszałaś była" | CREATE TABLE table_1841901_1 (greek__modern_ VARCHAR, polish__extinct_ VARCHAR) | Name the greek modern for słyszałeś był / słyszałaś była |
SELECT bulgarian FROM table_1841901_1 WHERE dutch = "jullie hadden gehoord" | CREATE TABLE table_1841901_1 (bulgarian VARCHAR, dutch VARCHAR) | Name the bulgarian for jullie hadden gehoord |
SELECT english FROM table_1841901_1 WHERE french = "j'avais entendu" | CREATE TABLE table_1841901_1 (english VARCHAR, french VARCHAR) | Name the english for j'avais entendu |
SELECT us_air_date FROM table_18424435_4 WHERE canadian_viewers__million_ = "1.452" | CREATE TABLE table_18424435_4 (us_air_date VARCHAR, canadian_viewers__million_ VARCHAR) | What was the air date in the U.S. for the episode that had 1.452 million Canadian viewers? |
SELECT no FROM table_18424435_4 WHERE directed_by = "Kelly Makin" AND written_by = "Mark Ellis & Stephanie Morgenstern" | CREATE TABLE table_18424435_4 (no VARCHAR, directed_by VARCHAR, written_by VARCHAR) | What number episode in the series was directed by Kelly Makin and written by Mark Ellis & Stephanie Morgenstern? |
SELECT MAX(no) FROM table_18424435_4 | CREATE TABLE table_18424435_4 (no INTEGER) | What is the maximum number of episodes in the series listed? |
SELECT COUNT(_number) FROM table_18424435_4 WHERE production_code = 306 | CREATE TABLE table_18424435_4 (_number VARCHAR, production_code VARCHAR) | What is the total number of episodes listed with a production code of 306? |
SELECT directed_by FROM table_18424435_4 WHERE production_code = 301 | CREATE TABLE table_18424435_4 (directed_by VARCHAR, production_code VARCHAR) | Who directed the episode with a production code of 301? |
SELECT written_by FROM table_18424435_3 WHERE canadian_viewers__million_ = "1.816" | CREATE TABLE table_18424435_3 (written_by VARCHAR, canadian_viewers__million_ VARCHAR) | Who wrote the episodes watched by 1.816 million people in Canada? |
SELECT written_by FROM table_18424435_3 WHERE canadian_viewers__million_ = "1.575" | CREATE TABLE table_18424435_3 (written_by VARCHAR, canadian_viewers__million_ VARCHAR) | Who wrote the episodes watched by 1.575 million people in Canada? |
SELECT directed_by FROM table_18424435_3 WHERE us_air_date = "February 27, 2009" | CREATE TABLE table_18424435_3 (directed_by VARCHAR, us_air_date VARCHAR) | Who directed the episode aired on February 27, 2009? |
SELECT title FROM table_18424435_3 WHERE production_code = 217 | CREATE TABLE table_18424435_3 (title VARCHAR, production_code VARCHAR) | Which episodes had production code 217? |
SELECT median_house__hold_income FROM table_1840495_2 WHERE place = "Upper Arlington" | CREATE TABLE table_1840495_2 (median_house__hold_income VARCHAR, place VARCHAR) | For upper Arlington, what was the median household income? |
SELECT COUNT(number_of_households) FROM table_1840495_2 WHERE per_capita_income = "$30,298" | CREATE TABLE table_1840495_2 (number_of_households VARCHAR, per_capita_income VARCHAR) | With a per capita income of $30,298, what was the total number of households? |
SELECT median_house__hold_income FROM table_1840495_2 WHERE population = 2188 | CREATE TABLE table_1840495_2 (median_house__hold_income VARCHAR, population VARCHAR) | If the population is 2188, what was the median household income? |
SELECT per_capita_income FROM table_1840495_2 WHERE place = "Pigeon Creek" | CREATE TABLE table_1840495_2 (per_capita_income VARCHAR, place VARCHAR) | For Pigeon Creek what is the per capita income? |
SELECT per_capita_income FROM table_1840495_2 WHERE median_house__hold_income = "$57,407" | CREATE TABLE table_1840495_2 (per_capita_income VARCHAR, median_house__hold_income VARCHAR) | If the median income is $57,407, what is the per capita income? |
SELECT directed_by FROM table_18424435_5 WHERE us_air_date = "July 29, 2011" | CREATE TABLE table_18424435_5 (directed_by VARCHAR, us_air_date VARCHAR) | Who directed the episode that aired on July 29, 2011? |
SELECT COUNT(us_air_date) FROM table_18424435_5 WHERE directed_by = "Jim Donovan" | CREATE TABLE table_18424435_5 (us_air_date VARCHAR, directed_by VARCHAR) | How many air dates where directed by jim donovan? |
SELECT MIN(_number) FROM table_18424435_5 | CREATE TABLE table_18424435_5 (_number INTEGER) | What is the smallest number? |
SELECT us_air_date FROM table_18424435_5 WHERE canadian_viewers__million_ = "1.229" | CREATE TABLE table_18424435_5 (us_air_date VARCHAR, canadian_viewers__million_ VARCHAR) | Which air dates have 1.229 canadian viewers (millions)? |
SELECT COUNT(district) FROM table_18425346_2 WHERE serial_no = 9 | CREATE TABLE table_18425346_2 (district VARCHAR, serial_no VARCHAR) | In what district is the city listed in Serial number 9? |
SELECT COUNT(city_area_km_2__) FROM table_18425346_2 WHERE district = "Sargodha district" | CREATE TABLE table_18425346_2 (city_area_km_2__ VARCHAR, district VARCHAR) | What is the area of the city in the Sargodha district? |
SELECT MIN(city_area_km_2__) FROM table_18425346_2 | CREATE TABLE table_18425346_2 (city_area_km_2__ INTEGER) | What is the smallest city area? |
SELECT original_air_date FROM table_18427769_1 WHERE directed_by = "Di Drew" | CREATE TABLE table_18427769_1 (original_air_date VARCHAR, directed_by VARCHAR) | If Di Drew is the director, what was the original air date for episode A Whole Lot to Lose? |
SELECT COUNT(population__2010_census_) FROM table_184334_2 WHERE s_barangay = 51 | CREATE TABLE table_184334_2 (population__2010_census_ VARCHAR, s_barangay VARCHAR) | What is the population (2010 census) if s barangay is 51? |
SELECT MIN(population__2010_census_) FROM table_184334_2 WHERE area___has__ = "66.11" | CREATE TABLE table_184334_2 (population__2010_census_ INTEGER, area___has__ VARCHAR) | What is the population (2010 census) if the area is 66.11? |
SELECT entered FROM table_18438494_3 WHERE time = "14:42" | CREATE TABLE table_18438494_3 (entered VARCHAR, time VARCHAR) | How many entered the match with a time of 14:42? |
SELECT time FROM table_18438494_3 WHERE wrestler = "Cena" | CREATE TABLE table_18438494_3 (time VARCHAR, wrestler VARCHAR) | What was the time for the match with Cena? |
SELECT station FROM table_1847523_2 WHERE city_of_license__market = "Cincinnati" | CREATE TABLE table_1847523_2 (station VARCHAR, city_of_license__market VARCHAR) | What are all the stations with a license in Cincinnati? |
SELECT affiliation FROM table_1847523_2 WHERE station = "KMGH-TV" | CREATE TABLE table_1847523_2 (affiliation VARCHAR, station VARCHAR) | What station is affiliated with kmgh-tv? |
SELECT owned_since FROM table_1847523_2 WHERE station = "WFTS-TV" | CREATE TABLE table_1847523_2 (owned_since VARCHAR, station VARCHAR) | How many stations have been owned since wfts-tv? |
SELECT city_of_license__market FROM table_1847523_2 WHERE channel___tv___rf__ = "41" | CREATE TABLE table_1847523_2 (city_of_license__market VARCHAR, channel___tv___rf__ VARCHAR) | What city of license/market has the channel of 41? |
SELECT MIN(owned_since) FROM table_1847523_2 WHERE station = "KERO-TV" | CREATE TABLE table_1847523_2 (owned_since INTEGER, station VARCHAR) | What is the minimum stations owned since kero-tv? |
SELECT lyric_fm__mhz_ FROM table_18475946_2 WHERE rnag__mhz_ = "93.2" | CREATE TABLE table_18475946_2 (lyric_fm__mhz_ VARCHAR, rnag__mhz_ VARCHAR) | What is the lyric fm for rnag 93.2? |
SELECT 2 AS fm__mhz_ FROM table_18475946_2 WHERE erp__kw_ = "16" | CREATE TABLE table_18475946_2 (erp__kw_ VARCHAR) | What are the 2fm's for erp 16? |
SELECT rnag__mhz_ FROM table_18475946_2 WHERE transmitter = "Kippure" | CREATE TABLE table_18475946_2 (rnag__mhz_ VARCHAR, transmitter VARCHAR) | What is the rnag for kippure transmitter? |
SELECT rnag__mhz_ FROM table_18475946_2 WHERE lyric_fm__mhz_ = "98.7" | CREATE TABLE table_18475946_2 (rnag__mhz_ VARCHAR, lyric_fm__mhz_ VARCHAR) | What is the rnag for lyric fm 98.7? |
SELECT 2 AS fm__mhz_ FROM table_18475946_2 WHERE rnag__mhz_ = "94.4" | CREATE TABLE table_18475946_2 (rnag__mhz_ VARCHAR) | What is the 2fm for rnag 94.4? |
SELECT COUNT(reason_for_change) FROM table_1847180_3 WHERE vacator = "A. Willis Robertson (D)" | CREATE TABLE table_1847180_3 (reason_for_change VARCHAR, vacator VARCHAR) | How many reasons were given when A. Willis Robertson (D) resigned? |
SELECT vacator FROM table_1847180_3 WHERE date_of_successors_formal_installation = "May 11, 1966" | CREATE TABLE table_1847180_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR) | Who vacated his post when his successor was formally installed on May 11, 1966? |
SELECT state__class_ FROM table_1847180_3 WHERE date_of_successors_formal_installation = "May 11, 1966" | CREATE TABLE table_1847180_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR) | What was the state (class) where the new successor was formally installed on May 11, 1966? |
SELECT album FROM table_18442691_2 WHERE artist = "ABBA" | CREATE TABLE table_18442691_2 (album VARCHAR, artist VARCHAR) | When abba is the artist what is the album? |
SELECT album FROM table_18442691_2 WHERE no = 35 | CREATE TABLE table_18442691_2 (album VARCHAR, no VARCHAR) | When 35 is the number what is the album? |
SELECT MIN(no) FROM table_18442691_2 WHERE album = "Bat Out of Hell" | CREATE TABLE table_18442691_2 (no INTEGER, album VARCHAR) | When bat out of hell is the album what is the lowest number? |
SELECT no FROM table_18442691_2 WHERE released = "Cannot handle non-empty timestamp argument! 2007" | CREATE TABLE table_18442691_2 (no VARCHAR, released VARCHAR) | When cannot handle non-empty timestamp argument! 2007 is released what is the no.? |
SELECT district FROM table_1847180_4 WHERE vacator = "Ralph Harvey (R)" | CREATE TABLE table_1847180_4 (district VARCHAR, vacator VARCHAR) | Which district did Ralph Harvey (r) vacated when he resigned? |
SELECT vacator FROM table_1847180_4 WHERE successor = "Walter B. Jones, Sr. (D)" | CREATE TABLE table_1847180_4 (vacator VARCHAR, successor VARCHAR) | Who did Walter B. Jones, Sr. (d) succeeded in office? |
SELECT title FROM table_18481791_2 WHERE directed_by = "John T. Kretchmer" | CREATE TABLE table_18481791_2 (title VARCHAR, directed_by VARCHAR) | What was the title of the episode directed by John T. Kretchmer? |
SELECT MIN(no_in_season) FROM table_18481791_3 WHERE directed_by = "Bryan Spicer" | CREATE TABLE table_18481791_3 (no_in_season INTEGER, directed_by VARCHAR) | How many seasons were directed by Bryan Spicer? |
SELECT title FROM table_18481791_3 WHERE no_in_series = 23 | CREATE TABLE table_18481791_3 (title VARCHAR, no_in_series VARCHAR) | What is the title of series 23? |
SELECT directed_by FROM table_18481791_3 WHERE no_in_season = 1 | CREATE TABLE table_18481791_3 (directed_by VARCHAR, no_in_season VARCHAR) | Who directed season 1? |
SELECT title FROM table_18481791_3 WHERE us_viewers__in_millions_ = "3.97" | CREATE TABLE table_18481791_3 (title VARCHAR, us_viewers__in_millions_ VARCHAR) | What is the title when u.s. viewers (millions) is 3.97? |
SELECT COUNT(commentator) FROM table_184803_4 WHERE broadcaster = "ORF" | CREATE TABLE table_184803_4 (commentator VARCHAR, broadcaster VARCHAR) | how many people commentated where broadcaster is orf |
SELECT spokespersons FROM table_184803_4 WHERE voting_order = 9 | CREATE TABLE table_184803_4 (spokespersons VARCHAR, voting_order VARCHAR) | list the spokespersons where voting order is 9 |
SELECT country FROM table_184803_4 WHERE commentator = "Gordana Bonetti" | CREATE TABLE table_184803_4 (country VARCHAR, commentator VARCHAR) | which countries were commentated on by gordana bonetti |
SELECT spokespersons FROM table_184803_4 WHERE country = "Luxembourg" | CREATE TABLE table_184803_4 (spokespersons VARCHAR, country VARCHAR) | wich spokesperson talked on luxembourg |
SELECT commentator FROM table_184803_4 WHERE spokespersons = "Claude Darget" | CREATE TABLE table_184803_4 (commentator VARCHAR, spokespersons VARCHAR) | who was the commentator when spokesperson was claude darget |
SELECT institution FROM table_18483171_1 WHERE team_nickname = "Cardinals" | CREATE TABLE table_18483171_1 (institution VARCHAR, team_nickname VARCHAR) | List all institutions with a team name of the Cardinals. |
SELECT COUNT(founded) FROM table_18483171_1 WHERE location = "Rock Island, Illinois" | CREATE TABLE table_18483171_1 (founded VARCHAR, location VARCHAR) | List the total number of institutions founded in Rock Island, Illinois. |
SELECT viewers__in_millions_ FROM table_1849243_1 WHERE run_time = "23:55" | CREATE TABLE table_1849243_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR) | How many viewers in millions watched the episode 23:55 minutes long? |
SELECT broadcast_date FROM table_1849243_1 WHERE archive = "16mm t/r" | CREATE TABLE table_1849243_1 (broadcast_date VARCHAR, archive VARCHAR) | What is the broadcast date of the 16mm t/r episode? |
SELECT viewers__in_millions_ FROM table_1849243_1 WHERE archive = "16mm t/r" | CREATE TABLE table_1849243_1 (viewers__in_millions_ VARCHAR, archive VARCHAR) | How many viewers watched the 16mm t/r episode? |
SELECT el_canal_de_las_estrellas FROM table_18498743_1 WHERE mañana_es_para_siempre = "Impreuna pentru totdeauna" | CREATE TABLE table_18498743_1 (el_canal_de_las_estrellas VARCHAR, mañana_es_para_siempre VARCHAR) | state el canal de las estrellas where mañana es para siempre is impreuna pentru totdeauna |
SELECT mexico FROM table_18498743_1 WHERE mañana_es_para_siempre = "Love Never Dies" | CREATE TABLE table_18498743_1 (mexico VARCHAR, mañana_es_para_siempre VARCHAR) | what is the mexico stat where mañana es para siempre is love never dies |
SELECT october_20, _2008 FROM table_18498743_1 WHERE mexico = "Romania" | CREATE TABLE table_18498743_1 (october_20 VARCHAR, _2008 VARCHAR, mexico VARCHAR) | what is the october 20, 2008 stat where mexico stat is romania |
SELECT other FROM table_1850282_7 WHERE species = "Chironius multiventris septentrionalis" | CREATE TABLE table_1850282_7 (other VARCHAR, species VARCHAR) | Name the other for chironius multiventris septentrionalis |
SELECT trinidad FROM table_1850282_7 WHERE common_name = "Yellow-bellied puffing snake" | CREATE TABLE table_1850282_7 (trinidad VARCHAR, common_name VARCHAR) | Name the trinidad for yellow-bellied puffing snake |
SELECT bocas_is FROM table_1850282_7 WHERE species = "Chironius multiventris septentrionalis" | CREATE TABLE table_1850282_7 (bocas_is VARCHAR, species VARCHAR) | Name the bocas for chironius multiventris septentrionalis |
SELECT common_name FROM table_1850282_7 WHERE species = "Chironius multiventris septentrionalis" | CREATE TABLE table_1850282_7 (common_name VARCHAR, species VARCHAR) | Name the common name for chironius multiventris septentrionalis |
SELECT contestant_name FROM table_18513028_3 WHERE date_premiered__2009_ = "July 25" | CREATE TABLE table_18513028_3 (contestant_name VARCHAR, date_premiered__2009_ VARCHAR) | What contestant was premiered on July 25? |
SELECT air_force___navy_score FROM table_1850339_2 WHERE season = 2018 | CREATE TABLE table_1850339_2 (air_force___navy_score VARCHAR, season VARCHAR) | What's the Air Force - Navy score in the 2018 season? |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.