context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_13258972_2 (date VARCHAR, game_site VARCHAR, opponent VARCHAR) | What date did the Seahawks play the Kansas City Chiefs at the Kingdome? | SELECT date FROM table_13258972_2 WHERE game_site = "Kingdome" AND opponent = "Kansas City Chiefs" |
CREATE TABLE table_13259034_2 (week INTEGER, date VARCHAR) | In what week was November 27, 1977? | SELECT MAX(week) FROM table_13259034_2 WHERE date = "November 27, 1977" |
CREATE TABLE table_13259034_2 (game_site VARCHAR, date VARCHAR) | Where did the teams play on October 16, 1977? | SELECT game_site FROM table_13259034_2 WHERE date = "October 16, 1977" |
CREATE TABLE table_13259009_2 (opponent VARCHAR, game_site VARCHAR) | What team was the opponent at Mile High Stadium? | SELECT opponent FROM table_13259009_2 WHERE game_site = "Mile High Stadium" |
CREATE TABLE table_13259009_2 (record VARCHAR, opponent VARCHAR) | What was the record when they played the Los Angeles Rams? | SELECT record FROM table_13259009_2 WHERE opponent = "Los Angeles Rams" |
CREATE TABLE table_13259009_2 (game_site VARCHAR, opponent VARCHAR) | Where did they play the San Diego Chargers? | SELECT game_site FROM table_13259009_2 WHERE opponent = "San Diego Chargers" |
CREATE TABLE table_13259019_2 (result VARCHAR, record VARCHAR) | How many times during the season were the seahawks 8-6? | SELECT COUNT(result) FROM table_13259019_2 WHERE record = "8-6" |
CREATE TABLE table_13259019_2 (date VARCHAR, game_site VARCHAR) | On what day was the team playing at milwaukee county stadium? | SELECT date FROM table_13259019_2 WHERE game_site = "Milwaukee County Stadium" |
CREATE TABLE table_13259019_2 (date VARCHAR, game_site VARCHAR) | How many times did the team play at oakland-alameda county coliseum? | SELECT COUNT(date) FROM table_13259019_2 WHERE game_site = "Oakland-Alameda County Coliseum" |
CREATE TABLE table_13301516_1 (title VARCHAR, us_viewers__millions_ VARCHAR) | Which episode was watched by 11.75 million U.S. viewers? | SELECT title FROM table_13301516_1 WHERE us_viewers__millions_ = "11.75" |
CREATE TABLE table_13301516_1 (us_viewers__millions_ VARCHAR, original_air_date VARCHAR) | How many U.S. viewers, in millions, watched the episode that aired on November 13, 2007? | SELECT us_viewers__millions_ FROM table_13301516_1 WHERE original_air_date = "November 13, 2007" |
CREATE TABLE table_13301516_1 (no_in_series VARCHAR, original_air_date VARCHAR) | How many episodes originally aired on April 29, 2008? | SELECT COUNT(no_in_series) FROM table_13301516_1 WHERE original_air_date = "April 29, 2008" |
CREATE TABLE table_13301516_1 (us_viewers__millions_ VARCHAR, no_in_series VARCHAR) | How many millions of U.S. viewers watched episode 185? | SELECT us_viewers__millions_ FROM table_13301516_1 WHERE no_in_series = 185 |
CREATE TABLE table_13301516_1 (directed_by VARCHAR, original_air_date VARCHAR) | Who directed the episode that originally aired on January 15, 2008? | SELECT directed_by FROM table_13301516_1 WHERE original_air_date = "January 15, 2008" |
CREATE TABLE table_13312864_1 (player VARCHAR, weight VARCHAR) | How many players weight 95? | SELECT COUNT(player) FROM table_13312864_1 WHERE weight = 95 |
CREATE TABLE table_13312864_1 (weight INTEGER, player VARCHAR) | What's Enrique de la Fuente's weight? | SELECT MIN(weight) FROM table_13312864_1 WHERE player = "Enrique de la Fuente" |
CREATE TABLE table_1329532_2 (date_of_election VARCHAR, appointed_successor VARCHAR) | What was the election date for H. Brent Coles? | SELECT date_of_election FROM table_1329532_2 WHERE appointed_successor = "H. Brent Coles" |
CREATE TABLE table_1329532_2 (date_of_election VARCHAR, elected_successor VARCHAR) | What was the election date for Arthur Hodges? | SELECT date_of_election FROM table_1329532_2 WHERE elected_successor = "Arthur Hodges" |
CREATE TABLE table_13282157_1 (country VARCHAR, _number VARCHAR) | What is the country for # 8 | SELECT country FROM table_13282157_1 WHERE _number = 8 |
CREATE TABLE table_13282157_1 (country VARCHAR, player VARCHAR) | what is the country where the player is phil mickelson? | SELECT country FROM table_13282157_1 WHERE player = "Phil Mickelson" |
CREATE TABLE table_13282157_1 (Reset INTEGER, events VARCHAR) | What is the highest reset points where the events is 23? | SELECT MAX(Reset) AS points FROM table_13282157_1 WHERE events = 23 |
CREATE TABLE table_13328239_4 (round VARCHAR, venue VARCHAR, result VARCHAR) | What round was held at Knowsley Road, resulting in a lose. | SELECT round FROM table_13328239_4 WHERE venue = "Knowsley Road" AND result = "Lose" |
CREATE TABLE table_13328239_4 (score VARCHAR, round VARCHAR) | What's the score of the QF round? | SELECT score FROM table_13328239_4 WHERE round = "QF" |
CREATE TABLE table_13328239_4 (round VARCHAR, score VARCHAR) | How many rounds ended with a score of 16-52? | SELECT COUNT(round) FROM table_13328239_4 WHERE score = "16-52" |
CREATE TABLE table_13328239_4 (opponent VARCHAR, round VARCHAR) | Who was the opponent in round 2? | SELECT opponent FROM table_13328239_4 WHERE round = "2" |
CREATE TABLE table_13328239_4 (date VARCHAR, venue VARCHAR) | When was the game happening at Halton Stadium? | SELECT date FROM table_13328239_4 WHERE venue = "Halton Stadium" |
CREATE TABLE table_13328239_4 (competition VARCHAR, score VARCHAR) | What competition ended with a score of 38-14? | SELECT competition FROM table_13328239_4 WHERE score = "38-14" |
CREATE TABLE table_1333612_1 (population VARCHAR, country VARCHAR) | what's the population with country being chile | SELECT population FROM table_1333612_1 WHERE country = "Chile" |
CREATE TABLE table_1333612_1 (s_mestizo VARCHAR, asians VARCHAR, whites VARCHAR) | what's the s mestizo with asians being 0.2% and whites being 74.8% | SELECT s_mestizo FROM table_1333612_1 WHERE asians = "0.2%" AND whites = "74.8%" |
CREATE TABLE table_1333612_1 (country VARCHAR, es_mulatto VARCHAR) | what's the country with es mulatto being 3.5% | SELECT country FROM table_1333612_1 WHERE es_mulatto = "3.5%" |
CREATE TABLE table_1333612_1 (s_mestizo VARCHAR, population VARCHAR) | what's the s mestizo with population being 29461933 | SELECT s_mestizo FROM table_1333612_1 WHERE population = 29461933 |
CREATE TABLE table_1333612_1 (native_american VARCHAR, es_mulatto VARCHAR) | what's the native american with es mulatto being 0.7% | SELECT native_american FROM table_1333612_1 WHERE es_mulatto = "0.7%" |
CREATE TABLE table_1333612_1 (native_american VARCHAR, whites VARCHAR) | how many native american with whites being 1.0% | SELECT COUNT(native_american) FROM table_1333612_1 WHERE whites = "1.0%" |
CREATE TABLE table_13336122_3 (original_air_date VARCHAR, directed_by VARCHAR) | When did the episode directed by David Duchovny originally air? | SELECT original_air_date FROM table_13336122_3 WHERE directed_by = "David Duchovny" |
CREATE TABLE table_13336122_3 (title VARCHAR, directed_by VARCHAR, no_in_series VARCHAR) | What's the title of the episode directed by David von Ancken, with a episode number bigger than 16.0? | SELECT title FROM table_13336122_3 WHERE directed_by = "David Von Ancken" AND no_in_series > 16.0 |
CREATE TABLE table_13336122_3 (title VARCHAR, directed_by VARCHAR) | How many episodes have been directed by David Duchovny? | SELECT COUNT(title) FROM table_13336122_3 WHERE directed_by = "David Duchovny" |
CREATE TABLE table_13336122_3 (no_in_season INTEGER, no_in_series VARCHAR) | What's the smallest episode number of an episode whose number in the series is 22? | SELECT MIN(no_in_season) FROM table_13336122_3 WHERE no_in_series = 22 |
CREATE TABLE table_13336122_6 (us_viewers__million_ VARCHAR, no_in_season VARCHAR) | Name the number of shows when there was 2 million views | SELECT COUNT(us_viewers__million_) FROM table_13336122_6 WHERE no_in_season = 2 |
CREATE TABLE table_13336122_5 (original_air_date VARCHAR, written_by VARCHAR) | what is the original air date for the episoe written by vanessa reisen? | SELECT original_air_date FROM table_13336122_5 WHERE written_by = "Vanessa Reisen" |
CREATE TABLE table_13397394_1 (completed INTEGER, building VARCHAR) | what is the maximum completed for delta bessborough | SELECT MAX(completed) FROM table_13397394_1 WHERE building = "Delta Bessborough" |
CREATE TABLE table_13397394_1 (completed VARCHAR, address VARCHAR) | what is the maximum completed for address on 410 22nd st e | SELECT completed FROM table_13397394_1 WHERE address = "410 22nd St E" |
CREATE TABLE table_13397394_1 (building VARCHAR, address VARCHAR) | what is the total number of building for address on 201 1st avenue south | SELECT COUNT(building) FROM table_13397394_1 WHERE address = "201 1st Avenue South" |
CREATE TABLE table_13397394_1 (building VARCHAR, storeys VARCHAR) | what are all the building with 12 storeys | SELECT building FROM table_13397394_1 WHERE storeys = 12 |
CREATE TABLE table_13397394_1 (storeys INTEGER, address VARCHAR) | what is the minimum storeys on 325 5th ave n | SELECT MIN(storeys) FROM table_13397394_1 WHERE address = "325 5th Ave N" |
CREATE TABLE table_1337525_1 (region_2 VARCHAR, complete_series VARCHAR) | What is the region 2 for the complete fifth series? | SELECT region_2 FROM table_1337525_1 WHERE complete_series = "The Complete Fifth Series" |
CREATE TABLE table_1337525_1 (region_4 VARCHAR, complete_series VARCHAR) | What is the number of region 4 for the series of the complete seventh series? | SELECT COUNT(region_4) FROM table_1337525_1 WHERE complete_series = "The Complete Seventh Series" |
CREATE TABLE table_1337525_1 (region_1 VARCHAR, region_4 VARCHAR, complete_series VARCHAR) | What is the region 1 where region 4 is tba is the complete eighth series? | SELECT region_1 FROM table_1337525_1 WHERE region_4 = "TBA" AND complete_series = "The Complete Eighth Series" |
CREATE TABLE table_1337525_1 (region_4 VARCHAR, complete_series VARCHAR) | Name the region 4 for the complete fifth series | SELECT region_4 FROM table_1337525_1 WHERE complete_series = "The Complete Fifth Series" |
CREATE TABLE table_13399573_3 (tries_against VARCHAR, won VARCHAR) | How many tries were against when the number won was 14? | SELECT tries_against FROM table_13399573_3 WHERE won = "14" |
CREATE TABLE table_13399573_3 (try_bonus VARCHAR, points_against VARCHAR) | What was the number of bonus tries when there were 522 points against? | SELECT try_bonus FROM table_13399573_3 WHERE points_against = "522" |
CREATE TABLE table_13399573_3 (losing_bonus VARCHAR, tries_for VARCHAR) | How many numbers were listed under losing bonus when there were 68 tries for? | SELECT COUNT(losing_bonus) FROM table_13399573_3 WHERE tries_for = "68" |
CREATE TABLE table_13399573_3 (points_for VARCHAR, points VARCHAR) | What amount of points for were there when there was 52 points? | SELECT points_for FROM table_13399573_3 WHERE points = "52" |
CREATE TABLE table_13399573_3 (points_against VARCHAR, won VARCHAR) | What was the number of points against when the amount won is 10? | SELECT points_against FROM table_13399573_3 WHERE won = "10" |
CREATE TABLE table_13399573_3 (try_bonus VARCHAR) | What is listed under try bonus when listed under Tries for is tries for? | SELECT try_bonus FROM table_13399573_3 WHERE "tries_for" = "tries_for" |
CREATE TABLE table_13403120_1 (originalairdate VARCHAR, repeatairdate_s_ VARCHAR) | What is the original date of the repeat air date of 26/01/1969? | SELECT originalairdate FROM table_13403120_1 WHERE repeatairdate_s_ = "26/01/1969" |
CREATE TABLE table_13403120_1 (repeatairdate_s_ VARCHAR, originalairdate VARCHAR) | What is the repeat date of the episode that aired 22/12/1968? | SELECT repeatairdate_s_ FROM table_13403120_1 WHERE originalairdate = "22/12/1968" |
CREATE TABLE table_13403120_1 (writer_s_ VARCHAR, prodcode VARCHAR) | who is the writer of the episode with prod.code 30-17 | SELECT writer_s_ FROM table_13403120_1 WHERE prodcode = "30-17" |
CREATE TABLE table_13403120_1 (prodcode VARCHAR, originalairdate VARCHAR) | what is the prod.code of the episode with original air date 01/12/1968? | SELECT COUNT(prodcode) FROM table_13403120_1 WHERE originalairdate = "01/12/1968" |
CREATE TABLE table_13399573_4 (points_against VARCHAR, points VARCHAR) | In the 2008/2009 season one team had a season total points of 31, for that team how many total points were scored against them? | SELECT points_against FROM table_13399573_4 WHERE points = "31" |
CREATE TABLE table_13399573_4 (points_for VARCHAR, losing_bonus VARCHAR) | In the 2008/2009 season one team had 1 losing bonus, How many points did that team score that year? | SELECT points_for FROM table_13399573_4 WHERE losing_bonus = "1" |
CREATE TABLE table_13399573_4 (won VARCHAR, tries_against VARCHAR) | In the 2008/2009 season one team had 47 tries against, how many games did they win that year? | SELECT won FROM table_13399573_4 WHERE tries_against = "47" |
CREATE TABLE table_13399573_4 (losing_bonus VARCHAR, tries_against VARCHAR) | In the 2008/2009 season one team had 39 tries against, how many losing bonuses did they have that year? | SELECT losing_bonus FROM table_13399573_4 WHERE tries_against = "39" |
CREATE TABLE table_1341395_22 (candidates VARCHAR, incumbent VARCHAR) | Who were the candidates when ed markey was the incumbent? | SELECT candidates FROM table_1341395_22 WHERE incumbent = "Ed Markey" |
CREATE TABLE table_1341395_22 (result VARCHAR, incumbent VARCHAR) | How many times was the incumbent mike capuano | SELECT COUNT(result) FROM table_1341395_22 WHERE incumbent = "Mike Capuano" |
CREATE TABLE table_1341395_22 (candidates VARCHAR, incumbent VARCHAR) | Who were the candidates when Barney Frank was the incumbent? | SELECT candidates FROM table_1341395_22 WHERE incumbent = "Barney Frank" |
CREATE TABLE table_1341395_22 (first_elected INTEGER, district VARCHAR) | What was the earliest year someone was first elected from Massachusetts 3 | SELECT MIN(first_elected) FROM table_1341395_22 WHERE district = "Massachusetts 3" |
CREATE TABLE table_1341423_20 (party VARCHAR, incumbent VARCHAR) | What party did incumbent Albert Wynn belong to? | SELECT party FROM table_1341423_20 WHERE incumbent = "Albert Wynn" |
CREATE TABLE table_1341423_20 (results VARCHAR, district VARCHAR) | What was the result of the election in the Maryland 7 district? | SELECT results FROM table_1341423_20 WHERE district = "Maryland 7" |
CREATE TABLE table_1341423_20 (candidates VARCHAR, incumbent VARCHAR) | How many candidates ran in the election where Wayne Gilchrest was the incumbent? | SELECT COUNT(candidates) FROM table_1341423_20 WHERE incumbent = "Wayne Gilchrest" |
CREATE TABLE table_1341423_20 (results VARCHAR, incumbent VARCHAR) | What were the results in the election where Albert Wynn was the incumbent? | SELECT results FROM table_1341423_20 WHERE incumbent = "Albert Wynn" |
CREATE TABLE table_1341423_20 (candidates VARCHAR, district VARCHAR) | Who were the candidates in the Maryland 5 district election? | SELECT candidates FROM table_1341423_20 WHERE district = "Maryland 5" |
CREATE TABLE table_1341423_13 (district VARCHAR, incumbent VARCHAR) | What district is Henry Hyde in | SELECT district FROM table_1341423_13 WHERE incumbent = "Henry Hyde" |
CREATE TABLE table_1341423_13 (first_elected INTEGER, incumbent VARCHAR) | What year was Luis Gutierrez election | SELECT MIN(first_elected) FROM table_1341423_13 WHERE incumbent = "Luis Gutierrez" |
CREATE TABLE table_1341423_21 (district VARCHAR, incumbent VARCHAR) | Which district is Joe Moakley? | SELECT district FROM table_1341423_21 WHERE incumbent = "Joe Moakley" |
CREATE TABLE table_1341423_21 (first_elected INTEGER) | What is the lowest first elected? | SELECT MIN(first_elected) FROM table_1341423_21 |
CREATE TABLE table_1341423_32 (first_elected VARCHAR, incumbent VARCHAR) | Name the first election for john mchugh | SELECT COUNT(first_elected) FROM table_1341423_32 WHERE incumbent = "John McHugh" |
CREATE TABLE table_1341423_32 (results VARCHAR, district VARCHAR) | Name the results for district new york 24 | SELECT results FROM table_1341423_32 WHERE district = "New York 24" |
CREATE TABLE table_1341423_32 (district VARCHAR, incumbent VARCHAR) | Name the district for carolyn mccarthy | SELECT district FROM table_1341423_32 WHERE incumbent = "Carolyn McCarthy" |
CREATE TABLE table_1341423_32 (party VARCHAR, district VARCHAR) | Name the number of party for new york 29 | SELECT COUNT(party) FROM table_1341423_32 WHERE district = "New York 29" |
CREATE TABLE table_1341423_22 (party VARCHAR, first_elected VARCHAR) | Which party does the incumbent first elected in 1994 belong to? | SELECT party FROM table_1341423_22 WHERE first_elected = 1994 |
CREATE TABLE table_1341423_22 (district VARCHAR, incumbent VARCHAR) | How many districts have Bart Stupak as the incumbent? | SELECT COUNT(district) FROM table_1341423_22 WHERE incumbent = "Bart Stupak" |
CREATE TABLE table_1341423_35 (incumbent VARCHAR, first_elected VARCHAR) | Who was elected in 1972 | SELECT incumbent FROM table_1341423_35 WHERE first_elected = 1972 |
CREATE TABLE table_1341423_40 (first_elected INTEGER, results VARCHAR, district VARCHAR) | what is the earliest first elected with the results re-elected in the district south carolina 3? | SELECT MAX(first_elected) FROM table_1341423_40 WHERE results = "Re-elected" AND district = "South Carolina 3" |
CREATE TABLE table_1341423_40 (party VARCHAR, incumbent VARCHAR) | what is the party with the incumbent jim demint? | SELECT party FROM table_1341423_40 WHERE incumbent = "Jim DeMint" |
CREATE TABLE table_1341423_40 (party VARCHAR, district VARCHAR) | what is the party for the district south carolina 4? | SELECT party FROM table_1341423_40 WHERE district = "South Carolina 4" |
CREATE TABLE table_1341423_40 (party VARCHAR, candidates VARCHAR) | what is the party when candidates is jim demint (r) 80%? | SELECT party FROM table_1341423_40 WHERE candidates = "Jim DeMint (R) 80%" |
CREATE TABLE table_1341423_40 (candidates VARCHAR, incumbent VARCHAR) | who are the candidates when the incumbent is lindsey graham? | SELECT candidates FROM table_1341423_40 WHERE incumbent = "Lindsey Graham" |
CREATE TABLE table_1341423_36 (results VARCHAR, incumbent VARCHAR) | What was the results when the incumbent was ernest istook? | SELECT results FROM table_1341423_36 WHERE incumbent = "Ernest Istook" |
CREATE TABLE table_1341423_36 (results VARCHAR, district VARCHAR) | What was the results for the district oklahoma 3? | SELECT results FROM table_1341423_36 WHERE district = "Oklahoma 3" |
CREATE TABLE table_1341423_36 (party VARCHAR, district VARCHAR) | How many party were listed for district oklahoma 5? | SELECT COUNT(party) FROM table_1341423_36 WHERE district = "Oklahoma 5" |
CREATE TABLE table_1341423_36 (party VARCHAR, candidates VARCHAR) | What is the party when the candidates were ernest istook (r) 69% garland mcwatters (d) 28%? | SELECT party FROM table_1341423_36 WHERE candidates = "Ernest Istook (R) 69% Garland McWatters (D) 28%" |
CREATE TABLE table_1341423_36 (first_elected VARCHAR, district VARCHAR) | when was the first elected for districk oklahoma 1? | SELECT first_elected FROM table_1341423_36 WHERE district = "Oklahoma 1" |
CREATE TABLE table_1341423_36 (results VARCHAR, district VARCHAR) | What were the results for the district oklahoma 5? | SELECT results FROM table_1341423_36 WHERE district = "Oklahoma 5" |
CREATE TABLE table_1341423_38 (party VARCHAR, incumbent VARCHAR) | How many parties is the incumbent Bob Brady a member of? | SELECT COUNT(party) FROM table_1341423_38 WHERE incumbent = "Bob Brady" |
CREATE TABLE table_1341423_38 (candidates VARCHAR, incumbent VARCHAR) | How many candidates were there in the district won by Joe Hoeffel? | SELECT COUNT(candidates) FROM table_1341423_38 WHERE incumbent = "Joe Hoeffel" |
CREATE TABLE table_1341423_38 (candidates VARCHAR, district VARCHAR) | Who were the candidates in district Pennsylvania 3? | SELECT candidates FROM table_1341423_38 WHERE district = "Pennsylvania 3" |
CREATE TABLE table_1341423_38 (first_elected INTEGER, incumbent VARCHAR) | What's the first elected year of the district whose incumbent is Jim Greenwood? | SELECT MAX(first_elected) FROM table_1341423_38 WHERE incumbent = "Jim Greenwood" |
CREATE TABLE table_1341423_46 (results VARCHAR, incumbent VARCHAR) | What was the result of the election featuring incumbent norman sisisky? | SELECT results FROM table_1341423_46 WHERE incumbent = "Norman Sisisky" |
CREATE TABLE table_1341423_49 (candidates VARCHAR, first_elected VARCHAR, incumbent VARCHAR) | Who were the candidates in the district first elected in 1998 whose incumbent ended up being Paul Ryan? | SELECT candidates FROM table_1341423_49 WHERE first_elected = 1998 AND incumbent = "Paul Ryan" |
CREATE TABLE table_1341423_49 (candidates VARCHAR, incumbent VARCHAR) | Who ran in the district elections won by Tom Petri? | SELECT candidates FROM table_1341423_49 WHERE incumbent = "Tom Petri" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.