answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT written_by FROM table_25679312_2 WHERE prod_code = 5
CREATE TABLE table_25679312_2 (written_by VARCHAR, prod_code VARCHAR)
Who wrote the episode with production code 5?
SELECT COUNT(finish) FROM table_256862_1 WHERE entries = "15" AND winning_yacht = "L'Esprit d'Equipe"
CREATE TABLE table_256862_1 (finish VARCHAR, entries VARCHAR, winning_yacht VARCHAR)
Name the number of finishes for 15 entries 15 and l'esprit d'equipe
SELECT MAX(legs) FROM table_256862_1 WHERE winning_yacht = "Steinlager 2"
CREATE TABLE table_256862_1 (legs INTEGER, winning_yacht VARCHAR)
Name the most legs for steinlager 2
SELECT winning_yacht FROM table_256862_1 WHERE entries = "14"
CREATE TABLE table_256862_1 (winning_yacht VARCHAR, entries VARCHAR)
Name the wininng yacht for 14 entries
SELECT the_wørd FROM table_25691838_2 WHERE original_airdate = "February 11"
CREATE TABLE table_25691838_2 (the_wørd VARCHAR, original_airdate VARCHAR)
What was the word for the episode that aired February 11?
SELECT introductory_phrase FROM table_25691838_2 WHERE production_code = 6026
CREATE TABLE table_25691838_2 (introductory_phrase VARCHAR, production_code VARCHAR)
What was the introductory phrase for the episode with the production bode 6026?
SELECT the_wørd FROM table_25691838_2 WHERE episode__number = 673
CREATE TABLE table_25691838_2 (the_wørd VARCHAR, episode__number VARCHAR)
What was the word on episode number 673?
SELECT guest FROM table_25691838_2 WHERE production_code = 6021
CREATE TABLE table_25691838_2 (guest VARCHAR, production_code VARCHAR)
Who were the guests in the episode with production code 6021?
SELECT guest FROM table_25691838_12 WHERE production_code = 6152
CREATE TABLE table_25691838_12 (guest VARCHAR, production_code VARCHAR)
Who were the guests on a show where the production code is 6152?
SELECT guest FROM table_25691838_12 WHERE original_airdate = "December 07"
CREATE TABLE table_25691838_12 (guest VARCHAR, original_airdate VARCHAR)
Who were the guests for the episode with an original airdate of december 07?
SELECT the_wørd FROM table_25691838_12 WHERE guest = "Daniel Ellsberg , William Wegman , Julie Taymor"
CREATE TABLE table_25691838_12 (the_wørd VARCHAR, guest VARCHAR)
What is "the wørd" when guests were daniel ellsberg , william wegman , julie taymor?
SELECT production_code FROM table_25691838_12 WHERE original_airdate = "December 01"
CREATE TABLE table_25691838_12 (production_code VARCHAR, original_airdate VARCHAR)
What is the production code of the episode with an original airdate of december 01?
SELECT MIN(episode__number) FROM table_25691838_12 WHERE guest = "Julie Nixon Eisenhower and David Eisenhower"
CREATE TABLE table_25691838_12 (episode__number INTEGER, guest VARCHAR)
What is the episode # when the guests were julie nixon eisenhower and david eisenhower?
SELECT guest FROM table_25691838_8 WHERE original_airdate = "August 16"
CREATE TABLE table_25691838_8 (guest VARCHAR, original_airdate VARCHAR)
Who were the guests on the episode that first aired August 16?
SELECT introductory_phrase FROM table_25691838_8 WHERE production_code = 6101
CREATE TABLE table_25691838_8 (introductory_phrase VARCHAR, production_code VARCHAR)
What was the introductory phrase on the episode production code 6101?
SELECT MIN(production_code) FROM table_25691838_8 WHERE original_airdate = "August 11"
CREATE TABLE table_25691838_8 (production_code INTEGER, original_airdate VARCHAR)
What was the smallest production code for August 11's original episode?
SELECT COUNT(introductory_phrase) FROM table_25691838_8 WHERE guest = "David Finkel"
CREATE TABLE table_25691838_8 (introductory_phrase VARCHAR, guest VARCHAR)
How many introductory phrases were there on David Finkel's guest episode?
SELECT MIN(episode__number) FROM table_25691838_8 WHERE original_airdate = "August 11"
CREATE TABLE table_25691838_8 (episode__number INTEGER, original_airdate VARCHAR)
What was the minimum number of the episode that first aired August 11?
SELECT introductory_phrase FROM table_25691838_11 WHERE episode__number = 794
CREATE TABLE table_25691838_11 (introductory_phrase VARCHAR, episode__number VARCHAR)
What was the introductory phrase for episode 794?
SELECT original_airdate FROM table_25691838_11 WHERE guest = "Salvatore Giunta"
CREATE TABLE table_25691838_11 (original_airdate VARCHAR, guest VARCHAR)
What date did the episode originally air on with salvatore giunta as a guest?
SELECT COUNT(production_code) FROM table_25691838_11 WHERE original_airdate = "November 15"
CREATE TABLE table_25691838_11 (production_code VARCHAR, original_airdate VARCHAR)
How many production codes were there for the episode that aired on November 15?
SELECT cylinder_size FROM table_25695027_1 WHERE number_built = "88"
CREATE TABLE table_25695027_1 (cylinder_size VARCHAR, number_built VARCHAR)
What was the cylinder size of this engine that was made with only 88 pieces?
SELECT class FROM table_25695027_1 WHERE years_built = "1906-08"
CREATE TABLE table_25695027_1 (class VARCHAR, years_built VARCHAR)
What was the engine class that was built on 1906-08?
SELECT number_built FROM table_25695027_1 WHERE cylinder_size = "20 ½” x 26”" AND firebox = "Belpaire" AND valve_gear = "Stephenson"
CREATE TABLE table_25695027_1 (number_built VARCHAR, valve_gear VARCHAR, cylinder_size VARCHAR, firebox VARCHAR)
How many engines were built with a cylinder size of 20 ½” x 26”, firebox is belpaire and valve gear is from Stephenson?
SELECT years_built FROM table_25695027_1 WHERE cylinder_size = "20 ½” x 26”" AND firebox = "Radial-stay"
CREATE TABLE table_25695027_1 (years_built VARCHAR, cylinder_size VARCHAR, firebox VARCHAR)
This engine with a cylinder size of 20 ½” x 26” and a firebox of radial-stay was built when?
SELECT COUNT(valves) FROM table_25695027_1 WHERE years_built = "1902-05"
CREATE TABLE table_25695027_1 (valves VARCHAR, years_built VARCHAR)
How many types of valves were used on this engine that was built on 1902-05?
SELECT agency FROM table_25692955_1 WHERE south_west_terminal = "Santa Rosa Avenue"
CREATE TABLE table_25692955_1 (agency VARCHAR, south_west_terminal VARCHAR)
Name the agency for santa rosa avenue
SELECT route_number FROM table_25692955_1 WHERE south_west_terminal = "Rincon Valley"
CREATE TABLE table_25692955_1 (route_number VARCHAR, south_west_terminal VARCHAR)
Name the route number for rincon valley
SELECT route_number FROM table_25692955_1 WHERE north_east_terminal = "Santa Rosa Avenue"
CREATE TABLE table_25692955_1 (route_number VARCHAR, north_east_terminal VARCHAR)
Name the route number for santa rosa avenue
SELECT original_air_date__uk_ FROM table_2570269_3 WHERE episode_title = "Another Happy Day"
CREATE TABLE table_2570269_3 (original_air_date__uk_ VARCHAR, episode_title VARCHAR)
What is the original air date of the episode "Another Happy Day"?
SELECT episode_title FROM table_2570269_3 WHERE original_air_date__uk_ = "13 August 1981"
CREATE TABLE table_2570269_3 (episode_title VARCHAR, original_air_date__uk_ VARCHAR)
What is the title of the episode that aired on 13 august 1981?
SELECT original_air_date__uk_ FROM table_2570269_3 WHERE episode__number = "3-02"
CREATE TABLE table_2570269_3 (original_air_date__uk_ VARCHAR, episode__number VARCHAR)
What is the original air date of episode 3-02?
SELECT cast FROM table_2570269_3 WHERE episode__number = "3-04"
CREATE TABLE table_2570269_3 (cast VARCHAR, episode__number VARCHAR)
Who are the cast members of episode 3-04?
SELECT MAX(birth_2013) FROM table_25703_1 WHERE death_2012 = "14,1"
CREATE TABLE table_25703_1 (birth_2013 INTEGER, death_2012 VARCHAR)
What is the highest birth/2013 when the death/2012 is 14,1?
SELECT MAX(death_2013) FROM table_25703_1 WHERE death_2012 = "12,7"
CREATE TABLE table_25703_1 (death_2013 INTEGER, death_2012 VARCHAR)
What is the highest death/2013 when the death/2012 is 12,7?
SELECT death_2012 FROM table_25703_1 WHERE death_2013 = 140 AND january_september_2013 = "Moscow Oblast"
CREATE TABLE table_25703_1 (death_2012 VARCHAR, death_2013 VARCHAR, january_september_2013 VARCHAR)
What are the death/2012 number when death/2013 is 140 and January–September 2013 is Moscow Oblast?
SELECT COUNT(birth_2013) FROM table_25703_1 WHERE january_september_2013 = "Oryol Oblast"
CREATE TABLE table_25703_1 (birth_2013 VARCHAR, january_september_2013 VARCHAR)
How many figures for birth/2013 when January-September is Oryol Oblast?
SELECT touchdowns FROM table_25711913_2 WHERE points = 25
CREATE TABLE table_25711913_2 (touchdowns VARCHAR, points VARCHAR)
How many touchdowns did the player took which gained 25 points?
SELECT MAX(points) FROM table_25711913_2 WHERE player = "Curtis"
CREATE TABLE table_25711913_2 (points INTEGER, player VARCHAR)
How many maximum points did Curtis scored?
SELECT MAX(touchdowns) FROM table_25711913_2 WHERE position = "Left guard"
CREATE TABLE table_25711913_2 (touchdowns INTEGER, position VARCHAR)
How many touchdowns did the left guard took?
SELECT COUNT(field_goals) FROM table_25711913_2 WHERE position = "Left end"
CREATE TABLE table_25711913_2 (field_goals VARCHAR, position VARCHAR)
How many numbers were recorded on the fields goals of the Left End player?
SELECT MIN(touchdowns) FROM table_25711913_2 WHERE position = "Fullback"
CREATE TABLE table_25711913_2 (touchdowns INTEGER, position VARCHAR)
What was the minimum touchdowns of the Fullback player?
SELECT MIN(touchdowns) FROM table_25711913_8 WHERE position = "Fullback"
CREATE TABLE table_25711913_8 (touchdowns INTEGER, position VARCHAR)
How many touchdowns did the fullback score?
SELECT COUNT(field_goals) FROM table_25711913_8 WHERE player = "Weeks"
CREATE TABLE table_25711913_8 (field_goals VARCHAR, player VARCHAR)
How many figures are provided for Weeks' field goals?
SELECT MAX(points) FROM table_25711913_8 WHERE position = "Right halfback"
CREATE TABLE table_25711913_8 (points INTEGER, position VARCHAR)
What is the most points recorded for a right halfback?
SELECT starter FROM table_25711913_8 WHERE player = "Magoffin"
CREATE TABLE table_25711913_8 (starter VARCHAR, player VARCHAR)
Was Magoffin a starting player?
SELECT player FROM table_25711913_8 WHERE position = "Left tackle"
CREATE TABLE table_25711913_8 (player VARCHAR, position VARCHAR)
Which player was at position left tackle?
SELECT original_air_date FROM table_25716399_1 WHERE written_by = "Daniel Dratch"
CREATE TABLE table_25716399_1 (original_air_date VARCHAR, written_by VARCHAR)
What is the original air date for the episode written by daniel dratch?
SELECT MAX(no_in_season) FROM table_25716399_1 WHERE directed_by = "Wendey Stanzler"
CREATE TABLE table_25716399_1 (no_in_season INTEGER, directed_by VARCHAR)
What season was an episode directed by wendey stanzler?
SELECT original_air_date FROM table_25716399_1 WHERE us_viewers__millions_ = "5.60"
CREATE TABLE table_25716399_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
What was the original air date where there were u.s. viewers (millions) is 5.60?
SELECT written_by FROM table_25716399_1 WHERE no_in_season = 14
CREATE TABLE table_25716399_1 (written_by VARCHAR, no_in_season VARCHAR)
Who was the writer for season 14?
SELECT written_by FROM table_25716399_1 WHERE original_air_date = "July20,2007"
CREATE TABLE table_25716399_1 (written_by VARCHAR, original_air_date VARCHAR)
Who wrote the episode where the original air date is july20,2007?
SELECT MAX(no_in_season) FROM table_25716399_1 WHERE written_by = "Jonathan Collier"
CREATE TABLE table_25716399_1 (no_in_season INTEGER, written_by VARCHAR)
what season was written by jonathan collier?
SELECT COUNT(no_in_season) FROM table_25716397_1 WHERE written_by = "Tom Scharpling and Daniel Dratch"
CREATE TABLE table_25716397_1 (no_in_season VARCHAR, written_by VARCHAR)
How many episodes were written by Tom Scharpling and Daniel Dratch?
SELECT COUNT(directed_by) FROM table_25716397_1 WHERE written_by = "Joe Toplyn"
CREATE TABLE table_25716397_1 (directed_by VARCHAR, written_by VARCHAR)
How many people directed the episode that Joe Toplyn wrote?
SELECT COUNT(title) FROM table_25716397_1 WHERE written_by = "Joe Toplyn"
CREATE TABLE table_25716397_1 (title VARCHAR, written_by VARCHAR)
How many titles does the episode written by Joe Toplyn have?
SELECT COUNT(directed_by) FROM table_25716397_1 WHERE series_no = 55
CREATE TABLE table_25716397_1 (directed_by VARCHAR, series_no VARCHAR)
How many directors of episode 55?
SELECT COUNT(title) FROM table_25716401_1 WHERE written_by = "Tom Scharpling"
CREATE TABLE table_25716401_1 (title VARCHAR, written_by VARCHAR)
How many titles are there for the episode written by Tom Scharpling?
SELECT MIN(episode_no) FROM table_25721_3 WHERE airdate = "18 October 2012"
CREATE TABLE table_25721_3 (episode_no INTEGER, airdate VARCHAR)
Which episode number aired on 18 october 2012?
SELECT MIN(rank__cable_) FROM table_25721_3 WHERE total_viewers = 1464000
CREATE TABLE table_25721_3 (rank__cable_ INTEGER, total_viewers VARCHAR)
What is the lowest cable rank of an episode with 1464000 viewers?
SELECT MAX(dave_viewers) FROM table_25721_3 WHERE dave_ja_vu_viewers = 119000
CREATE TABLE table_25721_3 (dave_viewers INTEGER, dave_ja_vu_viewers VARCHAR)
What is the highest number of dave viewers of an episode with 119000 dave ja vu viewers?
SELECT COUNT(total_viewers) FROM table_25721_3 WHERE airdate = "25 October 2012"
CREATE TABLE table_25721_3 (total_viewers VARCHAR, airdate VARCHAR)
How many episodes aired on 25 october 2012?
SELECT airdate FROM table_25721_3 WHERE dave_ja_vu_viewers = 106000
CREATE TABLE table_25721_3 (airdate VARCHAR, dave_ja_vu_viewers VARCHAR)
What was the airdate of the episode with 106000 dave ja vu viewers?
SELECT _number_of_discs FROM table_25721_4 WHERE release = "The Complete Collection Series 1-8 with extras"
CREATE TABLE table_25721_4 (_number_of_discs VARCHAR, release VARCHAR)
How many DVDs where were in the complete collection series 1-8 with extras?
SELECT release FROM table_25721_4 WHERE _number_of_discs = 6
CREATE TABLE table_25721_4 (release VARCHAR, _number_of_discs VARCHAR)
Which release had 6 DVDs?
SELECT COUNT(region_1) FROM table_25721_4 WHERE release = "Back to Earth"
CREATE TABLE table_25721_4 (region_1 VARCHAR, release VARCHAR)
How many region 1's did back to earth have?
SELECT MAX(field_goals) FROM table_25724294_2 WHERE player = "Walter Rheinschild"
CREATE TABLE table_25724294_2 (field_goals INTEGER, player VARCHAR)
How many field goals did Walter Rheinschild have?
SELECT extra_points FROM table_25724294_2 WHERE player = "Jack Loell"
CREATE TABLE table_25724294_2 (extra_points VARCHAR, player VARCHAR)
Jack Loell had how many extra points?
SELECT COUNT(points) FROM table_25730209_2 WHERE player = "Donald Green"
CREATE TABLE table_25730209_2 (points VARCHAR, player VARCHAR)
How many points did Donald Green score?
SELECT COUNT(field_goals) FROM table_25730209_2 WHERE player = "Donald Green"
CREATE TABLE table_25730209_2 (field_goals VARCHAR, player VARCHAR)
How many field goals did Donald Green score?
SELECT MIN(extra_points) FROM table_25730209_2
CREATE TABLE table_25730209_2 (extra_points INTEGER)
What was the least amount of points scored?
SELECT COUNT(extra_points) FROM table_25730209_2 WHERE player = "Stanfield Wells"
CREATE TABLE table_25730209_2 (extra_points VARCHAR, player VARCHAR)
How many extra points did Stanfield Wells make?
SELECT MAX(points) FROM table_25730123_2
CREATE TABLE table_25730123_2 (points INTEGER)
What are the most points listed?
SELECT touchdowns FROM table_25730123_2 WHERE extra_points > 1.0
CREATE TABLE table_25730123_2 (touchdowns VARCHAR, extra_points INTEGER)
How many touchdowns were the when there was more than 1.0 extra point?
SELECT player FROM table_25730123_2 WHERE extra_points < 1.0 AND points = 20
CREATE TABLE table_25730123_2 (player VARCHAR, extra_points VARCHAR, points VARCHAR)
Name the player/s when there were 20 points with less than 1.0 extra point .
SELECT MIN(field_goals) FROM table_25730123_2 WHERE player = "Frederick L. Conklin"
CREATE TABLE table_25730123_2 (field_goals INTEGER, player VARCHAR)
What were the least amount of field goals when Frederick L. Conklin played?
SELECT MIN(extra_points) FROM table_25730326_2
CREATE TABLE table_25730326_2 (extra_points INTEGER)
What is the least number of extra points?
SELECT points FROM table_25730326_2 WHERE player = "William Wasmund"
CREATE TABLE table_25730326_2 (points VARCHAR, player VARCHAR)
How many points did William Wasmund have?
SELECT MIN(touchdowns) FROM table_25730326_2 WHERE points = 10
CREATE TABLE table_25730326_2 (touchdowns INTEGER, points VARCHAR)
How many touchdowns did the player with 10 points have?
SELECT MAX(points) FROM table_25730326_2 WHERE player = "George M. Lawton"
CREATE TABLE table_25730326_2 (points INTEGER, player VARCHAR)
How many points does George M. Lawton have?
SELECT player FROM table_25730460_2 WHERE touchdowns = 1
CREATE TABLE table_25730460_2 (player VARCHAR, touchdowns VARCHAR)
Name the player for 1 touchdowns
SELECT MIN(extra_points) FROM table_25730460_2
CREATE TABLE table_25730460_2 (extra_points INTEGER)
Name the least extra points
SELECT director FROM table_25737761_3 WHERE no = 2
CREATE TABLE table_25737761_3 (director VARCHAR, no VARCHAR)
Who directed episode number 2?
SELECT no FROM table_25737761_3 WHERE viewing_figure = 797000
CREATE TABLE table_25737761_3 (no VARCHAR, viewing_figure VARCHAR)
What was the episode number that had 797000 viewers?
SELECT writer FROM table_25737761_3 WHERE director = "Colin Teague"
CREATE TABLE table_25737761_3 (writer VARCHAR, director VARCHAR)
Who directed the episode directed by colin teague?
SELECT COUNT(written_by) FROM table_25740548_2 WHERE production_code = "CA106"
CREATE TABLE table_25740548_2 (written_by VARCHAR, production_code VARCHAR)
How many episodes with the production code CA106 are there?
SELECT directed_by FROM table_25740548_2 WHERE written_by = "Matthew Lau"
CREATE TABLE table_25740548_2 (directed_by VARCHAR, written_by VARCHAR)
Who was the director for episodes that were written be Matthew Lau?
SELECT COUNT(title) FROM table_25740548_2 WHERE written_by = "Brett Conrad"
CREATE TABLE table_25740548_2 (title VARCHAR, written_by VARCHAR)
How many episode were written by Brett Conrad?
SELECT COUNT(original_air_date) FROM table_25740548_2 WHERE directed_by = "Tim Matheson"
CREATE TABLE table_25740548_2 (original_air_date VARCHAR, directed_by VARCHAR)
How many episodes were directed by Tim Matheson?
SELECT COUNT(original_air_date) FROM table_25740548_2 WHERE directed_by = "Rod Hardy"
CREATE TABLE table_25740548_2 (original_air_date VARCHAR, directed_by VARCHAR)
How many episodes were directed by Rod Hardy?
SELECT written_by FROM table_25740548_3 WHERE us_viewers__million_ = "3.92"
CREATE TABLE table_25740548_3 (written_by VARCHAR, us_viewers__million_ VARCHAR)
Who wrote the episode with 3.92 million US viewers?
SELECT COUNT(original_air_date) FROM table_25740548_3 WHERE production_code = "CA210"
CREATE TABLE table_25740548_3 (original_air_date VARCHAR, production_code VARCHAR)
How many original air dates are there for the episode with code CA210?
SELECT COUNT(episode_number) FROM table_25751274_2 WHERE rating / SHARE(18 - 49) = 0.7 / 2 AND rating = "2.1"
CREATE TABLE table_25751274_2 (episode_number VARCHAR, rating VARCHAR)
How many episodes had rating/share (18-49) of 0.7/2 and a rating of 2.1?
SELECT MIN(episode_number) FROM table_25751274_2 WHERE rating / SHARE(18 - 49) = 1.1 / 3
CREATE TABLE table_25751274_2 (episode_number INTEGER, rating VARCHAR)
What is the lowest episode number that had a ratings/share (18-49) of 1.1/3?
SELECT rating FROM table_25751274_2 WHERE share = 4 AND rating / SHARE(18 - 49) = 0.7 / 2
CREATE TABLE table_25751274_2 (rating VARCHAR, share VARCHAR)
What is the rating of the episode with a share of 4 and a rating/share (18-49) of 0.7/2?
SELECT MIN(rank__night_) FROM table_25751274_2 WHERE rating / SHARE(18 - 49) = 1.3 / 4
CREATE TABLE table_25751274_2 (rank__night_ INTEGER, rating VARCHAR)
What is the lowest rank of an episode with a rating/share (18-49) of 1.3/4?
SELECT single FROM table_25760427_2 WHERE artist = "Travis"
CREATE TABLE table_25760427_2 (single VARCHAR, artist VARCHAR)
What is the song released by Travis?
SELECT MIN(weeks_at_number_1) FROM table_25760427_2
CREATE TABLE table_25760427_2 (weeks_at_number_1 INTEGER)
error (see notes)
SELECT single FROM table_25760427_2 WHERE artist = "Panjabi MC"
CREATE TABLE table_25760427_2 (single VARCHAR, artist VARCHAR)
What is the song by the musician panjabi mc?
SELECT location FROM table_25773116_2 WHERE round = 1
CREATE TABLE table_25773116_2 (location VARCHAR, round VARCHAR)
Where was the round 1 race?