answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT title FROM table_19396259_1 WHERE directed_by = "Charles Beeson" AND written_by = "Jeremy Carver"
CREATE TABLE table_19396259_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)
Name the title directed by charles beeson by jeremy carver
SELECT directed_by FROM table_19396259_1 WHERE production_code = "3T7509"
CREATE TABLE table_19396259_1 (directed_by VARCHAR, production_code VARCHAR)
Name the directed by for production code for 3t7509
SELECT no_in_season FROM table_19401346_1 WHERE original_air_date = "October 14, 2008"
CREATE TABLE table_19401346_1 (no_in_season VARCHAR, original_air_date VARCHAR)
What's the season number of the episode originally aired on October 14, 2008?
SELECT title FROM table_19401346_1 WHERE original_air_date = "September 23, 2008"
CREATE TABLE table_19401346_1 (title VARCHAR, original_air_date VARCHAR)
What's the title of the episode originally aired on September 23, 2008?
SELECT MIN(no_in_series) FROM table_19401346_1 WHERE us_viewers__millions_ = "9.35"
CREATE TABLE table_19401346_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR)
What's the series number of the episode seen by 9.35 million people in the US?
SELECT title FROM table_19401346_1 WHERE production_code = 10018
CREATE TABLE table_19401346_1 (title VARCHAR, production_code VARCHAR)
What's the title of the episode with production code 10018?
SELECT us_viewers__millions_ FROM table_19401346_1 WHERE no_in_season = 1
CREATE TABLE table_19401346_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR)
How many millions of people in the US saw the episode with season number 1?
SELECT change_since_2006 FROM table_1940144_1 WHERE urban_area = "Clane"
CREATE TABLE table_1940144_1 (change_since_2006 VARCHAR, urban_area VARCHAR)
How many places has the rank changed since 2006, for Clane?
SELECT county FROM table_1940144_1 WHERE population_2011 = 17908
CREATE TABLE table_1940144_1 (county VARCHAR, population_2011 VARCHAR)
In what counties is the 2011 population 17908?
SELECT urban_area FROM table_1940144_1 WHERE population_2011 = 21561
CREATE TABLE table_1940144_1 (urban_area VARCHAR, population_2011 VARCHAR)
In what urban area is the 2011 population 21561?
SELECT COUNT(change_since_2006) FROM table_1940144_1 WHERE county = "county Leitrim"
CREATE TABLE table_1940144_1 (change_since_2006 VARCHAR, county VARCHAR)
How many places did the rank change since 22006 for County Leitrim?
SELECT urban_area FROM table_1940144_1 WHERE population_2011 = 5010
CREATE TABLE table_1940144_1 (urban_area VARCHAR, population_2011 VARCHAR)
Which urban area has a 2011 population of 5010?
SELECT event FROM table_19398910_4 WHERE bout_2 = "Zhang ( CHN ) L 0-5"
CREATE TABLE table_19398910_4 (event VARCHAR, bout_2 VARCHAR)
wich were the events when bout 2 was zhang ( chn ) l 0-5?
SELECT bout_1 FROM table_19398910_4 WHERE bout_5 = "Andreev ( RUS ) W 5-2"
CREATE TABLE table_19398910_4 (bout_1 VARCHAR, bout_5 VARCHAR)
Which were the bout 1 when the bout 5 was andreev ( rus ) w 5-2?
SELECT class FROM table_19398910_4 WHERE bout_6 = "Sanchez ( ESP ) W 5-0"
CREATE TABLE table_19398910_4 (class VARCHAR, bout_6 VARCHAR)
when Sanchez ( esp ) w 5-0 were the bout 6, which were the class?
SELECT MIN(attempts) FROM table_19418696_3 WHERE name = "Bobby Layne"
CREATE TABLE table_19418696_3 (attempts INTEGER, name VARCHAR)
How many attempts for Bobby Layne?
SELECT MAX(interceptions) FROM table_19418696_3
CREATE TABLE table_19418696_3 (interceptions INTEGER)
What is the highest number of interceptions?
SELECT MAX(yards) FROM table_19418696_3 WHERE name = "Bobby Layne"
CREATE TABLE table_19418696_3 (yards INTEGER, name VARCHAR)
How many total yards for Bobby Layne?
SELECT name FROM table_19418696_3 WHERE qb_rating = "72.3"
CREATE TABLE table_19418696_3 (name VARCHAR, qb_rating VARCHAR)
Which QB had a rating of 72.3?
SELECT COUNT(qb_rating) FROM table_19418696_3 WHERE completions = 1069
CREATE TABLE table_19418696_3 (qb_rating VARCHAR, completions VARCHAR)
How many QB ratings for the player with 1069 completions?
SELECT COUNT(yards) FROM table_19418696_3 WHERE qb_rating = "72.3"
CREATE TABLE table_19418696_3 (yards VARCHAR, qb_rating VARCHAR)
How many yardage figures for the player with 72.3 QB rating?
SELECT COUNT(game_site) FROM table_1941183_2 WHERE opponent = "Barcelona Dragons"
CREATE TABLE table_1941183_2 (game_site VARCHAR, opponent VARCHAR)
In how many locations was the game against Barcelona Dragons played?
SELECT COUNT(pos) FROM table_19412902_1 WHERE member_association = "Saudi Arabia"
CREATE TABLE table_19412902_1 (pos VARCHAR, member_association VARCHAR)
how many posiitions did saudi arabia land on
SELECT play_off FROM table_19412902_1 WHERE group_stage = 4 AND clubs = 12
CREATE TABLE table_19412902_1 (play_off VARCHAR, group_stage VARCHAR, clubs VARCHAR)
what is the play-off in group stage 4 and clubs is 12
SELECT COUNT(group_stage) FROM table_19412902_1 WHERE play_off = 0 AND clubs = 12
CREATE TABLE table_19412902_1 (group_stage VARCHAR, play_off VARCHAR, clubs VARCHAR)
which group stage was there 0 play-offs and 12 clubs played in it
SELECT clubs FROM table_19412902_1 WHERE group_stage = 4 AND member_association = "Iran"
CREATE TABLE table_19412902_1 (clubs VARCHAR, group_stage VARCHAR, member_association VARCHAR)
which club in group stage 4 had member association iran
SELECT written_by FROM table_19417244_2 WHERE us_viewers__millions_ = "14.39"
CREATE TABLE table_19417244_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
who write the episode that have 14.39 million viewers
SELECT directed_by FROM table_19417244_2 WHERE us_viewers__millions_ = "14.59"
CREATE TABLE table_19417244_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
who directed the episode that have 14.59 million viewers
SELECT written_by FROM table_19417244_2 WHERE no_in_season = 5
CREATE TABLE table_19417244_2 (written_by VARCHAR, no_in_season VARCHAR)
who write the episode 5 in no. in season
SELECT clubs FROM table_19412902_2 WHERE member_association = "Korea Republic"
CREATE TABLE table_19412902_2 (clubs VARCHAR, member_association VARCHAR)
How many clubs are there in the Korea Republic?
SELECT MIN(pos) FROM table_19412902_2 WHERE points__total_500_ = 279
CREATE TABLE table_19412902_2 (pos INTEGER, points__total_500_ VARCHAR)
At what position is the association with 279 points?
SELECT MAX(pos) FROM table_19412902_2
CREATE TABLE table_19412902_2 (pos INTEGER)
What is the lowest position?
SELECT MIN(year_opened) FROM table_1942683_1
CREATE TABLE table_1942683_1 (year_opened INTEGER)
What is the earliest year a house opened?
SELECT COUNT(house_colour) FROM table_1942683_1 WHERE house_name = "Hillary"
CREATE TABLE table_1942683_1 (house_colour VARCHAR, house_name VARCHAR)
How many house colours are associated with house names of Hillary?
SELECT house_colour FROM table_1942683_1 WHERE house_name = "Kupe"
CREATE TABLE table_1942683_1 (house_colour VARCHAR, house_name VARCHAR)
What is the house colour associated with the house name of Kupe?
SELECT COUNT(house_mascot) FROM table_1942683_1 WHERE house_colour = "Yellow"
CREATE TABLE table_1942683_1 (house_mascot VARCHAR, house_colour VARCHAR)
How many house mascots are associated with yellow house colours?
SELECT title__french_____english_ FROM table_19485888_1 WHERE b_b_ = _corresponds_to_tf1s_broadcast_schedule = 20 / 16
CREATE TABLE table_19485888_1 (title__french_____english_ VARCHAR, b_b_ VARCHAR, _corresponds_to_tf1s_broadcast_schedule VARCHAR)
what is the title of the episode where b b is 20/16
SELECT MIN(losses) FROM table_19451173_1 WHERE team = "Kansas City Chiefs"
CREATE TABLE table_19451173_1 (losses INTEGER, team VARCHAR)
What is the minimum losses for the Kansas City Chiefs?
SELECT division_titles FROM table_19451173_1 WHERE win_pct = ".558"
CREATE TABLE table_19451173_1 (division_titles VARCHAR, win_pct VARCHAR)
How many division titles are there when the win pc is .558?
SELECT villages FROM table_19457_1 WHERE state_region = "Magway Region"
CREATE TABLE table_19457_1 (villages VARCHAR, state_region VARCHAR)
How many villages are there in the Magway region?
SELECT MAX(town_ships) FROM table_19457_1 WHERE no = 2
CREATE TABLE table_19457_1 (town_ships INTEGER, no VARCHAR)
How many townships are there in region number 2?
SELECT MAX(town_ships) FROM table_19457_1 WHERE village_groups = 376
CREATE TABLE table_19457_1 (town_ships INTEGER, village_groups VARCHAR)
How many townships are there in the region with 376 village groups?
SELECT MAX(poles) FROM table_19487922_1 WHERE country = "Netherlands"
CREATE TABLE table_19487922_1 (poles INTEGER, country VARCHAR)
How many poles for the Netherlands?
SELECT seasons FROM table_19487922_1 WHERE country = "Monaco"
CREATE TABLE table_19487922_1 (seasons VARCHAR, country VARCHAR)
How many seasons for Monaco?
SELECT name FROM table_19487922_1 WHERE country = "France" AND race_entries__starts_ = "10"
CREATE TABLE table_19487922_1 (name VARCHAR, country VARCHAR, race_entries__starts_ VARCHAR)
Who is the competitor from France with 10 starts?
SELECT COUNT(call_sign) FROM table_1949746_1 WHERE frequency = "1180 AM"
CREATE TABLE table_1949746_1 (call_sign VARCHAR, frequency VARCHAR)
When 1180 am is the frequency how many call signs are there?
SELECT licensee FROM table_1949746_1 WHERE city_of_license = "Portsmouth"
CREATE TABLE table_1949746_1 (licensee VARCHAR, city_of_license VARCHAR)
When portsmouth is the city of license who is the licensee?
SELECT format FROM table_1949746_1 WHERE frequency = "790 AM"
CREATE TABLE table_1949746_1 (format VARCHAR, frequency VARCHAR)
When 790 am is the frequency what is the format?
SELECT licensee FROM table_1949746_1 WHERE frequency = "90.7 FM"
CREATE TABLE table_1949746_1 (licensee VARCHAR, frequency VARCHAR)
When 90.7 fm is the frequency who is the licensee?
SELECT COUNT(total_drivers) FROM table_19487922_2 WHERE country = "India"
CREATE TABLE table_19487922_2 (total_drivers VARCHAR, country VARCHAR)
How many drivers does India have/
SELECT COUNT(championships) FROM table_19487922_2 WHERE country = "Pakistan"
CREATE TABLE table_19487922_2 (championships VARCHAR, country VARCHAR)
How many championships does Pakistan have?
SELECT current_march_20, _2010 FROM table_19487922_2 WHERE country = "Denmark"
CREATE TABLE table_19487922_2 (current_march_20 VARCHAR, _2010 VARCHAR, country VARCHAR)
How many current drivers, as of March 20, 2010 does Denmark have?
SELECT MIN(championships) FROM table_19487922_2
CREATE TABLE table_19487922_2 (championships INTEGER)
What in the minimum number of championships won by a nation?
SELECT country FROM table_1949994_7 WHERE end_date = "June 25"
CREATE TABLE table_1949994_7 (country VARCHAR, end_date VARCHAR)
Where was the season that ended on June 25 located?
SELECT start_date FROM table_1949994_7 WHERE end_date = "July ?"
CREATE TABLE table_1949994_7 (start_date VARCHAR, end_date VARCHAR)
When did the season that end in July ? start?
SELECT premiere_air_dates FROM table_1949994_7 WHERE format = "1 Team"
CREATE TABLE table_1949994_7 (premiere_air_dates VARCHAR, format VARCHAR)
When did the season with 1 team format premiere?
SELECT format FROM table_1949994_7 WHERE end_date = "June 25"
CREATE TABLE table_1949994_7 (format VARCHAR, end_date VARCHAR)
What's the format of the season that ended on June 25?
SELECT premiere_air_dates FROM table_1949994_7 WHERE no = 3
CREATE TABLE table_1949994_7 (premiere_air_dates VARCHAR, no VARCHAR)
What's season 3's premiere date?
SELECT premiere_air_dates FROM table_1949994_7 WHERE country = "The Netherlands"
CREATE TABLE table_1949994_7 (premiere_air_dates VARCHAR, country VARCHAR)
When did the season located in the Netherlands premier?
SELECT us_viewers__millions_ FROM table_19501664_1 WHERE directed_by = "Tony Phelan"
CREATE TABLE table_19501664_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
Name the viewers for the episode directed by tony phelan
SELECT original_air_date FROM table_19501664_1 WHERE us_viewers__millions_ = "15.74"
CREATE TABLE table_19501664_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
Name the original air date for 15.74 viewers
SELECT title FROM table_19501664_1 WHERE us_viewers__millions_ = "18.29"
CREATE TABLE table_19501664_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
Name the title for us viewers being 18.29
SELECT platforms FROM table_19495707_1 WHERE application = "CityEngine"
CREATE TABLE table_19495707_1 (platforms VARCHAR, application VARCHAR)
Name the platforms for cityengine
SELECT license FROM table_19495707_1 WHERE application = "E-on Vue"
CREATE TABLE table_19495707_1 (license VARCHAR, application VARCHAR)
Name the license for e-on vue
SELECT COUNT(developed_by) FROM table_19495707_1 WHERE application = "Solid Edge"
CREATE TABLE table_19495707_1 (developed_by VARCHAR, application VARCHAR)
Name the number of developed by for solid edge
SELECT license FROM table_19495707_1 WHERE latest_release_date_and_version = "2009-05-25 v 7.61"
CREATE TABLE table_19495707_1 (license VARCHAR, latest_release_date_and_version VARCHAR)
Name the license for 2009-05-25 v 7.61
SELECT COUNT(application) FROM table_19495707_1 WHERE mainly_used_for = "Modeling, Computer Aided Design, Animation"
CREATE TABLE table_19495707_1 (application VARCHAR, mainly_used_for VARCHAR)
Name the number of application for modeling, computer aided design, animation
SELECT application FROM table_19495707_1 WHERE developed_by = "Caligari Corporation"
CREATE TABLE table_19495707_1 (application VARCHAR, developed_by VARCHAR)
Name the application for caligari corporation
SELECT MIN(no) FROM table_1949994_8 WHERE start_date = "June 6"
CREATE TABLE table_1949994_8 (no INTEGER, start_date VARCHAR)
What series number started production on June 6?
SELECT format FROM table_1949994_8 WHERE local_title = "Fort Boyard: Ultimate Challenge"
CREATE TABLE table_1949994_8 (format VARCHAR, local_title VARCHAR)
What was the production format for the series with the local title Fort Boyard: Ultimate Challenge?
SELECT premiere_air_dates FROM table_1949994_8 WHERE start_date = "June 16"
CREATE TABLE table_1949994_8 (premiere_air_dates VARCHAR, start_date VARCHAR)
What were the television air dates for the series that had a production start date of June 16?
SELECT MAX(no) FROM table_1949994_8 WHERE local_title = "Fort Boyard"
CREATE TABLE table_1949994_8 (no INTEGER, local_title VARCHAR)
What series number had the local title of Fort Boyard?
SELECT MIN(episodes) FROM table_1949994_8
CREATE TABLE table_1949994_8 (episodes INTEGER)
What was the minimum number of episodes in any of the series?
SELECT week__number FROM table_19508635_1 WHERE theme = "The Beatles"
CREATE TABLE table_19508635_1 (week__number VARCHAR, theme VARCHAR)
Name the week number for the beatles
SELECT result FROM table_19508635_1 WHERE theme = "1980s"
CREATE TABLE table_19508635_1 (result VARCHAR, theme VARCHAR)
Name the result for 1980s
SELECT order__number FROM table_19508635_1 WHERE theme = "1960s"
CREATE TABLE table_19508635_1 (order__number VARCHAR, theme VARCHAR)
Name the order number for 1960s
SELECT result FROM table_19508635_1 WHERE original_artist = "Dolly Parton"
CREATE TABLE table_19508635_1 (result VARCHAR, original_artist VARCHAR)
Name the result for dolly parton
SELECT song_choice FROM table_19508635_1 WHERE original_artist = "Michael Jackson"
CREATE TABLE table_19508635_1 (song_choice VARCHAR, original_artist VARCHAR)
Name the song choice for michael jackson
SELECT MAX(series__number) FROM table_19517621_4
CREATE TABLE table_19517621_4 (series__number INTEGER)
What is the largest series number?
SELECT MAX(episode__number) FROM table_19517621_4 WHERE title = "Jerusalem"
CREATE TABLE table_19517621_4 (episode__number INTEGER, title VARCHAR)
What is the latest episode number with the title of Jerusalem?
SELECT original_airdate FROM table_19517621_4 WHERE written_by = "Michelle Offen"
CREATE TABLE table_19517621_4 (original_airdate VARCHAR, written_by VARCHAR)
What was the original air date of the episode written by Michelle Offen?
SELECT title FROM table_19517621_4 WHERE written_by = "Vanessa Bates"
CREATE TABLE table_19517621_4 (title VARCHAR, written_by VARCHAR)
What is the title of the episode written by Vanessa Bates?
SELECT original_airdate FROM table_19517621_4 WHERE title = "The Transit of Venus"
CREATE TABLE table_19517621_4 (original_airdate VARCHAR, title VARCHAR)
What was the original air date for the episode Calle, The Transit of Venus?
SELECT completion_percentage FROM table_19517448_3 WHERE yards_per_attempt = "Steve McNair : 2003"
CREATE TABLE table_19517448_3 (completion_percentage VARCHAR, yards_per_attempt VARCHAR)
What is the completion percentage when yards per attempt was done by Steve McNair : 2003?
SELECT rank FROM table_19517448_3 WHERE rating = "146.8"
CREATE TABLE table_19517448_3 (rank VARCHAR, rating VARCHAR)
What rank has a rating of 146.8?
SELECT yards_per_attempt FROM table_19517448_3 WHERE total_yards = "513"
CREATE TABLE table_19517448_3 (yards_per_attempt VARCHAR, total_yards VARCHAR)
How many yards per attempt were there when total yards were 513?
SELECT MAX(series__number) FROM table_19517621_3 WHERE written_by = "Kristen Dunphy and David Ogilvy"
CREATE TABLE table_19517621_3 (series__number INTEGER, written_by VARCHAR)
What is the series number for the episode written by Kristen Dunphy and David Ogilvy?
SELECT COUNT(directed_by) FROM table_19517621_3 WHERE title = "The Lost Boy"
CREATE TABLE table_19517621_3 (directed_by VARCHAR, title VARCHAR)
If the title if the Lost Boy, how many directors were there?
SELECT title FROM table_19517621_3 WHERE written_by = "Michael Miller"
CREATE TABLE table_19517621_3 (title VARCHAR, written_by VARCHAR)
What is the title for the episode that written by Michael Miller?
SELECT afc_championships FROM table_1952057_5 WHERE playoff_berths = 17
CREATE TABLE table_1952057_5 (afc_championships VARCHAR, playoff_berths VARCHAR)
If the playoff berth is 17, what is the AFC championship number?
SELECT MIN(super_bowl_championships) FROM table_1952057_5 WHERE team = "New England Patriots"
CREATE TABLE table_1952057_5 (super_bowl_championships INTEGER, team VARCHAR)
If the team in the New England Patriots, what is the super bowl championship minimum number?
SELECT MAX(afc_championships) FROM table_1952057_5
CREATE TABLE table_1952057_5 (afc_championships INTEGER)
What is the maximum number of AFC championships?
SELECT COUNT(authors) FROM table_19523708_1 WHERE original = "Carry On"
CREATE TABLE table_19523708_1 (authors VARCHAR, original VARCHAR)
How many authors are present when the original was Carry On?
SELECT draw FROM table_19523708_1 WHERE language = "English" AND english_meaning = "Eyes That Never Lie"
CREATE TABLE table_19523708_1 (draw VARCHAR, language VARCHAR, english_meaning VARCHAR)
What was the draw for the english meaning Eyes that Never Lie?
SELECT MAX(draw) FROM table_19523708_1
CREATE TABLE table_19523708_1 (draw INTEGER)
What is the highest draw represented?
SELECT artist FROM table_19523708_1 WHERE original = "Shake It, Europe"
CREATE TABLE table_19523708_1 (artist VARCHAR, original VARCHAR)
Who was the artist for the origin Shake it, Europe?
SELECT COUNT(arena__capacity_) FROM table_19526911_1 WHERE head_coach = "Yuriy Korotkevich"
CREATE TABLE table_19526911_1 (arena__capacity_ VARCHAR, head_coach VARCHAR)
What is the arena capacity of the arena in the town whose head coach is Yuriy Korotkevich?
SELECT arena__capacity_ FROM table_19526911_1 WHERE head_coach = "Roberto Serniotti"
CREATE TABLE table_19526911_1 (arena__capacity_ VARCHAR, head_coach VARCHAR)
What is the arena capacity of the arena in the town whose head coach is Roberto Serniotti?
SELECT foreign_players__max_2_ FROM table_19526911_1 WHERE town = "Moscow"
CREATE TABLE table_19526911_1 (foreign_players__max_2_ VARCHAR, town VARCHAR)
Who are the foreign players on team/s that play in Moscow?
SELECT previous_season_2007_2008 FROM table_19526911_1 WHERE website = "www.novavolley.narod.ru"
CREATE TABLE table_19526911_1 (previous_season_2007_2008 VARCHAR, website VARCHAR)
What are the previous season ranks of teams whose website is www.novavolley.narod.ru?