answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT written_by FROM table_17467578_1 WHERE us_viewers__million_ = "3.96"
CREATE TABLE table_17467578_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
Who wrote the episode "The Dream Lover", which was viewed by 3.96 million viewers?
SELECT COUNT(original_airdate) FROM table_17467578_1 WHERE episode__number = 8
CREATE TABLE table_17467578_1 (original_airdate VARCHAR, episode__number VARCHAR)
What is the original air date of episode 8? Answer: Dec. 21, 2006
SELECT written_by FROM table_17467578_1 WHERE us_viewers__million_ = "3.73"
CREATE TABLE table_17467578_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
Who wrote the episode "The Cold Turkey", which was viewed by 3.73 million viewers?
SELECT written_by FROM table_17467578_1 WHERE episode__number = 11
CREATE TABLE table_17467578_1 (written_by VARCHAR, episode__number VARCHAR)
Who wrote episode 11?
SELECT original_airdate FROM table_17467578_1 WHERE us_viewers__million_ = "3.73"
CREATE TABLE table_17467578_1 (original_airdate VARCHAR, us_viewers__million_ VARCHAR)
What was the original airdate of the episode "The Cold Turkey", which was viewed by 3.73 million viewers?
SELECT class FROM table_1745843_9 WHERE part_3 = "boten"
CREATE TABLE table_1745843_9 (class VARCHAR, part_3 VARCHAR)
Name the class for boten
SELECT part_3 FROM table_1745843_9 WHERE part_1 = "treffen"
CREATE TABLE table_1745843_9 (part_3 VARCHAR, part_1 VARCHAR)
Name the part 3 for treffen
SELECT part_1 FROM table_1745843_9 WHERE verb_meaning = "to give"
CREATE TABLE table_1745843_9 (part_1 VARCHAR, verb_meaning VARCHAR)
Name the part one for to give
SELECT class FROM table_1745843_9 WHERE part_3 = "schliefen"
CREATE TABLE table_1745843_9 (class VARCHAR, part_3 VARCHAR)
Name the class for schliefen
SELECT verb_meaning FROM table_1745843_9 WHERE part_2 = "half drosch"
CREATE TABLE table_1745843_9 (verb_meaning VARCHAR, part_2 VARCHAR)
Name the verb meaning for half drosch
SELECT directed_by FROM table_17467447_1 WHERE production_code = "2T6267"
CREATE TABLE table_17467447_1 (directed_by VARCHAR, production_code VARCHAR)
If the product code is 2t6267, who was the director?
SELECT original_airdate FROM table_17467447_1 WHERE us_viewers__million_ = "5.50"
CREATE TABLE table_17467447_1 (original_airdate VARCHAR, us_viewers__million_ VARCHAR)
What is the air date when the U.S. viewers was 5.50 million?
SELECT written_by FROM table_17467447_1 WHERE production_code = "2T6268"
CREATE TABLE table_17467447_1 (written_by VARCHAR, production_code VARCHAR)
Who were the writers for production code 2t6268?
SELECT COUNT(builder) FROM table_1748444_1 WHERE number = "96"
CREATE TABLE table_1748444_1 (builder VARCHAR, number VARCHAR)
Name the number of builders for number 96
SELECT builder FROM table_1748444_1 WHERE date_built = "January 1910"
CREATE TABLE table_1748444_1 (builder VARCHAR, date_built VARCHAR)
Name the builder for date built is january 1910
SELECT disposition FROM table_1748444_1 WHERE date_built = "March 1909"
CREATE TABLE table_1748444_1 (disposition VARCHAR, date_built VARCHAR)
Name the disposition for date built is march 1909
SELECT title FROM table_17482534_1 WHERE no_in_series = "96"
CREATE TABLE table_17482534_1 (title VARCHAR, no_in_series VARCHAR)
What is the title of episode number 96 in the series?
SELECT no_in_season FROM table_17482534_1 WHERE directed_by = "Gene Stupnitsky"
CREATE TABLE table_17482534_1 (no_in_season VARCHAR, directed_by VARCHAR)
What number in season is the episode directed by Gene Stupnitsky?
SELECT us_viewers__millions_ FROM table_17482534_1 WHERE written_by = "Warren Lieberstein & Halsted Sullivan"
CREATE TABLE table_17482534_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR)
How many viewers did the episode written by Warren Lieberstein & Halsted Sullivan have?
SELECT COUNT(written_by) FROM table_17482534_1 WHERE production_code = "5008"
CREATE TABLE table_17482534_1 (written_by VARCHAR, production_code VARCHAR)
How many writers are listed for the episode with a production code of 5008?
SELECT no_in_series FROM table_17482534_1 WHERE production_code = "5016/5017"
CREATE TABLE table_17482534_1 (no_in_series VARCHAR, production_code VARCHAR)
What number in the series are the episodes with production code 5016/5017?
SELECT COUNT(location) FROM table_17487395_1 WHERE callsign = "DXJP-FM"
CREATE TABLE table_17487395_1 (location VARCHAR, callsign VARCHAR)
How many locations have the call signs dxjp-fm?
SELECT callsign FROM table_17487395_1 WHERE frequency = "90.3MHz"
CREATE TABLE table_17487395_1 (callsign VARCHAR, frequency VARCHAR)
What is the call sign of the station with the frequency of 90.3mhz
SELECT callsign FROM table_17487395_1 WHERE branding = "Mom's Radio 101.5 Tacloban"
CREATE TABLE table_17487395_1 (callsign VARCHAR, branding VARCHAR)
What is the call sign for the station that uses the branding, mom's radio 101.5 tacloban?
SELECT branding FROM table_17487395_1 WHERE location = "Cebu"
CREATE TABLE table_17487395_1 (branding VARCHAR, location VARCHAR)
What is the branding for stations located in Cebu?
SELECT eagle_riders FROM table_17480471_3 WHERE ova__harmony_gold_dub_ = "Dr. Kozaburo Nambu"
CREATE TABLE table_17480471_3 (eagle_riders VARCHAR, ova__harmony_gold_dub_ VARCHAR)
Which eagle riders whose ova (harmony gold dub) is dr. kozaburo nambu?
SELECT battle_of_the_planets FROM table_17480471_3 WHERE ova__harmony_gold_dub_ = "Solaris"
CREATE TABLE table_17480471_3 (battle_of_the_planets VARCHAR, ova__harmony_gold_dub_ VARCHAR)
Which battle of the planets where ova (harmony gold dub) is solaris?
SELECT eagle_riders FROM table_17480471_3 WHERE battle_of_the_planets = "Zoltar"
CREATE TABLE table_17480471_3 (eagle_riders VARCHAR, battle_of_the_planets VARCHAR)
Which eagle riders have battle of the planets as zoltar?
SELECT gatchaman FROM table_17480471_3 WHERE eagle_riders = "Lukan"
CREATE TABLE table_17480471_3 (gatchaman VARCHAR, eagle_riders VARCHAR)
Which gatchaman has eagle riders as lukan?
SELECT eagle_riders FROM table_17480471_3 WHERE ova__harmony_gold_dub_ = "Lord Zortek"
CREATE TABLE table_17480471_3 (eagle_riders VARCHAR, ova__harmony_gold_dub_ VARCHAR)
What eagle riders where ova (harmony gold dub) is lord zortek?
SELECT pregame_host FROM table_17516922_1 WHERE network = "ESPN" AND color_commentator = "Taylor Twellman"
CREATE TABLE table_17516922_1 (pregame_host VARCHAR, network VARCHAR, color_commentator VARCHAR)
What pregame host was on espn and had taylor twellman color commentating?
SELECT pregame_analysts FROM table_17516922_1 WHERE sideline_reporters = "Rob Stone and Monica Gonzalez" AND network = "TSN2"
CREATE TABLE table_17516922_1 (pregame_analysts VARCHAR, sideline_reporters VARCHAR, network VARCHAR)
What pregame analyst(s) had rob stone and monica gonzalez as sideline reporters and were on tsn2?
SELECT color_commentator FROM table_17516922_1 WHERE year = 2010
CREATE TABLE table_17516922_1 (color_commentator VARCHAR, year VARCHAR)
What color commentator(s) were in 2010?
SELECT MAX(year) FROM table_17516922_1 WHERE sideline_reporters = "Rob Stone and Monica Gonzalez"
CREATE TABLE table_17516922_1 (year INTEGER, sideline_reporters VARCHAR)
What is the last year that had sideline reporters rob stone and monica gonzalez?
SELECT play_by_play FROM table_17516922_1 WHERE network = "ESPN" AND sideline_reporters = "Monica Gonzalez"
CREATE TABLE table_17516922_1 (play_by_play VARCHAR, network VARCHAR, sideline_reporters VARCHAR)
Who had the play-by-play on espn with sideline reporter monica gonzalez?
SELECT name FROM table_1749567_2 WHERE number = 28
CREATE TABLE table_1749567_2 (name VARCHAR, number VARCHAR)
What was the name of race #28?
SELECT MAX(number) FROM table_1749567_2 WHERE name = "Eyserweg"
CREATE TABLE table_1749567_2 (number INTEGER, name VARCHAR)
The Eyserweg race was which race #?
SELECT location FROM table_1749567_2 WHERE average_climb___percentage_ = 40
CREATE TABLE table_1749567_2 (location VARCHAR, average_climb___percentage_ VARCHAR)
Which race had an average climb of 40%?
SELECT MAX(length__in_m_) FROM table_1749567_2 WHERE name = "Keutenberg"
CREATE TABLE table_1749567_2 (length__in_m_ INTEGER, name VARCHAR)
The Keutenberg race had what race length?
SELECT MIN(Champions) AS league FROM table_17505751_5
CREATE TABLE table_17505751_5 (Champions INTEGER)
In the Champions league, what is the Minimum
SELECT COUNT(Champions) AS league FROM table_17505751_5 WHERE position = "Forward" AND league < 6.0
CREATE TABLE table_17505751_5 (Champions VARCHAR, position VARCHAR, league VARCHAR)
In the Champions league is the forward position smaller than 6.0
SELECT MIN(league) FROM table_17505751_5 WHERE total = 8 AND copa_del_rey = 0
CREATE TABLE table_17505751_5 (league INTEGER, total VARCHAR, copa_del_rey VARCHAR)
when the total is 8 and copa del rey is 0 what is the minimum league
SELECT COUNT(Champions) AS league FROM table_17505751_5 WHERE league = 5 AND position = "Forward"
CREATE TABLE table_17505751_5 (Champions VARCHAR, league VARCHAR, position VARCHAR)
when the position is forward and the league is 5 what number is the Champion league
SELECT COUNT(total) FROM table_17505751_5 WHERE p > 4.0
CREATE TABLE table_17505751_5 (total VARCHAR, p INTEGER)
if p is bigger than 4.0 what is total number
SELECT 2008 AS _status FROM table_17503169_1 WHERE democratic = "Glenn Nye"
CREATE TABLE table_17503169_1 (democratic VARCHAR)
What was the 2008 election status when glenn nye was the running democrat?
SELECT republican FROM table_17503169_1 WHERE incumbent = "Thelma Drake"
CREATE TABLE table_17503169_1 (republican VARCHAR, incumbent VARCHAR)
Who was the republican candidate in the race with incumbent thelma drake?
SELECT COUNT(district) FROM table_17503169_1 WHERE republican = "Bob Goodlatte"
CREATE TABLE table_17503169_1 (district VARCHAR, republican VARCHAR)
How many districts had republican Bob Goodlatte as a candidate?
SELECT democratic FROM table_17503169_1 WHERE republican = "Frank Wolf"
CREATE TABLE table_17503169_1 (democratic VARCHAR, republican VARCHAR)
Who was the democratic candidate when the republican was frank wolf?
SELECT COUNT(won) FROM table_17510803_2 WHERE points_against = "410"
CREATE TABLE table_17510803_2 (won VARCHAR, points_against VARCHAR)
How many won when points against is 410?
SELECT bonus_points FROM table_17510803_2 WHERE points_for = "385"
CREATE TABLE table_17510803_2 (bonus_points VARCHAR, points_for VARCHAR)
How many bonus points are there when points for is 385?
SELECT COUNT(club) FROM table_17510803_2 WHERE points = "62"
CREATE TABLE table_17510803_2 (club VARCHAR, points VARCHAR)
How many clubs have 62 points?
SELECT bonus_points FROM table_17510803_2 WHERE won = "5"
CREATE TABLE table_17510803_2 (bonus_points VARCHAR, won VARCHAR)
How many bonus points were won by 5?
SELECT played FROM table_17510803_2 WHERE points_for = "362"
CREATE TABLE table_17510803_2 (played VARCHAR, points_for VARCHAR)
How many have been played for 362 points?
SELECT points_against FROM table_17510803_2 WHERE lost = "13"
CREATE TABLE table_17510803_2 (points_against VARCHAR, lost VARCHAR)
How many points against have a lose of 13?
SELECT MAX(level) FROM table_1751142_2
CREATE TABLE table_1751142_2 (level INTEGER)
What is the highest possible level?
SELECT shuttle_time__seconds_ FROM table_1751142_2 WHERE speed__km_h_ = "15.5"
CREATE TABLE table_1751142_2 (shuttle_time__seconds_ VARCHAR, speed__km_h_ VARCHAR)
What is the shuttle time for the level where the speed is 15.5 km/h?
SELECT MIN(shuttles) FROM table_1751142_2 WHERE shuttle_time__seconds_ = "6.55"
CREATE TABLE table_1751142_2 (shuttles INTEGER, shuttle_time__seconds_ VARCHAR)
What is the fewest number of shuttles where the shuttle time is 6.55 seconds?
SELECT MIN(distance__m_) FROM table_1751142_2 WHERE shuttle_time__seconds_ = "6.86"
CREATE TABLE table_1751142_2 (distance__m_ INTEGER, shuttle_time__seconds_ VARCHAR)
What is the distance (in meters) when the shuttle time is 6.86 seconds?
SELECT MAX(3 AS rd_ru) FROM table_17522854_6 WHERE country = "Costa Rica"
CREATE TABLE table_17522854_6 (country VARCHAR)
How many 3rd ru does Costa Rica have?
SELECT COUNT(3 AS rd_ru) FROM table_17522854_6 WHERE country = "Canada"
CREATE TABLE table_17522854_6 (country VARCHAR)
How many 3rd ru does Canada have?
SELECT MIN(miss_united_continent) FROM table_17522854_6
CREATE TABLE table_17522854_6 (miss_united_continent INTEGER)
What is the least number of miss united continents?
SELECT COUNT(lead_margin) FROM table_17538810_10 WHERE dates_administered = "September 11, 2008"
CREATE TABLE table_17538810_10 (lead_margin VARCHAR, dates_administered VARCHAR)
How many different lead margins were stated in the poll administered on September 11, 2008?
SELECT common_name FROM table_175442_1 WHERE scientific_name = "Rhampholeon spectrum"
CREATE TABLE table_175442_1 (common_name VARCHAR, scientific_name VARCHAR)
Name the common name for rhampholeon spectrum
SELECT scientific_name FROM table_175442_1 WHERE common_name = "Veiled chameleon"
CREATE TABLE table_175442_1 (scientific_name VARCHAR, common_name VARCHAR)
Name the scientific name for veiled chameleon
SELECT common_name FROM table_175442_1 WHERE scientific_name = "Furcifer pardalis"
CREATE TABLE table_175442_1 (common_name VARCHAR, scientific_name VARCHAR)
Name the common name for furcifer pardalis
SELECT COUNT(color) FROM table_175442_1 WHERE scientific_name = "Furcifer pardalis"
CREATE TABLE table_175442_1 (color VARCHAR, scientific_name VARCHAR)
Name the number of color for furcifer pardalis
SELECT COUNT(international_freight) FROM table_1754531_4 WHERE domestic_mail = 260
CREATE TABLE table_1754531_4 (international_freight VARCHAR, domestic_mail VARCHAR)
Name the number of international frieghts for domestic mail of 260
SELECT COUNT(domestic_mail) FROM table_1754531_4 WHERE total_freight_and_mail = 7853
CREATE TABLE table_1754531_4 (domestic_mail VARCHAR, total_freight_and_mail VARCHAR)
Name the total number of domestic mail for 7853 for total frieght and mail
SELECT COUNT(domestic_freight) FROM table_1754531_4 WHERE international_mail > 1.0 AND domestic_mail = 260
CREATE TABLE table_1754531_4 (domestic_freight VARCHAR, international_mail VARCHAR, domestic_mail VARCHAR)
Namw the total number for domestic freight for international mail is larger than 1.0 with domestic mail for 260
SELECT MAX(others_number) FROM table_1756284_1
CREATE TABLE table_1756284_1 (others_number INTEGER)
What was the highest vote for others?
SELECT kerry_percentage FROM table_1756284_1 WHERE kerry_number = 199060
CREATE TABLE table_1756284_1 (kerry_percentage VARCHAR, kerry_number VARCHAR)
When Kerry# was 199060, what was the percentage?
SELECT MAX(bush_number) FROM table_1756284_1
CREATE TABLE table_1756284_1 (bush_number INTEGER)
What was the highest vote number for Bush?
SELECT COUnT AS transfer_window FROM table_17596418_4 WHERE moving_from = "Crystal palace"
CREATE TABLE table_17596418_4 (COUnT VARCHAR, moving_from VARCHAR)
How many transfer windows coming from Crystal Palace?
SELECT country FROM table_17596418_4 WHERE p = "GK"
CREATE TABLE table_17596418_4 (country VARCHAR, p VARCHAR)
What country has a P of GK?
SELECT p FROM table_17596418_4 WHERE moving_from = "Everton"
CREATE TABLE table_17596418_4 (p VARCHAR, moving_from VARCHAR)
What is the P for the player moving from Everton?
SELECT competition FROM table_17594659_1 WHERE opposition = "Panathinaikos"
CREATE TABLE table_17594659_1 (competition VARCHAR, opposition VARCHAR)
Name the competition of panathinaikos
SELECT viewers__in_millions_ FROM table_175980_2 WHERE ranking = "#51" AND timeslot = "Tuesday 9:00 p.m."
CREATE TABLE table_175980_2 (viewers__in_millions_ VARCHAR, ranking VARCHAR, timeslot VARCHAR)
What is every value for viewers for ranking #51 for the Tuesday 9:00 p.m. timeslot?
SELECT finale FROM table_175980_2 WHERE timeslot = "Tuesday 9:30 p.m."
CREATE TABLE table_175980_2 (finale VARCHAR, timeslot VARCHAR)
What finales took place in the Tuesday 9:30 p.m. timeslot?
SELECT premiere FROM table_175980_2 WHERE finale = "May 25, 2004"
CREATE TABLE table_175980_2 (premiere VARCHAR, finale VARCHAR)
What premieres had a finale on May 25, 2004?
SELECT season FROM table_175980_2 WHERE finale = "May 25, 2004"
CREATE TABLE table_175980_2 (season VARCHAR, finale VARCHAR)
What seasons had a finale on May 25, 2004?
SELECT season FROM table_175980_2 WHERE ranking = "#47"
CREATE TABLE table_175980_2 (season VARCHAR, ranking VARCHAR)
What seasons had a ranking of #47?
SELECT viewers__in_millions_ FROM table_175980_2 WHERE season = "1st"
CREATE TABLE table_175980_2 (viewers__in_millions_ VARCHAR, season VARCHAR)
What are all values for viewers for 1st season?
SELECT date_withdrawn FROM table_17607663_1 WHERE secr_no = 771
CREATE TABLE table_17607663_1 (date_withdrawn VARCHAR, secr_no VARCHAR)
What is the withdraw date for secr no. 771?
SELECT builder FROM table_17607663_1 WHERE br_no = 31779
CREATE TABLE table_17607663_1 (builder VARCHAR, br_no VARCHAR)
Who is the builder for br no. 31779?
SELECT country FROM table_17596418_5 WHERE loan_club = "Fulham"
CREATE TABLE table_17596418_5 (country VARCHAR, loan_club VARCHAR)
what ist he country where the loan club is fulham?
SELECT COUNT(age) FROM table_17596418_5 WHERE started = "6 November"
CREATE TABLE table_17596418_5 (age VARCHAR, started VARCHAR)
what ist he total number of ages where the start date is 6 november?
SELECT title FROM table_17624965_1 WHERE production_code = 618
CREATE TABLE table_17624965_1 (title VARCHAR, production_code VARCHAR)
What was the name of eipsode 618?
SELECT COUNT(written_by) FROM table_17624965_1 WHERE directed_by = "Alison Maclean"
CREATE TABLE table_17624965_1 (written_by VARCHAR, directed_by VARCHAR)
How many episodes did Alison Maclean direct?
SELECT high_points FROM table_17622423_12 WHERE date = "May 29"
CREATE TABLE table_17622423_12 (high_points VARCHAR, date VARCHAR)
Name the high points for may 29
SELECT date FROM table_17622423_12 WHERE series = "2-2"
CREATE TABLE table_17622423_12 (date VARCHAR, series VARCHAR)
Name the date for series 2-2
SELECT high_assists FROM table_17622423_12 WHERE date = "May 21"
CREATE TABLE table_17622423_12 (high_assists VARCHAR, date VARCHAR)
Name the high assists for may 21
SELECT COUNT(play_by_play) FROM table_17628022_2 WHERE pregame_analysts = "Darren Flutie, Eric Tillman and Greg Frers"
CREATE TABLE table_17628022_2 (play_by_play VARCHAR, pregame_analysts VARCHAR)
How many different play-by-play announcers also had pregame analysis by Darren Flutie, Eric Tillman and Greg Frers?
SELECT play_by_play FROM table_17628022_2 WHERE pregame_host = "Brian Williams" AND sideline_reporters = "Steve Armitage and Brenda Irving"
CREATE TABLE table_17628022_2 (play_by_play VARCHAR, pregame_host VARCHAR, sideline_reporters VARCHAR)
Who did the play-by-play when the pregame host was Brian Williams and the sideline reporters were Steve Armitage and Brenda Irving?
SELECT pregame_host FROM table_17628022_2 WHERE sideline_reporters = "Steve Armitage and Brenda Irving"
CREATE TABLE table_17628022_2 (pregame_host VARCHAR, sideline_reporters VARCHAR)
Who were the pregame hosts when the sideline reporters were Steve Armitage and Brenda Irving?
SELECT pregame_analysts FROM table_17628022_2 WHERE year = 2002
CREATE TABLE table_17628022_2 (pregame_analysts VARCHAR, year VARCHAR)
Who did pregame analysis in 2002?
SELECT state FROM table_1762887_1 WHERE county = "Lake county"
CREATE TABLE table_1762887_1 (state VARCHAR, county VARCHAR)
Name the state for lake county
SELECT MIN(season) FROM table_17632217_1
CREATE TABLE table_17632217_1 (season INTEGER)
What is the lowest season?
SELECT COUNT(number_of_clubs) FROM table_17632217_1 WHERE runners_up = "Shandong"
CREATE TABLE table_17632217_1 (number_of_clubs VARCHAR, runners_up VARCHAR)
How many values for number of clubs have Shandong as the runner-up?
SELECT COUNT(total_wins) FROM table_17632217_1 WHERE runners_up = "Shanghai"
CREATE TABLE table_17632217_1 (total_wins VARCHAR, runners_up VARCHAR)
How many total wins with Shanghai as runner-up?
SELECT club FROM table_17625749_1 WHERE tries_for = "32"
CREATE TABLE table_17625749_1 (club VARCHAR, tries_for VARCHAR)
Name the club for when tries for is 32