question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
when the writer is Brad Kern, how many u.s viewers (in millions) had the episode?
CREATE TABLE table_21313327_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR)
SELECT us_viewers__millions_ FROM table_21313327_1 WHERE written_by = "Brad Kern"
What is the 100 year for Carbon Dioxide?
CREATE TABLE table_21350772_2 (gas_name VARCHAR)
SELECT 100 AS _yr FROM table_21350772_2 WHERE gas_name = "Carbon dioxide"
What is the 20 year for Nitrous Oxide?
CREATE TABLE table_21350772_2 (gas_name VARCHAR)
SELECT 20 AS _yr FROM table_21350772_2 WHERE gas_name = "Nitrous oxide"
What is the lifetime (years) for chemical formula ch 4?
CREATE TABLE table_21350772_2 (lifetime__years_ VARCHAR, chemical_formula VARCHAR)
SELECT lifetime__years_ FROM table_21350772_2 WHERE chemical_formula = "CH 4"
What is the 20 year for Sulfur Hexafluoride?
CREATE TABLE table_21350772_2 (gas_name VARCHAR)
SELECT 20 AS _yr FROM table_21350772_2 WHERE gas_name = "Sulfur hexafluoride"
What is the traditional form for 永城市?
CREATE TABLE table_2135222_2 (traditional VARCHAR, simplified VARCHAR)
SELECT traditional FROM table_2135222_2 WHERE simplified = "永城市"
How many figures are there for density for Yucheng County?
CREATE TABLE table_2135222_2 (density VARCHAR, english_name VARCHAR)
SELECT COUNT(density) FROM table_2135222_2 WHERE english_name = "Yucheng County"
What is the traditional form for 宁陵县?
CREATE TABLE table_2135222_2 (traditional VARCHAR, simplified VARCHAR)
SELECT traditional FROM table_2135222_2 WHERE simplified = "宁陵县"
What is the traditional with density of 820?
CREATE TABLE table_2135222_2 (traditional VARCHAR, density VARCHAR)
SELECT traditional FROM table_2135222_2 WHERE density = 820
What is the Pinyin for the simplified 虞城县?
CREATE TABLE table_2135222_2 (pinyin VARCHAR, simplified VARCHAR)
SELECT pinyin FROM table_2135222_2 WHERE simplified = "虞城县"
How many areas have a population of 703379?
CREATE TABLE table_2135222_2 (area VARCHAR, population VARCHAR)
SELECT COUNT(area) FROM table_2135222_2 WHERE population = 703379
Name the episode summary for torae carr
CREATE TABLE table_2140071_12 (episode VARCHAR, coach VARCHAR)
SELECT episode AS Summary FROM table_2140071_12 WHERE coach = "Torae Carr"
Name the episode summary for travis brown
CREATE TABLE table_2140071_12 (episode VARCHAR, coach VARCHAR)
SELECT episode AS Summary FROM table_2140071_12 WHERE coach = "Travis Brown"
Name the least episode for donnie klang
CREATE TABLE table_2140071_12 (episode INTEGER, coach VARCHAR)
SELECT MIN(episode) FROM table_2140071_12 WHERE coach = "Donnie Klang"
Name the episode for travis brown
CREATE TABLE table_2140071_12 (episode VARCHAR, coach VARCHAR)
SELECT episode FROM table_2140071_12 WHERE coach = "Travis Brown"
How many episodes have a premier date of july 24, 2006
CREATE TABLE table_2140071_7 (external_link VARCHAR, premier_date VARCHAR)
SELECT COUNT(external_link) FROM table_2140071_7 WHERE premier_date = "July 24, 2006"
What is the newest season?
CREATE TABLE table_2140071_7 (season INTEGER)
SELECT MAX(season) FROM table_2140071_7
How many episodes have Valerie?
CREATE TABLE table_2140071_7 (episode VARCHAR, coach VARCHAR)
SELECT COUNT(episode) AS Summary FROM table_2140071_7 WHERE coach = "Valerie"
What the summary of episode 15?
CREATE TABLE table_2140071_7 (episode VARCHAR)
SELECT episode AS Summary FROM table_2140071_7 WHERE episode = 15
Which Maximum episode premiered March 8, 2008?
CREATE TABLE table_2140071_8 (episode INTEGER, premier_date VARCHAR)
SELECT MAX(episode) FROM table_2140071_8 WHERE premier_date = "March 8, 2008"
Who was the coach for episode 15?
CREATE TABLE table_2140071_8 (coach VARCHAR, episode VARCHAR)
SELECT coach FROM table_2140071_8 WHERE episode = 15
What coach premiered February 16, 2008 later than episode 21.0?
CREATE TABLE table_2140071_8 (coach VARCHAR, premier_date VARCHAR, episode VARCHAR)
SELECT coach FROM table_2140071_8 WHERE premier_date = "February 16, 2008" AND episode > 21.0
What was Cici Kelley's minimum season?
CREATE TABLE table_2140071_8 (season INTEGER, coach VARCHAR)
SELECT MIN(season) FROM table_2140071_8 WHERE coach = "Cici Kelley"
How many seasons feature Rob Masek?
CREATE TABLE table_2140071_8 (season VARCHAR, coach VARCHAR)
SELECT COUNT(season) FROM table_2140071_8 WHERE coach = "Rob Masek"
What was the stadium that had the regular season game?
CREATE TABLE table_21436373_4 (stadium VARCHAR, type_of_record VARCHAR)
SELECT stadium FROM table_21436373_4 WHERE type_of_record = "Regular season game"
What is the y = 2008 when y = 2011 is a = 3?
CREATE TABLE table_214479_8 (y_ VARCHAR, _2008 VARCHAR, a VARCHAR, _2011 VARCHAR)
SELECT y_ = _2008 FROM table_214479_8 WHERE y_ = _2011 = a = 3
What is the y = 2011 when the expression is month = floor ((d + e + 114) / 31)?
CREATE TABLE table_214479_8 (y_ VARCHAR, _2011 VARCHAR, expression VARCHAR, month VARCHAR, d VARCHAR, e VARCHAR)
SELECT y_ = _2011 FROM table_214479_8 WHERE expression = month = FLOOR((d + e + 114) / 31)
what is the y = 2008 when the expression is easter day (julian calendar)?
CREATE TABLE table_214479_8 (y_ VARCHAR, _2008 VARCHAR, expression VARCHAR)
SELECT y_ = _2008 FROM table_214479_8 WHERE expression = "Easter Day (Julian calendar)"
what is the y = 2009 when the expression is month = floor ((d + e + 114) / 31)?
CREATE TABLE table_214479_8 (y_ VARCHAR, _2009 VARCHAR, expression VARCHAR, month VARCHAR, d VARCHAR, e VARCHAR)
SELECT y_ = _2009 FROM table_214479_8 WHERE expression = month = FLOOR((d + e + 114) / 31)
Name the most rr1 pts for 7 ranking
CREATE TABLE table_21471897_2 (rr1_pts INTEGER, ranking VARCHAR)
SELECT MAX(rr1_pts) FROM table_21471897_2 WHERE ranking = 7
Name the races for the prada challenge
CREATE TABLE table_21471897_2 (races VARCHAR, team_name VARCHAR)
SELECT races FROM table_21471897_2 WHERE team_name = "Prada Challenge"
Name the min total pts for team dennis conner
CREATE TABLE table_21471897_2 (total_pts INTEGER, team_name VARCHAR)
SELECT MIN(total_pts) FROM table_21471897_2 WHERE team_name = "Team Dennis Conner"
Name the ranking for rr2 pts being 8
CREATE TABLE table_21471897_2 (ranking VARCHAR, rr2_pts VARCHAR)
SELECT ranking FROM table_21471897_2 WHERE rr2_pts = 8
Name the total number of rr2 pts for won being 11
CREATE TABLE table_21471897_2 (rr3_pts VARCHAR, won VARCHAR)
SELECT COUNT(rr3_pts) FROM table_21471897_2 WHERE won = 11
What percentage is listed in column r1b1a2 (r-m269) for the 77.8% r1b1c (r-v88)?
CREATE TABLE table_21481509_4 (r1b1a2__r_m269_ VARCHAR, r1b1c__r_v88_ VARCHAR)
SELECT r1b1a2__r_m269_ FROM table_21481509_4 WHERE r1b1c__r_v88_ = "77.8%"
What percentage is listed in column r1b1c (r-v88) for the 4.5% total percentage?
CREATE TABLE table_21481509_4 (r1b1c__r_v88_ VARCHAR, total_percentage VARCHAR)
SELECT r1b1c__r_v88_ FROM table_21481509_4 WHERE total_percentage = "4.5%"
How many n are listed for 0.6% r1b1a2 (r-m269)?
CREATE TABLE table_21481509_4 (COUnT VARCHAR, r1b1a2__r_m269_ VARCHAR)
SELECT COUnT AS n FROM table_21481509_4 WHERE r1b1a2__r_m269_ = "0.6%"
How many n are listed for berbers from siwa?
CREATE TABLE table_21481509_4 (COUnT VARCHAR, population VARCHAR)
SELECT COUnT AS n FROM table_21481509_4 WHERE population = "Berbers from Siwa"
What is the largest n value for 55.6% r1b1c4 (r-v69)?
CREATE TABLE table_21481509_4 (n INTEGER, r1b1c4__r_v69_ VARCHAR)
SELECT MAX(n) FROM table_21481509_4 WHERE r1b1c4__r_v69_ = "55.6%"
What is the seat of the RCM in the county that has a density of 9.7?
CREATE TABLE table_214920_1 (seat_of_rcm VARCHAR, density__pop_per_km2_ VARCHAR)
SELECT seat_of_rcm FROM table_214920_1 WHERE density__pop_per_km2_ = "9.7"
What is the seat of the county that has a density of 14.1?
CREATE TABLE table_214920_1 (seat_of_rcm VARCHAR, density__pop_per_km2_ VARCHAR)
SELECT seat_of_rcm FROM table_214920_1 WHERE density__pop_per_km2_ = "14.1"
What is the land area for the RCM that has a population of 18847?
CREATE TABLE table_214920_1 (land_area VARCHAR, population_canada_2011_census VARCHAR)
SELECT land_area FROM table_214920_1 WHERE population_canada_2011_census = 18847
What is the RCM that has a density of 9.7?
CREATE TABLE table_214920_1 (regional_county_municipality__rcm_ VARCHAR, density__pop_per_km2_ VARCHAR)
SELECT regional_county_municipality__rcm_ FROM table_214920_1 WHERE density__pop_per_km2_ = "9.7"
What is the land area of the RCM having a density of 21.1?
CREATE TABLE table_214920_1 (land_area VARCHAR, density__pop_per_km2_ VARCHAR)
SELECT land_area FROM table_214920_1 WHERE density__pop_per_km2_ = "21.1"
What is the withdrawal rate for the school district with a graduation rate of 89.3%?
CREATE TABLE table_21514460_1 (withdrawal_rate__2010_11_ VARCHAR, graduation_rate__2011_12_ VARCHAR)
SELECT withdrawal_rate__2010_11_ FROM table_21514460_1 WHERE graduation_rate__2011_12_ = "89.3%"
Where is the headquarter located for the Annapolis Valley Regional School Board?
CREATE TABLE table_21514460_1 (headquarters VARCHAR, school_district VARCHAR)
SELECT headquarters FROM table_21514460_1 WHERE school_district = "Annapolis Valley Regional School Board"
What is their withdrawal rate for the school district with headquarters located in Truro?
CREATE TABLE table_21514460_1 (withdrawal_rate__2010_11_ VARCHAR, headquarters VARCHAR)
SELECT withdrawal_rate__2010_11_ FROM table_21514460_1 WHERE headquarters = "Truro"
What is the graduation rate for the school district with headquarters located in Sydney?
CREATE TABLE table_21514460_1 (graduation_rate__2011_12_ VARCHAR, headquarters VARCHAR)
SELECT graduation_rate__2011_12_ FROM table_21514460_1 WHERE headquarters = "Sydney"
What was the surface for events held in 1983?
CREATE TABLE table_2151643_3 (surface VARCHAR, year VARCHAR)
SELECT surface FROM table_2151643_3 WHERE year = 1983
What was the total number of matches that had an outcome of Winner, a partner of John Lloyd, and a clay surface?
CREATE TABLE table_2151643_3 (opponents VARCHAR, surface VARCHAR, outcome VARCHAR, partner VARCHAR)
SELECT COUNT(opponents) FROM table_2151643_3 WHERE outcome = "Winner" AND partner = "John Lloyd" AND surface = "Clay"
Who were the opponents that led to an outcome of winner on a grass surface?
CREATE TABLE table_2151643_3 (opponents VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT opponents FROM table_2151643_3 WHERE outcome = "Winner" AND surface = "Grass"
How many times did episode 6 originally air?
CREATE TABLE table_21550897_1 (original_air_date VARCHAR, _number VARCHAR)
SELECT COUNT(original_air_date) FROM table_21550897_1 WHERE _number = 6
What is the production code for the episode that had 9.18 million viewers (U.S.)?
CREATE TABLE table_21550897_1 (production_code INTEGER, us_viewers__million_ VARCHAR)
SELECT MAX(production_code) FROM table_21550897_1 WHERE us_viewers__million_ = "9.18"
What episode number was directed by Craig Ross, Jr.
CREATE TABLE table_21550897_1 (_number VARCHAR, directed_by VARCHAR)
SELECT _number FROM table_21550897_1 WHERE directed_by = "Craig Ross, Jr."
What episode had 10.14 million viewers (U.S.)?
CREATE TABLE table_21550897_1 (_number INTEGER, us_viewers__million_ VARCHAR)
SELECT MIN(_number) FROM table_21550897_1 WHERE us_viewers__million_ = "10.14"
Who wrote the episode with the production code 519?
CREATE TABLE table_21550897_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_21550897_1 WHERE production_code = 519
Who are all successors when reason for change is died May 12, 1964?
CREATE TABLE table_2159506_4 (successor VARCHAR, reason_for_change VARCHAR)
SELECT successor FROM table_2159506_4 WHERE reason_for_change = "Died May 12, 1964"
What is every district for reason for change is died August 9, 1964?
CREATE TABLE table_2159506_4 (district VARCHAR, reason_for_change VARCHAR)
SELECT district FROM table_2159506_4 WHERE reason_for_change = "Died August 9, 1964"
What is the lowest division number?
CREATE TABLE table_21602734_1 (division INTEGER)
SELECT MIN(division) FROM table_21602734_1
What was the regular season name where they did not qualify for the playoffs in 2009?
CREATE TABLE table_21602734_1 (reg_season VARCHAR, playoffs VARCHAR, year VARCHAR)
SELECT reg_season FROM table_21602734_1 WHERE playoffs = "Did not qualify" AND year = 2009
What league was involved in 2010?
CREATE TABLE table_21602734_1 (league VARCHAR, year VARCHAR)
SELECT league FROM table_21602734_1 WHERE year = 2010
What is the highest number of divisions mentioned?
CREATE TABLE table_21602734_1 (division INTEGER)
SELECT MAX(division) FROM table_21602734_1
What league was involved in 2008?
CREATE TABLE table_21602734_1 (league VARCHAR, year VARCHAR)
SELECT league FROM table_21602734_1 WHERE year = 2008
Which administrative division had a population of 2011 according to the siak database of 3,672,994?
CREATE TABLE table_21734764_1 (administrative_division VARCHAR, population_2011_siak_database VARCHAR)
SELECT administrative_division FROM table_21734764_1 WHERE population_2011_siak_database = "3,672,994"
What is the population density of bandung regency?
CREATE TABLE table_21734764_1 (population_density___km²_2010_ VARCHAR, administrative_division VARCHAR)
SELECT population_density___km²_2010_ FROM table_21734764_1 WHERE administrative_division = "Bandung Regency"
Which administrative division had a 2011 population of 606,699 according to the siak database?
CREATE TABLE table_21734764_1 (administrative_division VARCHAR, population_2011_siak_database VARCHAR)
SELECT administrative_division FROM table_21734764_1 WHERE population_2011_siak_database = "606,699"
What is the area of cimahi city?
CREATE TABLE table_21734764_1 (area__km²__2005 VARCHAR, administrative_division VARCHAR)
SELECT area__km²__2005 FROM table_21734764_1 WHERE administrative_division = "Cimahi City"
What is the population density of the administrative division with a population in 2010 of 264170 according to the census?
CREATE TABLE table_21734764_1 (population_density___km²_2010_ VARCHAR, population_2010_census VARCHAR)
SELECT population_density___km²_2010_ FROM table_21734764_1 WHERE population_2010_census = 264170
What was the installation date in El Paso, Texas?
CREATE TABLE table_21821014_1 (installation_date VARCHAR, location VARCHAR)
SELECT installation_date FROM table_21821014_1 WHERE location = "El Paso, Texas"
What is the chapter for Illinois Wesleyan?
CREATE TABLE table_21821014_1 (chapter VARCHAR, institution VARCHAR)
SELECT chapter FROM table_21821014_1 WHERE institution = "Illinois Wesleyan"
What does the inactive state for University of Texas, El Paso?
CREATE TABLE table_21821014_1 (inactive VARCHAR, institution VARCHAR)
SELECT inactive FROM table_21821014_1 WHERE institution = "University of Texas, El Paso"
What is the installation date for the Delta Chapter?
CREATE TABLE table_21821014_1 (installation_date VARCHAR, chapter VARCHAR)
SELECT installation_date FROM table_21821014_1 WHERE chapter = "Delta"
What is the lowest when pohang steelyard is the stadium?
CREATE TABLE table_21824695_8 (lowest VARCHAR, stadium VARCHAR)
SELECT lowest FROM table_21824695_8 WHERE stadium = "Pohang Steelyard"
How many match played have the highest as 32250?
CREATE TABLE table_21824695_8 (match_played VARCHAR, highest VARCHAR)
SELECT match_played FROM table_21824695_8 WHERE highest = 32250
Which team has a match played of 10 4?
CREATE TABLE table_21824695_8 (team VARCHAR, match_played VARCHAR)
SELECT team FROM table_21824695_8 WHERE match_played = "10 4"
What is the highest when pohang steelers is the team?
CREATE TABLE table_21824695_8 (highest VARCHAR, team VARCHAR)
SELECT highest FROM table_21824695_8 WHERE team = "Pohang Steelers"
Which team has 7757 as the average?
CREATE TABLE table_21824695_8 (team VARCHAR, average VARCHAR)
SELECT team FROM table_21824695_8 WHERE average = 7757
What s the episode number in the season that was written by Nancy Oliver?
CREATE TABLE table_2182654_6 (no_in_season INTEGER, written_by VARCHAR)
SELECT MAX(no_in_season) FROM table_2182654_6 WHERE written_by = "Nancy Oliver"
What date was episode 10 in the season originally aired?
CREATE TABLE table_2182654_6 (original_air_date VARCHAR, no_in_season VARCHAR)
SELECT original_air_date FROM table_2182654_6 WHERE no_in_season = 10
What was the name of the episode that was directed by Mary Harron?
CREATE TABLE table_2182654_6 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_2182654_6 WHERE directed_by = "Mary Harron"
Name the average grade for şımarık tarkan
CREATE TABLE table_21829580_1 (average_grade VARCHAR, song VARCHAR)
SELECT average_grade FROM table_21829580_1 WHERE song = "Şımarık Tarkan"
Name the classification for 9, 9, 8, 9
CREATE TABLE table_21829580_1 (classification__judges_ VARCHAR, detailed_grades VARCHAR)
SELECT classification__judges_ FROM table_21829580_1 WHERE detailed_grades = "9, 9, 8, 9"
What are the poles is #08 Miller racing?
CREATE TABLE table_2190919_1 (poles VARCHAR, team_s_ VARCHAR)
SELECT poles FROM table_2190919_1 WHERE team_s_ = "#08 Miller Racing"
What is the most recent year where the average start is 8.5?
CREATE TABLE table_2190919_1 (year INTEGER, avg_start VARCHAR)
SELECT MAX(year) FROM table_2190919_1 WHERE avg_start = "8.5"
What are the racing teams for which the average finish is 23.3?
CREATE TABLE table_2190919_1 (team_s_ VARCHAR, avg_finish VARCHAR)
SELECT team_s_ FROM table_2190919_1 WHERE avg_finish = "23.3"
What racing team/s had the 92nd position?
CREATE TABLE table_2190919_1 (team_s_ VARCHAR, position VARCHAR)
SELECT team_s_ FROM table_2190919_1 WHERE position = "92nd"
How many teams finished in the top team with an average finish of 23.3?
CREATE TABLE table_2190919_1 (top_10 VARCHAR, avg_finish VARCHAR)
SELECT COUNT(top_10) FROM table_2190919_1 WHERE avg_finish = "23.3"
How many times was the opponent country India?
CREATE TABLE table_21907770_4 (country VARCHAR, versus VARCHAR)
SELECT COUNT(country) FROM table_21907770_4 WHERE versus = "India"
What are the dates where the versus team is South Africa?
CREATE TABLE table_21907770_4 (date VARCHAR, versus VARCHAR)
SELECT date FROM table_21907770_4 WHERE versus = "South Africa"
What championship was played in 1981?
CREATE TABLE table_2201541_3 (championship__titles_finals_ VARCHAR, year VARCHAR)
SELECT championship__titles_finals_ FROM table_2201541_3 WHERE year = 1981
How many different outcomes did the final with Paul McNamee as a partner have?
CREATE TABLE table_2201541_3 (outcome VARCHAR, partner VARCHAR)
SELECT COUNT(outcome) FROM table_2201541_3 WHERE partner = "Paul McNamee"
How many different partners were played with during French Open (0/1)?
CREATE TABLE table_2201541_3 (partner VARCHAR, championship__titles_finals_ VARCHAR)
SELECT COUNT(partner) FROM table_2201541_3 WHERE championship__titles_finals_ = "French Open (0/1)"
What date was the episode originally aired that was directed by James Widdoes and the production code is 320?
CREATE TABLE table_2221374_3 (original_air_date VARCHAR, directed_by VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_2221374_3 WHERE directed_by = "James Widdoes" AND production_code = 320
What is the production code for episode 3 of the season?
CREATE TABLE table_2221374_3 (production_code VARCHAR, no_in_season VARCHAR)
SELECT production_code FROM table_2221374_3 WHERE no_in_season = 3
Which orchestra has a recording year of 1951?
CREATE TABLE table_222198_1 (orchestra VARCHAR, year_of_recording VARCHAR)
SELECT orchestra FROM table_222198_1 WHERE year_of_recording = 1951
Where is the orchestra when the year of recording is 1934?
CREATE TABLE table_222198_1 (orchestra VARCHAR, year_of_recording VARCHAR)
SELECT orchestra FROM table_222198_1 WHERE year_of_recording = 1934
Name the former codes for merged into panama ( pa , pan , 591 )
CREATE TABLE table_222666_1 (former_codes VARCHAR, new_country_names_and_codes VARCHAR)
SELECT former_codes FROM table_222666_1 WHERE new_country_names_and_codes = "Merged into Panama ( PA , PAN , 591 )"
Name the total number for period of validity for upper volta
CREATE TABLE table_222666_1 (period_of_validity VARCHAR, former_country_name VARCHAR)
SELECT COUNT(period_of_validity) FROM table_222666_1 WHERE former_country_name = "Upper Volta"
Who was the winner of seat no 4 for the election on January 25, 1967
CREATE TABLE table_2231241_1 (seat_no_4 VARCHAR, election VARCHAR)
SELECT seat_no_4 FROM table_2231241_1 WHERE election = "January 25, 1967"
Who is seat no 1 when the mayor was john j. seguier
CREATE TABLE table_2231241_1 (seat_no_1 VARCHAR, mayor VARCHAR)
SELECT seat_no_1 FROM table_2231241_1 WHERE mayor = "John J. Seguier"