question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 | text stringlengths 114 1.06k |
|---|---|---|---|
When was the first election in the district whose incumbent is Ron Kind? | CREATE TABLE table_1341423_49 (first_elected INTEGER, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_1341423_49 WHERE incumbent = "Ron Kind" | ### Context: CREATE TABLE table_1341423_49 (first_elected INTEGER, incumbent VARCHAR) ### Question: When was the first election in the district whose incumbent is Ron Kind? ### Answer: SELECT MIN(first_elected) FROM table_1341423_49 WHERE incumbent = "Ron Kind" |
Name the first elected for texas 6 district | CREATE TABLE table_1341423_43 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_1341423_43 WHERE district = "Texas 6" | ### Context: CREATE TABLE table_1341423_43 (first_elected VARCHAR, district VARCHAR) ### Question: Name the first elected for texas 6 district ### Answer: SELECT first_elected FROM table_1341423_43 WHERE district = "Texas 6" |
Name the incumbent for texas 22 district | CREATE TABLE table_1341423_43 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341423_43 WHERE district = "Texas 22" | ### Context: CREATE TABLE table_1341423_43 (incumbent VARCHAR, district VARCHAR) ### Question: Name the incumbent for texas 22 district ### Answer: SELECT incumbent FROM table_1341423_43 WHERE district = "Texas 22" |
How did the election in the Florida 14 district end? | CREATE TABLE table_1341423_9 (results VARCHAR, district VARCHAR) | SELECT results FROM table_1341423_9 WHERE district = "Florida 14" | ### Context: CREATE TABLE table_1341423_9 (results VARCHAR, district VARCHAR) ### Question: How did the election in the Florida 14 district end? ### Answer: SELECT results FROM table_1341423_9 WHERE district = "Florida 14" |
Who's the incumbent of Florida 12 district? | CREATE TABLE table_1341423_9 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341423_9 WHERE district = "Florida 12" | ### Context: CREATE TABLE table_1341423_9 (incumbent VARCHAR, district VARCHAR) ### Question: Who's the incumbent of Florida 12 district? ### Answer: SELECT incumbent FROM table_1341423_9 WHERE district = "Florida 12" |
Who is the incumbent of Florida 9? | CREATE TABLE table_1341423_9 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341423_9 WHERE district = "Florida 9" | ### Context: CREATE TABLE table_1341423_9 (incumbent VARCHAR, district VARCHAR) ### Question: Who is the incumbent of Florida 9? ### Answer: SELECT incumbent FROM table_1341423_9 WHERE district = "Florida 9" |
Who's the incumbent in Florida 6? | CREATE TABLE table_1341453_11 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341453_11 WHERE district = "Florida 6" | ### Context: CREATE TABLE table_1341453_11 (incumbent VARCHAR, district VARCHAR) ### Question: Who's the incumbent in Florida 6? ### Answer: SELECT incumbent FROM table_1341453_11 WHERE district = "Florida 6" |
What party does Bill McCollum belong to? | CREATE TABLE table_1341453_11 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341453_11 WHERE incumbent = "Bill McCollum" | ### Context: CREATE TABLE table_1341453_11 (party VARCHAR, incumbent VARCHAR) ### Question: What party does Bill McCollum belong to? ### Answer: SELECT party FROM table_1341453_11 WHERE incumbent = "Bill McCollum" |
What are the results in the county with Peter Deutsch as a candidate? | CREATE TABLE table_1341453_11 (results VARCHAR, incumbent VARCHAR) | SELECT results FROM table_1341453_11 WHERE incumbent = "Peter Deutsch" | ### Context: CREATE TABLE table_1341453_11 (results VARCHAR, incumbent VARCHAR) ### Question: What are the results in the county with Peter Deutsch as a candidate? ### Answer: SELECT results FROM table_1341453_11 WHERE incumbent = "Peter Deutsch" |
How did the election end for Robert Wexler? | CREATE TABLE table_1341453_11 (results VARCHAR, incumbent VARCHAR) | SELECT results FROM table_1341453_11 WHERE incumbent = "Robert Wexler" | ### Context: CREATE TABLE table_1341453_11 (results VARCHAR, incumbent VARCHAR) ### Question: How did the election end for Robert Wexler? ### Answer: SELECT results FROM table_1341453_11 WHERE incumbent = "Robert Wexler" |
What party was the winner in the district Maryland 6? | CREATE TABLE table_1341453_22 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1341453_22 WHERE district = "Maryland 6" | ### Context: CREATE TABLE table_1341453_22 (party VARCHAR, district VARCHAR) ### Question: What party was the winner in the district Maryland 6? ### Answer: SELECT party FROM table_1341453_22 WHERE district = "Maryland 6" |
Who run for office in district Maryland 3? | CREATE TABLE table_1341453_22 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1341453_22 WHERE district = "Maryland 3" | ### Context: CREATE TABLE table_1341453_22 (candidates VARCHAR, district VARCHAR) ### Question: Who run for office in district Maryland 3? ### Answer: SELECT candidates FROM table_1341453_22 WHERE district = "Maryland 3" |
List the candidates in district Maryland 1 where the republican party won. | CREATE TABLE table_1341453_22 (candidates VARCHAR, party VARCHAR, district VARCHAR) | SELECT candidates FROM table_1341453_22 WHERE party = "Republican" AND district = "Maryland 1" | ### Context: CREATE TABLE table_1341453_22 (candidates VARCHAR, party VARCHAR, district VARCHAR) ### Question: List the candidates in district Maryland 1 where the republican party won. ### Answer: SELECT candidates FROM table_1341453_22 WHERE party = "Republican" AND district = "Maryland 1" |
When did the elections take place in district Maryland 2? | CREATE TABLE table_1341453_22 (first_elected INTEGER, district VARCHAR) | SELECT MIN(first_elected) FROM table_1341453_22 WHERE district = "Maryland 2" | ### Context: CREATE TABLE table_1341453_22 (first_elected INTEGER, district VARCHAR) ### Question: When did the elections take place in district Maryland 2? ### Answer: SELECT MIN(first_elected) FROM table_1341453_22 WHERE district = "Maryland 2" |
What party is Frank Lobiondo a member of? | CREATE TABLE table_1341453_32 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341453_32 WHERE incumbent = "Frank LoBiondo" | ### Context: CREATE TABLE table_1341453_32 (party VARCHAR, incumbent VARCHAR) ### Question: What party is Frank Lobiondo a member of? ### Answer: SELECT party FROM table_1341453_32 WHERE incumbent = "Frank LoBiondo" |
Who were the candidates in the district whose incumbent is Bill Pascrell? | CREATE TABLE table_1341453_32 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341453_32 WHERE incumbent = "Bill Pascrell" | ### Context: CREATE TABLE table_1341453_32 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who were the candidates in the district whose incumbent is Bill Pascrell? ### Answer: SELECT candidates FROM table_1341453_32 WHERE incumbent = "Bill Pascrell" |
What is the party of the district incumbent Jim Saxton? | CREATE TABLE table_1341453_32 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341453_32 WHERE incumbent = "Jim Saxton" | ### Context: CREATE TABLE table_1341453_32 (party VARCHAR, incumbent VARCHAR) ### Question: What is the party of the district incumbent Jim Saxton? ### Answer: SELECT party FROM table_1341453_32 WHERE incumbent = "Jim Saxton" |
What party is John McHugh a member of? | CREATE TABLE table_1341453_34 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341453_34 WHERE incumbent = "John McHugh" | ### Context: CREATE TABLE table_1341453_34 (party VARCHAR, incumbent VARCHAR) ### Question: What party is John McHugh a member of? ### Answer: SELECT party FROM table_1341453_34 WHERE incumbent = "John McHugh" |
What's the party elected in the district that first elected in 1990? | CREATE TABLE table_1341453_34 (party VARCHAR, first_elected VARCHAR) | SELECT party FROM table_1341453_34 WHERE first_elected = "1990" | ### Context: CREATE TABLE table_1341453_34 (party VARCHAR, first_elected VARCHAR) ### Question: What's the party elected in the district that first elected in 1990? ### Answer: SELECT party FROM table_1341453_34 WHERE first_elected = "1990" |
What's the first elected year of the district that Ed Towns is an incumbent of? | CREATE TABLE table_1341453_34 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_1341453_34 WHERE incumbent = "Ed Towns" | ### Context: CREATE TABLE table_1341453_34 (first_elected VARCHAR, incumbent VARCHAR) ### Question: What's the first elected year of the district that Ed Towns is an incumbent of? ### Answer: SELECT first_elected FROM table_1341453_34 WHERE incumbent = "Ed Towns" |
How many elections have resulted in retired democratic hold? | CREATE TABLE table_1341453_34 (party VARCHAR, results VARCHAR) | SELECT COUNT(party) FROM table_1341453_34 WHERE results = "Retired Democratic hold" | ### Context: CREATE TABLE table_1341453_34 (party VARCHAR, results VARCHAR) ### Question: How many elections have resulted in retired democratic hold? ### Answer: SELECT COUNT(party) FROM table_1341453_34 WHERE results = "Retired Democratic hold" |
What were the candidates in the district that first elected in 1980? | CREATE TABLE table_1341453_34 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_1341453_34 WHERE first_elected = "1980" | ### Context: CREATE TABLE table_1341453_34 (candidates VARCHAR, first_elected VARCHAR) ### Question: What were the candidates in the district that first elected in 1980? ### Answer: SELECT candidates FROM table_1341453_34 WHERE first_elected = "1980" |
When was Chaka Fattah first elected in the Pennsylvania 2 district? | CREATE TABLE table_1341453_40 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_1341453_40 WHERE district = "Pennsylvania 2" | ### Context: CREATE TABLE table_1341453_40 (first_elected VARCHAR, district VARCHAR) ### Question: When was Chaka Fattah first elected in the Pennsylvania 2 district? ### Answer: SELECT first_elected FROM table_1341453_40 WHERE district = "Pennsylvania 2" |
How many incumbents were first elected in 1984? | CREATE TABLE table_1341453_40 (incumbent VARCHAR, first_elected VARCHAR) | SELECT COUNT(incumbent) FROM table_1341453_40 WHERE first_elected = "1984" | ### Context: CREATE TABLE table_1341453_40 (incumbent VARCHAR, first_elected VARCHAR) ### Question: How many incumbents were first elected in 1984? ### Answer: SELECT COUNT(incumbent) FROM table_1341453_40 WHERE first_elected = "1984" |
When was incumbent Bud Shuster first elected? | CREATE TABLE table_1341453_40 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_1341453_40 WHERE incumbent = "Bud Shuster" | ### Context: CREATE TABLE table_1341453_40 (first_elected VARCHAR, incumbent VARCHAR) ### Question: When was incumbent Bud Shuster first elected? ### Answer: SELECT first_elected FROM table_1341453_40 WHERE incumbent = "Bud Shuster" |
How many candidates ran in the election where Mike Doyle was the incumbent? | CREATE TABLE table_1341453_40 (candidates VARCHAR, incumbent VARCHAR) | SELECT COUNT(candidates) FROM table_1341453_40 WHERE incumbent = "Mike Doyle" | ### Context: CREATE TABLE table_1341453_40 (candidates VARCHAR, incumbent VARCHAR) ### Question: How many candidates ran in the election where Mike Doyle was the incumbent? ### Answer: SELECT COUNT(candidates) FROM table_1341453_40 WHERE incumbent = "Mike Doyle" |
Incumbent Tim Holden belonged to what party? | CREATE TABLE table_1341453_40 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341453_40 WHERE incumbent = "Tim Holden" | ### Context: CREATE TABLE table_1341453_40 (party VARCHAR, incumbent VARCHAR) ### Question: Incumbent Tim Holden belonged to what party? ### Answer: SELECT party FROM table_1341453_40 WHERE incumbent = "Tim Holden" |
In what district was Tim Holden the incumbent? | CREATE TABLE table_1341453_40 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341453_40 WHERE incumbent = "Tim Holden" | ### Context: CREATE TABLE table_1341453_40 (district VARCHAR, incumbent VARCHAR) ### Question: In what district was Tim Holden the incumbent? ### Answer: SELECT district FROM table_1341453_40 WHERE incumbent = "Tim Holden" |
Which incumbent was first elected in 1984? | CREATE TABLE table_1341453_44 (incumbent VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_1341453_44 WHERE first_elected = 1984 | ### Context: CREATE TABLE table_1341453_44 (incumbent VARCHAR, first_elected VARCHAR) ### Question: Which incumbent was first elected in 1984? ### Answer: SELECT incumbent FROM table_1341453_44 WHERE first_elected = 1984 |
When was the incumbent in the Tennessee 4 district first elected? | CREATE TABLE table_1341453_44 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_1341453_44 WHERE district = "Tennessee 4" | ### Context: CREATE TABLE table_1341453_44 (first_elected VARCHAR, district VARCHAR) ### Question: When was the incumbent in the Tennessee 4 district first elected? ### Answer: SELECT first_elected FROM table_1341453_44 WHERE district = "Tennessee 4" |
Who are the candidates in the Tennessee 3 district election? | CREATE TABLE table_1341453_44 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1341453_44 WHERE district = "Tennessee 3" | ### Context: CREATE TABLE table_1341453_44 (candidates VARCHAR, district VARCHAR) ### Question: Who are the candidates in the Tennessee 3 district election? ### Answer: SELECT candidates FROM table_1341453_44 WHERE district = "Tennessee 3" |
What year was Bob Clement first elected? | CREATE TABLE table_1341453_44 (first_elected INTEGER, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_1341453_44 WHERE incumbent = "Bob Clement" | ### Context: CREATE TABLE table_1341453_44 (first_elected INTEGER, incumbent VARCHAR) ### Question: What year was Bob Clement first elected? ### Answer: SELECT MIN(first_elected) FROM table_1341453_44 WHERE incumbent = "Bob Clement" |
List all the candidates for the seat where the incumbent is Sam Gibbons? | CREATE TABLE table_1341472_11 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341472_11 WHERE incumbent = "Sam Gibbons" | ### Context: CREATE TABLE table_1341472_11 (candidates VARCHAR, incumbent VARCHAR) ### Question: List all the candidates for the seat where the incumbent is Sam Gibbons? ### Answer: SELECT candidates FROM table_1341472_11 WHERE incumbent = "Sam Gibbons" |
Who were the candidates in district Wisconsin 4? | CREATE TABLE table_1341453_51 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1341453_51 WHERE district = "Wisconsin 4" | ### Context: CREATE TABLE table_1341453_51 (candidates VARCHAR, district VARCHAR) ### Question: Who were the candidates in district Wisconsin 4? ### Answer: SELECT candidates FROM table_1341453_51 WHERE district = "Wisconsin 4" |
Who's the incumbent in the district that first elected in 1969? | CREATE TABLE table_1341453_51 (incumbent VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_1341453_51 WHERE first_elected = 1969 | ### Context: CREATE TABLE table_1341453_51 (incumbent VARCHAR, first_elected VARCHAR) ### Question: Who's the incumbent in the district that first elected in 1969? ### Answer: SELECT incumbent FROM table_1341453_51 WHERE first_elected = 1969 |
Who's the incumbent of district Wisconsin 5? | CREATE TABLE table_1341453_51 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341453_51 WHERE district = "Wisconsin 5" | ### Context: CREATE TABLE table_1341453_51 (incumbent VARCHAR, district VARCHAR) ### Question: Who's the incumbent of district Wisconsin 5? ### Answer: SELECT incumbent FROM table_1341453_51 WHERE district = "Wisconsin 5" |
How many districts does gary condit represent? | CREATE TABLE table_1341453_7 (district VARCHAR, incumbent VARCHAR) | SELECT COUNT(district) FROM table_1341453_7 WHERE incumbent = "Gary Condit" | ### Context: CREATE TABLE table_1341453_7 (district VARCHAR, incumbent VARCHAR) ### Question: How many districts does gary condit represent? ### Answer: SELECT COUNT(district) FROM table_1341453_7 WHERE incumbent = "Gary Condit" |
What party was first elected in 1974? | CREATE TABLE table_1341453_7 (party VARCHAR, first_elected VARCHAR) | SELECT party FROM table_1341453_7 WHERE first_elected = 1974 | ### Context: CREATE TABLE table_1341453_7 (party VARCHAR, first_elected VARCHAR) ### Question: What party was first elected in 1974? ### Answer: SELECT party FROM table_1341453_7 WHERE first_elected = 1974 |
What district is bill thomas from? | CREATE TABLE table_1341453_7 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341453_7 WHERE incumbent = "Bill Thomas" | ### Context: CREATE TABLE table_1341453_7 (district VARCHAR, incumbent VARCHAR) ### Question: What district is bill thomas from? ### Answer: SELECT district FROM table_1341453_7 WHERE incumbent = "Bill Thomas" |
Who was the incumbent of district Georgia 2? | CREATE TABLE table_1341472_12 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341472_12 WHERE district = "Georgia 2" | ### Context: CREATE TABLE table_1341472_12 (incumbent VARCHAR, district VARCHAR) ### Question: Who was the incumbent of district Georgia 2? ### Answer: SELECT incumbent FROM table_1341472_12 WHERE district = "Georgia 2" |
What district is Mac Collins an incumbent in? | CREATE TABLE table_1341472_12 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341472_12 WHERE incumbent = "Mac Collins" | ### Context: CREATE TABLE table_1341472_12 (district VARCHAR, incumbent VARCHAR) ### Question: What district is Mac Collins an incumbent in? ### Answer: SELECT district FROM table_1341472_12 WHERE incumbent = "Mac Collins" |
What's the first elected year of the district who's been the last one to do so? | CREATE TABLE table_1341472_12 (first_elected INTEGER) | SELECT MAX(first_elected) FROM table_1341472_12 | ### Context: CREATE TABLE table_1341472_12 (first_elected INTEGER) ### Question: What's the first elected year of the district who's been the last one to do so? ### Answer: SELECT MAX(first_elected) FROM table_1341472_12 |
Who were the candidates in the district where Charlie Norwood is the incumbent? | CREATE TABLE table_1341472_12 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341472_12 WHERE incumbent = "Charlie Norwood" | ### Context: CREATE TABLE table_1341472_12 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who were the candidates in the district where Charlie Norwood is the incumbent? ### Answer: SELECT candidates FROM table_1341472_12 WHERE incumbent = "Charlie Norwood" |
Which result did the Republican have with the incumbent, Billy Tauzin? | CREATE TABLE table_1341472_20 (result VARCHAR, party VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1341472_20 WHERE party = "Republican" AND incumbent = "Billy Tauzin" | ### Context: CREATE TABLE table_1341472_20 (result VARCHAR, party VARCHAR, incumbent VARCHAR) ### Question: Which result did the Republican have with the incumbent, Billy Tauzin? ### Answer: SELECT result FROM table_1341472_20 WHERE party = "Republican" AND incumbent = "Billy Tauzin" |
How many districts was Robert Livingston incumbent in? | CREATE TABLE table_1341472_20 (district VARCHAR, incumbent VARCHAR) | SELECT COUNT(district) FROM table_1341472_20 WHERE incumbent = "Robert Livingston" | ### Context: CREATE TABLE table_1341472_20 (district VARCHAR, incumbent VARCHAR) ### Question: How many districts was Robert Livingston incumbent in? ### Answer: SELECT COUNT(district) FROM table_1341472_20 WHERE incumbent = "Robert Livingston" |
What is the first election year listed? | CREATE TABLE table_1341472_20 (first_elected INTEGER) | SELECT MIN(first_elected) FROM table_1341472_20 | ### Context: CREATE TABLE table_1341472_20 (first_elected INTEGER) ### Question: What is the first election year listed? ### Answer: SELECT MIN(first_elected) FROM table_1341472_20 |
List all results in elections with Richard Baker as the incumbent. | CREATE TABLE table_1341472_20 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1341472_20 WHERE incumbent = "Richard Baker" | ### Context: CREATE TABLE table_1341472_20 (result VARCHAR, incumbent VARCHAR) ### Question: List all results in elections with Richard Baker as the incumbent. ### Answer: SELECT result FROM table_1341472_20 WHERE incumbent = "Richard Baker" |
how many party with district being washington 7 | CREATE TABLE table_1341472_49 (party VARCHAR, district VARCHAR) | SELECT COUNT(party) FROM table_1341472_49 WHERE district = "Washington 7" | ### Context: CREATE TABLE table_1341472_49 (party VARCHAR, district VARCHAR) ### Question: how many party with district being washington 7 ### Answer: SELECT COUNT(party) FROM table_1341472_49 WHERE district = "Washington 7" |
what's the latest first elected year | CREATE TABLE table_1341472_49 (first_elected INTEGER) | SELECT MAX(first_elected) FROM table_1341472_49 | ### Context: CREATE TABLE table_1341472_49 (first_elected INTEGER) ### Question: what's the latest first elected year ### Answer: SELECT MAX(first_elected) FROM table_1341472_49 |
what's the result with district being washington 7 | CREATE TABLE table_1341472_49 (result VARCHAR, district VARCHAR) | SELECT result FROM table_1341472_49 WHERE district = "Washington 7" | ### Context: CREATE TABLE table_1341472_49 (result VARCHAR, district VARCHAR) ### Question: what's the result with district being washington 7 ### Answer: SELECT result FROM table_1341472_49 WHERE district = "Washington 7" |
what being the minimum first elected with district being washington 7 | CREATE TABLE table_1341472_49 (first_elected INTEGER, district VARCHAR) | SELECT MIN(first_elected) FROM table_1341472_49 WHERE district = "Washington 7" | ### Context: CREATE TABLE table_1341472_49 (first_elected INTEGER, district VARCHAR) ### Question: what being the minimum first elected with district being washington 7 ### Answer: SELECT MIN(first_elected) FROM table_1341472_49 WHERE district = "Washington 7" |
what's the result for first elected in 1948 , 1964 | CREATE TABLE table_1341472_15 (result VARCHAR, first_elected VARCHAR) | SELECT result FROM table_1341472_15 WHERE first_elected = "1948 , 1964" | ### Context: CREATE TABLE table_1341472_15 (result VARCHAR, first_elected VARCHAR) ### Question: what's the result for first elected in 1948 , 1964 ### Answer: SELECT result FROM table_1341472_15 WHERE first_elected = "1948 , 1964" |
what's the first elected with district illinois 18 | CREATE TABLE table_1341472_15 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_1341472_15 WHERE district = "Illinois 18" | ### Context: CREATE TABLE table_1341472_15 (first_elected VARCHAR, district VARCHAR) ### Question: what's the first elected with district illinois 18 ### Answer: SELECT first_elected FROM table_1341472_15 WHERE district = "Illinois 18" |
what's the party with candidates jerry weller (r) 51.77% clem balanoff (d) 48.23% | CREATE TABLE table_1341472_15 (party VARCHAR, candidates VARCHAR) | SELECT party FROM table_1341472_15 WHERE candidates = "Jerry Weller (R) 51.77% Clem Balanoff (D) 48.23%" | ### Context: CREATE TABLE table_1341472_15 (party VARCHAR, candidates VARCHAR) ### Question: what's the party with candidates jerry weller (r) 51.77% clem balanoff (d) 48.23% ### Answer: SELECT party FROM table_1341472_15 WHERE candidates = "Jerry Weller (R) 51.77% Clem Balanoff (D) 48.23%" |
what's the party for the first elected in 1980 | CREATE TABLE table_1341472_15 (party VARCHAR, first_elected VARCHAR) | SELECT party FROM table_1341472_15 WHERE first_elected = "1980" | ### Context: CREATE TABLE table_1341472_15 (party VARCHAR, first_elected VARCHAR) ### Question: what's the party for the first elected in 1980 ### Answer: SELECT party FROM table_1341472_15 WHERE first_elected = "1980" |
what's the result with district illinois 15 | CREATE TABLE table_1341472_15 (result VARCHAR, district VARCHAR) | SELECT result FROM table_1341472_15 WHERE district = "Illinois 15" | ### Context: CREATE TABLE table_1341472_15 (result VARCHAR, district VARCHAR) ### Question: what's the result with district illinois 15 ### Answer: SELECT result FROM table_1341472_15 WHERE district = "Illinois 15" |
what's the total number of candidates for first elected in 1948 , 1964 | CREATE TABLE table_1341472_15 (candidates VARCHAR, first_elected VARCHAR) | SELECT COUNT(candidates) FROM table_1341472_15 WHERE first_elected = "1948 , 1964" | ### Context: CREATE TABLE table_1341472_15 (candidates VARCHAR, first_elected VARCHAR) ### Question: what's the total number of candidates for first elected in 1948 , 1964 ### Answer: SELECT COUNT(candidates) FROM table_1341472_15 WHERE first_elected = "1948 , 1964" |
Name thedistrict for 1994 | CREATE TABLE table_1341472_34 (district VARCHAR, first_elected VARCHAR) | SELECT district FROM table_1341472_34 WHERE first_elected = 1994 | ### Context: CREATE TABLE table_1341472_34 (district VARCHAR, first_elected VARCHAR) ### Question: Name thedistrict for 1994 ### Answer: SELECT district FROM table_1341472_34 WHERE first_elected = 1994 |
Name the result for New York 11 | CREATE TABLE table_1341472_34 (result VARCHAR, district VARCHAR) | SELECT result FROM table_1341472_34 WHERE district = "New York 11" | ### Context: CREATE TABLE table_1341472_34 (result VARCHAR, district VARCHAR) ### Question: Name the result for New York 11 ### Answer: SELECT result FROM table_1341472_34 WHERE district = "New York 11" |
Name the number of first elected for new york 11 | CREATE TABLE table_1341472_34 (first_elected VARCHAR, district VARCHAR) | SELECT COUNT(first_elected) FROM table_1341472_34 WHERE district = "New York 11" | ### Context: CREATE TABLE table_1341472_34 (first_elected VARCHAR, district VARCHAR) ### Question: Name the number of first elected for new york 11 ### Answer: SELECT COUNT(first_elected) FROM table_1341472_34 WHERE district = "New York 11" |
Name the first elected for new york 1 | CREATE TABLE table_1341472_34 (first_elected VARCHAR, district VARCHAR) | SELECT COUNT(first_elected) FROM table_1341472_34 WHERE district = "New York 1" | ### Context: CREATE TABLE table_1341472_34 (first_elected VARCHAR, district VARCHAR) ### Question: Name the first elected for new york 1 ### Answer: SELECT COUNT(first_elected) FROM table_1341472_34 WHERE district = "New York 1" |
What year was Larry combest elected | CREATE TABLE table_1341472_45 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_1341472_45 WHERE incumbent = "Larry Combest" | ### Context: CREATE TABLE table_1341472_45 (first_elected VARCHAR, incumbent VARCHAR) ### Question: What year was Larry combest elected ### Answer: SELECT first_elected FROM table_1341472_45 WHERE incumbent = "Larry Combest" |
To what district does Bill Hefner belong? | CREATE TABLE table_1341522_36 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341522_36 WHERE incumbent = "Bill Hefner" | ### Context: CREATE TABLE table_1341522_36 (district VARCHAR, incumbent VARCHAR) ### Question: To what district does Bill Hefner belong? ### Answer: SELECT district FROM table_1341522_36 WHERE incumbent = "Bill Hefner" |
Who ran unsuccessfully against Bill Hefner? | CREATE TABLE table_1341522_36 (opponent VARCHAR, incumbent VARCHAR) | SELECT opponent FROM table_1341522_36 WHERE incumbent = "Bill Hefner" | ### Context: CREATE TABLE table_1341522_36 (opponent VARCHAR, incumbent VARCHAR) ### Question: Who ran unsuccessfully against Bill Hefner? ### Answer: SELECT opponent FROM table_1341522_36 WHERE incumbent = "Bill Hefner" |
How many districts are respresented by Alex McMillan? | CREATE TABLE table_1341522_36 (status VARCHAR, incumbent VARCHAR) | SELECT COUNT(status) FROM table_1341522_36 WHERE incumbent = "Alex McMillan" | ### Context: CREATE TABLE table_1341522_36 (status VARCHAR, incumbent VARCHAR) ### Question: How many districts are respresented by Alex McMillan? ### Answer: SELECT COUNT(status) FROM table_1341522_36 WHERE incumbent = "Alex McMillan" |
What party is Sanford Bishop a member of? | CREATE TABLE table_1341522_13 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341522_13 WHERE incumbent = "Sanford Bishop" | ### Context: CREATE TABLE table_1341522_13 (party VARCHAR, incumbent VARCHAR) ### Question: What party is Sanford Bishop a member of? ### Answer: SELECT party FROM table_1341522_13 WHERE incumbent = "Sanford Bishop" |
What party won in the district Georgia7? | CREATE TABLE table_1341522_13 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1341522_13 WHERE district = "Georgia7" | ### Context: CREATE TABLE table_1341522_13 (party VARCHAR, district VARCHAR) ### Question: What party won in the district Georgia7? ### Answer: SELECT party FROM table_1341522_13 WHERE district = "Georgia7" |
What's Georgia5's first elected year? | CREATE TABLE table_1341522_13 (first_elected INTEGER, district VARCHAR) | SELECT MAX(first_elected) FROM table_1341522_13 WHERE district = "Georgia5" | ### Context: CREATE TABLE table_1341522_13 (first_elected INTEGER, district VARCHAR) ### Question: What's Georgia5's first elected year? ### Answer: SELECT MAX(first_elected) FROM table_1341522_13 WHERE district = "Georgia5" |
Who opposed Marty Meehan in each election? | CREATE TABLE table_1341522_24 (opponent VARCHAR, incumbent VARCHAR) | SELECT opponent FROM table_1341522_24 WHERE incumbent = "Marty Meehan" | ### Context: CREATE TABLE table_1341522_24 (opponent VARCHAR, incumbent VARCHAR) ### Question: Who opposed Marty Meehan in each election? ### Answer: SELECT opponent FROM table_1341522_24 WHERE incumbent = "Marty Meehan" |
Who are the opponents in Massachusetts5 district? | CREATE TABLE table_1341522_24 (opponent VARCHAR, district VARCHAR) | SELECT opponent FROM table_1341522_24 WHERE district = "Massachusetts5" | ### Context: CREATE TABLE table_1341522_24 (opponent VARCHAR, district VARCHAR) ### Question: Who are the opponents in Massachusetts5 district? ### Answer: SELECT opponent FROM table_1341522_24 WHERE district = "Massachusetts5" |
What parties are represented in Massachusetts4 district? | CREATE TABLE table_1341522_24 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1341522_24 WHERE district = "Massachusetts4" | ### Context: CREATE TABLE table_1341522_24 (party VARCHAR, district VARCHAR) ### Question: What parties are represented in Massachusetts4 district? ### Answer: SELECT party FROM table_1341522_24 WHERE district = "Massachusetts4" |
Who is the incumbent in district Massachusetts7? | CREATE TABLE table_1341522_24 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341522_24 WHERE district = "Massachusetts7" | ### Context: CREATE TABLE table_1341522_24 (incumbent VARCHAR, district VARCHAR) ### Question: Who is the incumbent in district Massachusetts7? ### Answer: SELECT incumbent FROM table_1341522_24 WHERE district = "Massachusetts7" |
how many first elected with district being new york2 | CREATE TABLE table_1341549_33 (first_elected VARCHAR, district VARCHAR) | SELECT COUNT(first_elected) FROM table_1341549_33 WHERE district = "New York2" | ### Context: CREATE TABLE table_1341549_33 (first_elected VARCHAR, district VARCHAR) ### Question: how many first elected with district being new york2 ### Answer: SELECT COUNT(first_elected) FROM table_1341549_33 WHERE district = "New York2" |
how many district with candidates being eliot l. engel (d) 85.2% martin richman (r) 14.8% | CREATE TABLE table_1341549_33 (district VARCHAR, candidates VARCHAR) | SELECT COUNT(district) FROM table_1341549_33 WHERE candidates = "Eliot L. Engel (D) 85.2% Martin Richman (R) 14.8%" | ### Context: CREATE TABLE table_1341549_33 (district VARCHAR, candidates VARCHAR) ### Question: how many district with candidates being eliot l. engel (d) 85.2% martin richman (r) 14.8% ### Answer: SELECT COUNT(district) FROM table_1341549_33 WHERE candidates = "Eliot L. Engel (D) 85.2% Martin Richman (R) 14.8%" |
how many candidates with party being democratic and dbeingtrict being new york5 | CREATE TABLE table_1341549_33 (candidates VARCHAR, party VARCHAR, district VARCHAR) | SELECT COUNT(candidates) FROM table_1341549_33 WHERE party = "Democratic" AND district = "New York5" | ### Context: CREATE TABLE table_1341549_33 (candidates VARCHAR, party VARCHAR, district VARCHAR) ### Question: how many candidates with party being democratic and dbeingtrict being new york5 ### Answer: SELECT COUNT(candidates) FROM table_1341549_33 WHERE party = "Democratic" AND district = "New York5" |
how many first elected with result being re-elected and incumbent being gary ackerman redistricted from the 7th district | CREATE TABLE table_1341549_33 (first_elected VARCHAR, result VARCHAR, incumbent VARCHAR) | SELECT COUNT(first_elected) FROM table_1341549_33 WHERE result = "Re-elected" AND incumbent = "Gary Ackerman Redistricted from the 7th district" | ### Context: CREATE TABLE table_1341549_33 (first_elected VARCHAR, result VARCHAR, incumbent VARCHAR) ### Question: how many first elected with result being re-elected and incumbent being gary ackerman redistricted from the 7th district ### Answer: SELECT COUNT(first_elected) FROM table_1341549_33 WHERE result = "Re-e... |
What party does ron klink represent? | CREATE TABLE table_1341522_41 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341522_41 WHERE incumbent = "Ron Klink" | ### Context: CREATE TABLE table_1341522_41 (party VARCHAR, incumbent VARCHAR) ### Question: What party does ron klink represent? ### Answer: SELECT party FROM table_1341522_41 WHERE incumbent = "Ron Klink" |
Who was in the election that was for incumbent bud shuster's seat? | CREATE TABLE table_1341522_41 (opponent VARCHAR, incumbent VARCHAR) | SELECT opponent FROM table_1341522_41 WHERE incumbent = "Bud Shuster" | ### Context: CREATE TABLE table_1341522_41 (opponent VARCHAR, incumbent VARCHAR) ### Question: Who was in the election that was for incumbent bud shuster's seat? ### Answer: SELECT opponent FROM table_1341522_41 WHERE incumbent = "Bud Shuster" |
What district had someone first elected in 1982? | CREATE TABLE table_1341522_41 (district VARCHAR, first_elected VARCHAR) | SELECT district FROM table_1341522_41 WHERE first_elected = 1982 | ### Context: CREATE TABLE table_1341522_41 (district VARCHAR, first_elected VARCHAR) ### Question: What district had someone first elected in 1982? ### Answer: SELECT district FROM table_1341522_41 WHERE first_elected = 1982 |
How many republican incumbents first elected in 1974? | CREATE TABLE table_1341522_41 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR) | SELECT COUNT(incumbent) FROM table_1341522_41 WHERE party = "Republican" AND first_elected = 1974 | ### Context: CREATE TABLE table_1341522_41 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR) ### Question: How many republican incumbents first elected in 1974? ### Answer: SELECT COUNT(incumbent) FROM table_1341522_41 WHERE party = "Republican" AND first_elected = 1974 |
What was the result of the election where william f. goodling was the incumbent? | CREATE TABLE table_1341522_41 (status VARCHAR, incumbent VARCHAR) | SELECT status FROM table_1341522_41 WHERE incumbent = "William F. Goodling" | ### Context: CREATE TABLE table_1341522_41 (status VARCHAR, incumbent VARCHAR) ### Question: What was the result of the election where william f. goodling was the incumbent? ### Answer: SELECT status FROM table_1341522_41 WHERE incumbent = "William F. Goodling" |
What party did incumbent Howard Coble belong to? | CREATE TABLE table_1341568_34 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341568_34 WHERE incumbent = "Howard Coble" | ### Context: CREATE TABLE table_1341568_34 (party VARCHAR, incumbent VARCHAR) ### Question: What party did incumbent Howard Coble belong to? ### Answer: SELECT party FROM table_1341568_34 WHERE incumbent = "Howard Coble" |
What party did incumbent Stephen L. Neal belong to? | CREATE TABLE table_1341568_34 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341568_34 WHERE incumbent = "Stephen L. Neal" | ### Context: CREATE TABLE table_1341568_34 (party VARCHAR, incumbent VARCHAR) ### Question: What party did incumbent Stephen L. Neal belong to? ### Answer: SELECT party FROM table_1341568_34 WHERE incumbent = "Stephen L. Neal" |
In how many districts was the democratic incumbent elected in 1974? | CREATE TABLE table_1341568_34 (district VARCHAR, party VARCHAR, elected VARCHAR) | SELECT COUNT(district) FROM table_1341568_34 WHERE party = "Democratic" AND elected = 1974 | ### Context: CREATE TABLE table_1341568_34 (district VARCHAR, party VARCHAR, elected VARCHAR) ### Question: In how many districts was the democratic incumbent elected in 1974? ### Answer: SELECT COUNT(district) FROM table_1341568_34 WHERE party = "Democratic" AND elected = 1974 |
What year was incumbent Martin Lancaster elected? | CREATE TABLE table_1341568_34 (elected INTEGER, incumbent VARCHAR) | SELECT MIN(elected) FROM table_1341568_34 WHERE incumbent = "Martin Lancaster" | ### Context: CREATE TABLE table_1341568_34 (elected INTEGER, incumbent VARCHAR) ### Question: What year was incumbent Martin Lancaster elected? ### Answer: SELECT MIN(elected) FROM table_1341568_34 WHERE incumbent = "Martin Lancaster" |
What are the locations where the year of election is 1980? | CREATE TABLE table_1341568_24 (district VARCHAR, elected VARCHAR) | SELECT district FROM table_1341568_24 WHERE elected = 1980 | ### Context: CREATE TABLE table_1341568_24 (district VARCHAR, elected VARCHAR) ### Question: What are the locations where the year of election is 1980? ### Answer: SELECT district FROM table_1341568_24 WHERE elected = 1980 |
What location is Vin Weber from? | CREATE TABLE table_1341568_24 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341568_24 WHERE incumbent = "Vin Weber" | ### Context: CREATE TABLE table_1341568_24 (district VARCHAR, incumbent VARCHAR) ### Question: What location is Vin Weber from? ### Answer: SELECT district FROM table_1341568_24 WHERE incumbent = "Vin Weber" |
What is Larry Combest's district? | CREATE TABLE table_1341568_44 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341568_44 WHERE incumbent = "Larry Combest" | ### Context: CREATE TABLE table_1341568_44 (district VARCHAR, incumbent VARCHAR) ### Question: What is Larry Combest's district? ### Answer: SELECT district FROM table_1341568_44 WHERE incumbent = "Larry Combest" |
What is the status of incumbent Charles Stenholm? | CREATE TABLE table_1341568_44 (status VARCHAR, incumbent VARCHAR) | SELECT status FROM table_1341568_44 WHERE incumbent = "Charles Stenholm" | ### Context: CREATE TABLE table_1341568_44 (status VARCHAR, incumbent VARCHAR) ### Question: What is the status of incumbent Charles Stenholm? ### Answer: SELECT status FROM table_1341568_44 WHERE incumbent = "Charles Stenholm" |
How many incumbents represent district California 34? | CREATE TABLE table_1341568_6 (incumbent VARCHAR, district VARCHAR) | SELECT COUNT(incumbent) FROM table_1341568_6 WHERE district = "California 34" | ### Context: CREATE TABLE table_1341568_6 (incumbent VARCHAR, district VARCHAR) ### Question: How many incumbents represent district California 34? ### Answer: SELECT COUNT(incumbent) FROM table_1341568_6 WHERE district = "California 34" |
What is the elected status of the Democratic party in 1989? | CREATE TABLE table_1341568_6 (status VARCHAR, party VARCHAR, elected VARCHAR) | SELECT status FROM table_1341568_6 WHERE party = "Democratic" AND elected = "1989" | ### Context: CREATE TABLE table_1341568_6 (status VARCHAR, party VARCHAR, elected VARCHAR) ### Question: What is the elected status of the Democratic party in 1989? ### Answer: SELECT status FROM table_1341568_6 WHERE party = "Democratic" AND elected = "1989" |
Who are the opponents in district California 9? | CREATE TABLE table_1341568_6 (opponent VARCHAR, district VARCHAR) | SELECT opponent FROM table_1341568_6 WHERE district = "California 9" | ### Context: CREATE TABLE table_1341568_6 (opponent VARCHAR, district VARCHAR) ### Question: Who are the opponents in district California 9? ### Answer: SELECT opponent FROM table_1341568_6 WHERE district = "California 9" |
Who are the incumbents elected in 1974? | CREATE TABLE table_1341568_6 (incumbent VARCHAR, elected VARCHAR) | SELECT incumbent FROM table_1341568_6 WHERE elected = "1974" | ### Context: CREATE TABLE table_1341568_6 (incumbent VARCHAR, elected VARCHAR) ### Question: Who are the incumbents elected in 1974? ### Answer: SELECT incumbent FROM table_1341568_6 WHERE elected = "1974" |
Which incumbent was first elected in 1958? | CREATE TABLE table_1341577_36 (incumbent VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_1341577_36 WHERE first_elected = 1958 | ### Context: CREATE TABLE table_1341577_36 (incumbent VARCHAR, first_elected VARCHAR) ### Question: Which incumbent was first elected in 1958? ### Answer: SELECT incumbent FROM table_1341577_36 WHERE first_elected = 1958 |
Who are all the candidates who ran in the district where Ralph Regula is the incumbent? | CREATE TABLE table_1341577_36 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341577_36 WHERE incumbent = "Ralph Regula" | ### Context: CREATE TABLE table_1341577_36 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who are all the candidates who ran in the district where Ralph Regula is the incumbent? ### Answer: SELECT candidates FROM table_1341577_36 WHERE incumbent = "Ralph Regula" |
Which party does Del Latta belong to? | CREATE TABLE table_1341577_36 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341577_36 WHERE incumbent = "Del Latta" | ### Context: CREATE TABLE table_1341577_36 (party VARCHAR, incumbent VARCHAR) ### Question: Which party does Del Latta belong to? ### Answer: SELECT party FROM table_1341577_36 WHERE incumbent = "Del Latta" |
Which party does Tom Luken belong to? | CREATE TABLE table_1341577_36 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341577_36 WHERE incumbent = "Tom Luken" | ### Context: CREATE TABLE table_1341577_36 (party VARCHAR, incumbent VARCHAR) ### Question: Which party does Tom Luken belong to? ### Answer: SELECT party FROM table_1341577_36 WHERE incumbent = "Tom Luken" |
Who were all the candidates when incumbent was Tim Valentine? | CREATE TABLE table_1341577_34 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341577_34 WHERE incumbent = "Tim Valentine" | ### Context: CREATE TABLE table_1341577_34 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who were all the candidates when incumbent was Tim Valentine? ### Answer: SELECT candidates FROM table_1341577_34 WHERE incumbent = "Tim Valentine" |
Name the incumbent for first elected 1958 | CREATE TABLE table_1341577_22 (incumbent VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_1341577_22 WHERE first_elected = 1958 | ### Context: CREATE TABLE table_1341577_22 (incumbent VARCHAR, first_elected VARCHAR) ### Question: Name the incumbent for first elected 1958 ### Answer: SELECT incumbent FROM table_1341577_22 WHERE first_elected = 1958 |
What is the district for 1952? | CREATE TABLE table_1341577_22 (district VARCHAR, first_elected VARCHAR) | SELECT district FROM table_1341577_22 WHERE first_elected = 1952 | ### Context: CREATE TABLE table_1341577_22 (district VARCHAR, first_elected VARCHAR) ### Question: What is the district for 1952? ### Answer: SELECT district FROM table_1341577_22 WHERE first_elected = 1952 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.