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