combined_text
stringlengths
106
1.05k
###question:What is the name of the team from the Elverado Trico school in football? ###answer:SELECT team_name FROM table_18304058_2 WHERE sports = "Football" AND schools = "Elverado Trico"###context:CREATE TABLE table_18304058_2 (team_name VARCHAR, sports VARCHAR, schools VARCHAR)
###question:How many years of kindergarten is provided in Ticino?###answer:SELECT years_of_kindergarten AS provided FROM table_1831309_1 WHERE canton = "Ticino"###context:CREATE TABLE table_1831309_1 (years_of_kindergarten VARCHAR, canton VARCHAR)
###question:What is the longest length of mandatory secondary school?###answer:SELECT MAX(length_of_mandatory_secondary_school) FROM table_1831309_1###context:CREATE TABLE table_1831309_1 (length_of_mandatory_secondary_school INTEGER)
###question:Who wrote the story that is cover date 19 October 1985?###answer:SELECT writer_s FROM table_18305523_2 WHERE cover_date = "19 October 1985"###context:CREATE TABLE table_18305523_2 (writer_s VARCHAR, cover_date VARCHAR)
###question:How many cover dates does the story "Devastation Derby! (part 1)" have?###answer:SELECT COUNT(cover_date) FROM table_18305523_2 WHERE story_title = "DEVASTATION DERBY! (Part 1)"###context:CREATE TABLE table_18305523_2 (cover_date VARCHAR, story_title VARCHAR)
###question:What is the comment on the issue dated 14 March 1987?###answer:SELECT comments FROM table_18305523_2 WHERE cover_date = "14 March 1987"###context:CREATE TABLE table_18305523_2 (comments VARCHAR, cover_date VARCHAR)
###question:What is the title of the issue where the art was done by Barry Kitson and Farmer?###answer:SELECT story_title FROM table_18305523_2 WHERE artist_s = "Barry Kitson and Farmer"###context:CREATE TABLE table_18305523_2 (story_title VARCHAR, artist_s VARCHAR)
###question:What is the minimum number which is for title The Enemy Within part 1?###answer:SELECT MIN(_number) FROM table_18305523_1###context:CREATE TABLE table_18305523_1 (_number INTEGER)
###question:what is the number of hydroxymatairesinol where sesamin is 62724?###answer:SELECT hydroxymatairesinol FROM table_1831262_2 WHERE sesamin = "62724"###context:CREATE TABLE table_1831262_2 (hydroxymatairesinol VARCHAR, sesamin VARCHAR)
###question:what is the total number of sesamin were secoisolariciresinol is 240?###answer:SELECT sesamin FROM table_1831262_2 WHERE secoisolariciresinol = 240###context:CREATE TABLE table_1831262_2 (sesamin VARCHAR, secoisolariciresinol VARCHAR)
###question:what is the maximum number of pinorinol in wheat bran?###answer:SELECT MAX(pinoresinol) FROM table_1831262_2 WHERE foodstuff = "Wheat bran"###context:CREATE TABLE table_1831262_2 (pinoresinol INTEGER, foodstuff VARCHAR)
###question:how much sesamin is in sesame seed?###answer:SELECT sesamin FROM table_1831262_2 WHERE foodstuff = "Sesame seed"###context:CREATE TABLE table_1831262_2 (sesamin VARCHAR, foodstuff VARCHAR)
###question:what is the minimum number is lariciresinol where matairesinol number is 440?###answer:SELECT MIN(lariciresinol) FROM table_1831262_2 WHERE matairesinol = 440###context:CREATE TABLE table_1831262_2 (lariciresinol INTEGER, matairesinol VARCHAR)
###question:What was the calling for the 18.42 arrival time?###answer:SELECT calling_at FROM table_18332845_2 WHERE arrival = "18.42"###context:CREATE TABLE table_18332845_2 (calling_at VARCHAR, arrival VARCHAR)
###question:What was the arrival for Wansford, Peterborough East?###answer:SELECT arrival FROM table_18332845_2 WHERE calling_at = "Wansford, Peterborough East"###context:CREATE TABLE table_18332845_2 (arrival VARCHAR, calling_at VARCHAR)
###question:What was the departure time when the arrival was 14.40?###answer:SELECT departure FROM table_18332845_2 WHERE arrival = "14.40"###context:CREATE TABLE table_18332845_2 (departure VARCHAR, arrival VARCHAR)
###question:What is the departure for Peterborough East whose arrival time is 12.40?###answer:SELECT departure FROM table_18332845_2 WHERE going_to = "Peterborough East" AND arrival = "12.40"###context:CREATE TABLE table_18332845_2 (departure VARCHAR, going_to VARCHAR, arrival VARCHAR)
###question:What is the calling at for the 09.50 departure?###answer:SELECT calling_at FROM table_18332845_2 WHERE departure = "09.50"###context:CREATE TABLE table_18332845_2 (calling_at VARCHAR, departure VARCHAR)
###question:Where is the train going to when departing at 20.35?###answer:SELECT going_to FROM table_18332845_2 WHERE departure = "20.35"###context:CREATE TABLE table_18332845_2 (going_to VARCHAR, departure VARCHAR)
###question:Name the 3 dart average for michael van gerwen###answer:SELECT 3 AS _dart_average FROM table_18317531_1 WHERE player = "Michael van Gerwen"###context:CREATE TABLE table_18317531_1 (player VARCHAR)
###question:how many callings of trains arriving at 09.06###answer:SELECT COUNT(calling_at) FROM table_18333678_2 WHERE arrival = "09.06"###context:CREATE TABLE table_18333678_2 (calling_at VARCHAR, arrival VARCHAR)
###question:what is the operator of trains arriving at 13.39 ###answer:SELECT operator FROM table_18333678_2 WHERE arrival = "13.39"###context:CREATE TABLE table_18333678_2 (operator VARCHAR, arrival VARCHAR)
###question:when does the train departuring at 11.35 arrive###answer:SELECT arrival FROM table_18333678_2 WHERE departure = "11.35"###context:CREATE TABLE table_18333678_2 (arrival VARCHAR, departure VARCHAR)
###question:when does the train arriving at bourne at 11.45 departure ###answer:SELECT departure FROM table_18333678_2 WHERE going_to = "Bourne" AND arrival = "11.45"###context:CREATE TABLE table_18333678_2 (departure VARCHAR, going_to VARCHAR, arrival VARCHAR)
###question:when does the train arriving at stamford east at 11.45 departure ###answer:SELECT departure FROM table_18333678_2 WHERE arrival = "11.45" AND going_to = "Stamford East"###context:CREATE TABLE table_18333678_2 (departure VARCHAR, arrival VARCHAR, going_to VARCHAR)
###question:How many clubs are remaining when the winners from the previous round totals 4?###answer:SELECT clubs_remaining FROM table_18328569_1 WHERE winners_from_previous_round = "4"###context:CREATE TABLE table_18328569_1 (clubs_remaining VARCHAR, winners_from_previous_round VARCHAR)
###question:What is the round where winners from the previous round totals 8?###answer:SELECT round FROM table_18328569_1 WHERE winners_from_previous_round = "8"###context:CREATE TABLE table_18328569_1 (round VARCHAR, winners_from_previous_round VARCHAR)
###question:How many clubs remain in the fourth round?###answer:SELECT MIN(clubs_remaining) FROM table_18328569_1 WHERE round = "Fourth round"###context:CREATE TABLE table_18328569_1 (clubs_remaining INTEGER, round VARCHAR)
###question:How many new entries started in the round where winners from the previous round is 32?###answer:SELECT new_entries_this_round FROM table_18328569_1 WHERE winners_from_previous_round = "32"###context:CREATE TABLE table_18328569_1 (new_entries_this_round VARCHAR, winners_from_previous_round VARCHAR)
###question:How many new entries started in the quarter finals?###answer:SELECT new_entries_this_round FROM table_18328569_1 WHERE round = "Quarter finals"###context:CREATE TABLE table_18328569_1 (new_entries_this_round VARCHAR, round VARCHAR)
###question:How many new entries started in the round where winners from the previous round is 16?###answer:SELECT new_entries_this_round FROM table_18328569_1 WHERE winners_from_previous_round = "16"###context:CREATE TABLE table_18328569_1 (new_entries_this_round VARCHAR, winners_from_previous_round VARCHAR)
###question:Who was the train operator when the train departed at 11.02 in 1922?###answer:SELECT operator FROM table_18365784_3 WHERE departure = "11.02"###context:CREATE TABLE table_18365784_3 (operator VARCHAR, departure VARCHAR)
###question:What was the train destination when it has a calling at Boston, Sleaford, Nottingham Victoria?###answer:SELECT going_to FROM table_18365784_3 WHERE calling_at = "Boston, Sleaford, Nottingham Victoria"###context:CREATE TABLE table_18365784_3 (going_to VARCHAR, calling_at VARCHAR)
###question:What was the departure time of the train going to Boston?###answer:SELECT departure FROM table_18365784_3 WHERE going_to = "Boston"###context:CREATE TABLE table_18365784_3 (departure VARCHAR, going_to VARCHAR)
###question:What was the arrival time of the train that departed at 18.16?###answer:SELECT arrival FROM table_18365784_3 WHERE departure = "18.16"###context:CREATE TABLE table_18365784_3 (arrival VARCHAR, departure VARCHAR)
###question:What was the departure time of the train that arrived at 21.26?###answer:SELECT departure FROM table_18365784_3 WHERE arrival = "21.26"###context:CREATE TABLE table_18365784_3 (departure VARCHAR, arrival VARCHAR)
###question:What was the 'calling at' station of the train that departed on 18.16?###answer:SELECT calling_at FROM table_18365784_3 WHERE departure = "18.16"###context:CREATE TABLE table_18365784_3 (calling_at VARCHAR, departure VARCHAR)
###question:Name the original air date for barnaby southcomb for charlie martin###answer:SELECT original_air_date FROM table_18335117_5 WHERE director = "Barnaby Southcomb" AND writer = "Charlie Martin"###context:CREATE TABLE table_18335117_5 (original_air_date VARCHAR, director VARCHAR, writer VARCHAR)
###question:Name the number in series for number 38###answer:SELECT MIN(no_in_series) FROM table_18335117_5 WHERE no_overall = 38###context:CREATE TABLE table_18335117_5 (no_in_series INTEGER, no_overall VARCHAR)
###question:What is the original air date of the episode with the production code 1115? ###answer:SELECT original_air_date FROM table_18367694_2 WHERE production_code = 1115###context:CREATE TABLE table_18367694_2 (original_air_date VARCHAR, production_code VARCHAR)
###question:who directed the episode with the original air date of November 22, 1989? ###answer:SELECT directed_by FROM table_18367694_2 WHERE original_air_date = "November 22, 1989"###context:CREATE TABLE table_18367694_2 (directed_by VARCHAR, original_air_date VARCHAR)
###question:when deland is the fcsl team and 2008 is the year played who is the mlb team?###answer:SELECT mlb_team FROM table_18373863_2 WHERE years_played = "2008" AND fcsl_team = "DeLand"###context:CREATE TABLE table_18373863_2 (mlb_team VARCHAR, years_played VARCHAR, fcsl_team VARCHAR)
###question:When toronto blue jays are the mlb team who are the fscl team?###answer:SELECT fcsl_team FROM table_18373863_2 WHERE mlb_team = "Toronto Blue Jays"###context:CREATE TABLE table_18373863_2 (fcsl_team VARCHAR, mlb_team VARCHAR)
###question:When 2005 is the year played what is the lowest year drafted?###answer:SELECT MIN(year_drafted) FROM table_18373863_2 WHERE years_played = "2005"###context:CREATE TABLE table_18373863_2 (year_drafted INTEGER, years_played VARCHAR)
###question:When winter pines is the fcsl team how many mlb teams are there?###answer:SELECT COUNT(mlb_team) FROM table_18373863_2 WHERE fcsl_team = "Winter Pines"###context:CREATE TABLE table_18373863_2 (mlb_team VARCHAR, fcsl_team VARCHAR)
###question:When 2006 is the year played and winter park is the fcsl team who is the player?###answer:SELECT player FROM table_18373863_2 WHERE fcsl_team = "Winter Park" AND years_played = "2006"###context:CREATE TABLE table_18373863_2 (player VARCHAR, fcsl_team VARCHAR, years_played VARCHAR)
###question:Which operators offer a genre of music?###answer:SELECT operator FROM table_1837570_1 WHERE genre = "music"###context:CREATE TABLE table_1837570_1 (operator VARCHAR, genre VARCHAR)
###question:Which languages are offered in the coverage area of klang petaling jaya shah alam?###answer:SELECT language FROM table_1837570_1 WHERE coverage_area = "Klang Petaling Jaya Shah Alam"###context:CREATE TABLE table_1837570_1 (language VARCHAR, coverage_area VARCHAR)
###question:Name the macedonian for il/elle avait entendu###answer:SELECT macedonian FROM table_1841901_1 WHERE french = "il/elle avait entendu"###context:CREATE TABLE table_1841901_1 (macedonian VARCHAR, french VARCHAR)
###question:Name the greek modern for słyszałeś był / słyszałaś była###answer:SELECT greek__modern_ FROM table_1841901_1 WHERE polish__extinct_ = "słyszałeś był / słyszałaś była"###context:CREATE TABLE table_1841901_1 (greek__modern_ VARCHAR, polish__extinct_ VARCHAR)
###question:Name the bulgarian for jullie hadden gehoord###answer:SELECT bulgarian FROM table_1841901_1 WHERE dutch = "jullie hadden gehoord"###context:CREATE TABLE table_1841901_1 (bulgarian VARCHAR, dutch VARCHAR)
###question:Name the english for j'avais entendu###answer:SELECT english FROM table_1841901_1 WHERE french = "j'avais entendu"###context:CREATE TABLE table_1841901_1 (english VARCHAR, french VARCHAR)
###question:What was the air date in the U.S. for the episode that had 1.452 million Canadian viewers?###answer:SELECT us_air_date FROM table_18424435_4 WHERE canadian_viewers__million_ = "1.452"###context:CREATE TABLE table_18424435_4 (us_air_date VARCHAR, canadian_viewers__million_ VARCHAR)
###question:What number episode in the series was directed by Kelly Makin and written by Mark Ellis & Stephanie Morgenstern?###answer:SELECT no FROM table_18424435_4 WHERE directed_by = "Kelly Makin" AND written_by = "Mark Ellis & Stephanie Morgenstern"###context:CREATE TABLE table_18424435_4 (no VARCHAR, directed_by V...
###question:What is the maximum number of episodes in the series listed?###answer:SELECT MAX(no) FROM table_18424435_4###context:CREATE TABLE table_18424435_4 (no INTEGER)
###question:What is the total number of episodes listed with a production code of 306?###answer:SELECT COUNT(_number) FROM table_18424435_4 WHERE production_code = 306###context:CREATE TABLE table_18424435_4 (_number VARCHAR, production_code VARCHAR)
###question:Who directed the episode with a production code of 301?###answer:SELECT directed_by FROM table_18424435_4 WHERE production_code = 301###context:CREATE TABLE table_18424435_4 (directed_by VARCHAR, production_code VARCHAR)
###question:Who wrote the episodes watched by 1.816 million people in Canada?###answer:SELECT written_by FROM table_18424435_3 WHERE canadian_viewers__million_ = "1.816"###context:CREATE TABLE table_18424435_3 (written_by VARCHAR, canadian_viewers__million_ VARCHAR)
###question:Who wrote the episodes watched by 1.575 million people in Canada?###answer:SELECT written_by FROM table_18424435_3 WHERE canadian_viewers__million_ = "1.575"###context:CREATE TABLE table_18424435_3 (written_by VARCHAR, canadian_viewers__million_ VARCHAR)
###question:Who directed the episode aired on February 27, 2009?###answer:SELECT directed_by FROM table_18424435_3 WHERE us_air_date = "February 27, 2009"###context:CREATE TABLE table_18424435_3 (directed_by VARCHAR, us_air_date VARCHAR)
###question:Which episodes had production code 217?###answer:SELECT title FROM table_18424435_3 WHERE production_code = 217###context:CREATE TABLE table_18424435_3 (title VARCHAR, production_code VARCHAR)
###question:For upper Arlington, what was the median household income?###answer:SELECT median_house__hold_income FROM table_1840495_2 WHERE place = "Upper Arlington"###context:CREATE TABLE table_1840495_2 (median_house__hold_income VARCHAR, place VARCHAR)
###question:With a per capita income of $30,298, what was the total number of households?###answer:SELECT COUNT(number_of_households) FROM table_1840495_2 WHERE per_capita_income = "$30,298"###context:CREATE TABLE table_1840495_2 (number_of_households VARCHAR, per_capita_income VARCHAR)
###question:If the population is 2188, what was the median household income?###answer:SELECT median_house__hold_income FROM table_1840495_2 WHERE population = 2188###context:CREATE TABLE table_1840495_2 (median_house__hold_income VARCHAR, population VARCHAR)
###question:For Pigeon Creek what is the per capita income?###answer:SELECT per_capita_income FROM table_1840495_2 WHERE place = "Pigeon Creek"###context:CREATE TABLE table_1840495_2 (per_capita_income VARCHAR, place VARCHAR)
###question:If the median income is $57,407, what is the per capita income?###answer:SELECT per_capita_income FROM table_1840495_2 WHERE median_house__hold_income = "$57,407"###context:CREATE TABLE table_1840495_2 (per_capita_income VARCHAR, median_house__hold_income VARCHAR)
###question:Who directed the episode that aired on July 29, 2011?###answer:SELECT directed_by FROM table_18424435_5 WHERE us_air_date = "July 29, 2011"###context:CREATE TABLE table_18424435_5 (directed_by VARCHAR, us_air_date VARCHAR)
###question:How many air dates where directed by jim donovan?###answer:SELECT COUNT(us_air_date) FROM table_18424435_5 WHERE directed_by = "Jim Donovan"###context:CREATE TABLE table_18424435_5 (us_air_date VARCHAR, directed_by VARCHAR)
###question:What is the smallest number?###answer:SELECT MIN(_number) FROM table_18424435_5###context:CREATE TABLE table_18424435_5 (_number INTEGER)
###question:Which air dates have 1.229 canadian viewers (millions)?###answer:SELECT us_air_date FROM table_18424435_5 WHERE canadian_viewers__million_ = "1.229"###context:CREATE TABLE table_18424435_5 (us_air_date VARCHAR, canadian_viewers__million_ VARCHAR)
###question:In what district is the city listed in Serial number 9?###answer:SELECT COUNT(district) FROM table_18425346_2 WHERE serial_no = 9###context:CREATE TABLE table_18425346_2 (district VARCHAR, serial_no VARCHAR)
###question:What is the area of the city in the Sargodha district?###answer:SELECT COUNT(city_area_km_2__) FROM table_18425346_2 WHERE district = "Sargodha district"###context:CREATE TABLE table_18425346_2 (city_area_km_2__ VARCHAR, district VARCHAR)
###question:What is the smallest city area?###answer:SELECT MIN(city_area_km_2__) FROM table_18425346_2###context:CREATE TABLE table_18425346_2 (city_area_km_2__ INTEGER)
###question:If Di Drew is the director, what was the original air date for episode A Whole Lot to Lose?###answer:SELECT original_air_date FROM table_18427769_1 WHERE directed_by = "Di Drew"###context:CREATE TABLE table_18427769_1 (original_air_date VARCHAR, directed_by VARCHAR)
###question:What is the population (2010 census) if s barangay is 51?###answer:SELECT COUNT(population__2010_census_) FROM table_184334_2 WHERE s_barangay = 51###context:CREATE TABLE table_184334_2 (population__2010_census_ VARCHAR, s_barangay VARCHAR)
###question:What is the population (2010 census) if the area is 66.11?###answer:SELECT MIN(population__2010_census_) FROM table_184334_2 WHERE area___has__ = "66.11"###context:CREATE TABLE table_184334_2 (population__2010_census_ INTEGER, area___has__ VARCHAR)
###question:How many entered the match with a time of 14:42? ###answer:SELECT entered FROM table_18438494_3 WHERE time = "14:42"###context:CREATE TABLE table_18438494_3 (entered VARCHAR, time VARCHAR)
###question:What was the time for the match with Cena? ###answer:SELECT time FROM table_18438494_3 WHERE wrestler = "Cena"###context:CREATE TABLE table_18438494_3 (time VARCHAR, wrestler VARCHAR)
###question:What are all the stations with a license in Cincinnati?###answer:SELECT station FROM table_1847523_2 WHERE city_of_license__market = "Cincinnati"###context:CREATE TABLE table_1847523_2 (station VARCHAR, city_of_license__market VARCHAR)
###question:What station is affiliated with kmgh-tv?###answer:SELECT affiliation FROM table_1847523_2 WHERE station = "KMGH-TV"###context:CREATE TABLE table_1847523_2 (affiliation VARCHAR, station VARCHAR)
###question:How many stations have been owned since wfts-tv?###answer:SELECT owned_since FROM table_1847523_2 WHERE station = "WFTS-TV"###context:CREATE TABLE table_1847523_2 (owned_since VARCHAR, station VARCHAR)
###question:What city of license/market has the channel of 41?###answer:SELECT city_of_license__market FROM table_1847523_2 WHERE channel___tv___rf__ = "41"###context:CREATE TABLE table_1847523_2 (city_of_license__market VARCHAR, channel___tv___rf__ VARCHAR)
###question:What is the minimum stations owned since kero-tv?###answer:SELECT MIN(owned_since) FROM table_1847523_2 WHERE station = "KERO-TV"###context:CREATE TABLE table_1847523_2 (owned_since INTEGER, station VARCHAR)
###question:What is the lyric fm for rnag 93.2?###answer:SELECT lyric_fm__mhz_ FROM table_18475946_2 WHERE rnag__mhz_ = "93.2"###context:CREATE TABLE table_18475946_2 (lyric_fm__mhz_ VARCHAR, rnag__mhz_ VARCHAR)
###question:What are the 2fm's for erp 16?###answer:SELECT 2 AS fm__mhz_ FROM table_18475946_2 WHERE erp__kw_ = "16"###context:CREATE TABLE table_18475946_2 (erp__kw_ VARCHAR)
###question:What is the rnag for kippure transmitter? ###answer:SELECT rnag__mhz_ FROM table_18475946_2 WHERE transmitter = "Kippure"###context:CREATE TABLE table_18475946_2 (rnag__mhz_ VARCHAR, transmitter VARCHAR)
###question:What is the rnag for lyric fm 98.7? ###answer:SELECT rnag__mhz_ FROM table_18475946_2 WHERE lyric_fm__mhz_ = "98.7"###context:CREATE TABLE table_18475946_2 (rnag__mhz_ VARCHAR, lyric_fm__mhz_ VARCHAR)
###question:What is the 2fm for rnag 94.4?###answer:SELECT 2 AS fm__mhz_ FROM table_18475946_2 WHERE rnag__mhz_ = "94.4"###context:CREATE TABLE table_18475946_2 (rnag__mhz_ VARCHAR)
###question:How many reasons were given when A. Willis Robertson (D) resigned?###answer:SELECT COUNT(reason_for_change) FROM table_1847180_3 WHERE vacator = "A. Willis Robertson (D)"###context:CREATE TABLE table_1847180_3 (reason_for_change VARCHAR, vacator VARCHAR)
###question:Who vacated his post when his successor was formally installed on May 11, 1966?###answer:SELECT vacator FROM table_1847180_3 WHERE date_of_successors_formal_installation = "May 11, 1966"###context:CREATE TABLE table_1847180_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR)
###question:What was the state (class) where the new successor was formally installed on May 11, 1966?###answer:SELECT state__class_ FROM table_1847180_3 WHERE date_of_successors_formal_installation = "May 11, 1966"###context:CREATE TABLE table_1847180_3 (state__class_ VARCHAR, date_of_successors_formal_installation VA...
###question:When abba is the artist what is the album?###answer:SELECT album FROM table_18442691_2 WHERE artist = "ABBA"###context:CREATE TABLE table_18442691_2 (album VARCHAR, artist VARCHAR)
###question:When 35 is the number what is the album?###answer:SELECT album FROM table_18442691_2 WHERE no = 35###context:CREATE TABLE table_18442691_2 (album VARCHAR, no VARCHAR)
###question:When bat out of hell is the album what is the lowest number?###answer:SELECT MIN(no) FROM table_18442691_2 WHERE album = "Bat Out of Hell"###context:CREATE TABLE table_18442691_2 (no INTEGER, album VARCHAR)
###question:When cannot handle non-empty timestamp argument! 2007 is released what is the no.? ###answer:SELECT no FROM table_18442691_2 WHERE released = "Cannot handle non-empty timestamp argument! 2007"###context:CREATE TABLE table_18442691_2 (no VARCHAR, released VARCHAR)
###question:Which district did Ralph Harvey (r) vacated when he resigned?###answer:SELECT district FROM table_1847180_4 WHERE vacator = "Ralph Harvey (R)"###context:CREATE TABLE table_1847180_4 (district VARCHAR, vacator VARCHAR)
###question:Who did Walter B. Jones, Sr. (d) succeeded in office?###answer:SELECT vacator FROM table_1847180_4 WHERE successor = "Walter B. Jones, Sr. (D)"###context:CREATE TABLE table_1847180_4 (vacator VARCHAR, successor VARCHAR)
###question:What was the title of the episode directed by John T. Kretchmer? ###answer:SELECT title FROM table_18481791_2 WHERE directed_by = "John T. Kretchmer"###context:CREATE TABLE table_18481791_2 (title VARCHAR, directed_by VARCHAR)
###question:How many seasons were directed by Bryan Spicer?###answer:SELECT MIN(no_in_season) FROM table_18481791_3 WHERE directed_by = "Bryan Spicer"###context:CREATE TABLE table_18481791_3 (no_in_season INTEGER, directed_by VARCHAR)
###question:What is the title of series 23?###answer:SELECT title FROM table_18481791_3 WHERE no_in_series = 23###context:CREATE TABLE table_18481791_3 (title VARCHAR, no_in_series VARCHAR)