question
stringlengths 12
244
| sql
stringlengths 22
468
|
|---|---|
Name the first elected for texas 6 district
|
SELECT First elected FROM table WHERE District = Texas 6
|
Name the incumbent for texas 22 district
|
SELECT Incumbent FROM table WHERE District = Texas 22
|
How did the election in the Florida 14 district end?
|
SELECT Results FROM table WHERE District = Florida 14
|
Who's the incumbent of Florida 12 district?
|
SELECT Incumbent FROM table WHERE District = Florida 12
|
Who is the incumbent of Florida 9?
|
SELECT Incumbent FROM table WHERE District = Florida 9
|
Who's the incumbent in Florida 6?
|
SELECT Incumbent FROM table WHERE District = Florida 6
|
What party does Bill McCollum belong to?
|
SELECT Party FROM table WHERE Incumbent = Bill McCollum
|
What are the results in the county with Peter Deutsch as a candidate?
|
SELECT Results FROM table WHERE Incumbent = Peter Deutsch
|
How did the election end for Robert Wexler?
|
SELECT Results FROM table WHERE Incumbent = Robert Wexler
|
What party was the winner in the district Maryland 6?
|
SELECT Party FROM table WHERE District = Maryland 6
|
Who run for office in district Maryland 3?
|
SELECT Candidates FROM table WHERE District = Maryland 3
|
List the candidates in district Maryland 1 where the republican party won.
|
SELECT Candidates FROM table WHERE Party = Republican AND District = Maryland 1
|
When did the elections take place in district Maryland 2?
|
SELECT MIN First elected FROM table WHERE District = Maryland 2
|
What party is Frank Lobiondo a member of?
|
SELECT Party FROM table WHERE Incumbent = Frank LoBiondo
|
Who were the candidates in the district whose incumbent is Bill Pascrell?
|
SELECT Candidates FROM table WHERE Incumbent = Bill Pascrell
|
What is the party of the district incumbent Jim Saxton?
|
SELECT Party FROM table WHERE Incumbent = Jim Saxton
|
What party is John McHugh a member of?
|
SELECT Party FROM table WHERE Incumbent = John McHugh
|
What's the party elected in the district that first elected in 1990?
|
SELECT Party FROM table WHERE First elected = 1990
|
What's the first elected year of the district that Ed Towns is an incumbent of?
|
SELECT First elected FROM table WHERE Incumbent = Ed Towns
|
How many elections have resulted in retired democratic hold?
|
SELECT COUNT Party FROM table WHERE Results = Retired Democratic hold
|
What were the candidates in the district that first elected in 1980?
|
SELECT Candidates FROM table WHERE First elected = 1980
|
When was Chaka Fattah first elected in the Pennsylvania 2 district?
|
SELECT First elected FROM table WHERE District = Pennsylvania 2
|
How many incumbents were first elected in 1984?
|
SELECT COUNT Incumbent FROM table WHERE First elected = 1984
|
When was incumbent Bud Shuster first elected?
|
SELECT First elected FROM table WHERE Incumbent = Bud Shuster
|
How many candidates ran in the election where Mike Doyle was the incumbent?
|
SELECT COUNT Candidates FROM table WHERE Incumbent = Mike Doyle
|
Incumbent Tim Holden belonged to what party?
|
SELECT Party FROM table WHERE Incumbent = Tim Holden
|
In what district was Tim Holden the incumbent?
|
SELECT District FROM table WHERE Incumbent = Tim Holden
|
Which incumbent was first elected in 1984?
|
SELECT Incumbent FROM table WHERE First elected = 1984
|
When was the incumbent in the Tennessee 4 district first elected?
|
SELECT First elected FROM table WHERE District = Tennessee 4
|
Who are the candidates in the Tennessee 3 district election?
|
SELECT Candidates FROM table WHERE District = Tennessee 3
|
What year was Bob Clement first elected?
|
SELECT MIN First elected FROM table WHERE Incumbent = Bob Clement
|
List all the candidates for the seat where the incumbent is Sam Gibbons?
|
SELECT Candidates FROM table WHERE Incumbent = Sam Gibbons
|
Who were the candidates in district Wisconsin 4?
|
SELECT Candidates FROM table WHERE District = Wisconsin 4
|
Who's the incumbent in the district that first elected in 1969?
|
SELECT Incumbent FROM table WHERE First elected = 1969
|
Who's the incumbent of district Wisconsin 5?
|
SELECT Incumbent FROM table WHERE District = Wisconsin 5
|
How many districts does gary condit represent?
|
SELECT COUNT District FROM table WHERE Incumbent = Gary Condit
|
What party was first elected in 1974?
|
SELECT Party FROM table WHERE First elected = 1974
|
What district is bill thomas from?
|
SELECT District FROM table WHERE Incumbent = Bill Thomas
|
What district is bill thomas from?
|
SELECT District FROM table WHERE Incumbent = Bill Thomas
|
Who was the incumbent of district Georgia 2?
|
SELECT Incumbent FROM table WHERE District = Georgia 2
|
What district is Mac Collins an incumbent in?
|
SELECT District FROM table WHERE Incumbent = Mac Collins
|
What's the first elected year of the district who's been the last one to do so?
|
SELECT MAX First elected FROM table
|
Who were the candidates in the district where Charlie Norwood is the incumbent?
|
SELECT Candidates FROM table WHERE Incumbent = Charlie Norwood
|
Which result did the Republican have with the incumbent, Billy Tauzin?
|
SELECT Result FROM table WHERE Party = Republican AND Incumbent = Billy Tauzin
|
How many districts was Robert Livingston incumbent in?
|
SELECT COUNT District FROM table WHERE Incumbent = Robert Livingston
|
What is the first election year listed?
|
SELECT MIN First elected FROM table
|
List all results in elections with Richard Baker as the incumbent.
|
SELECT Result FROM table WHERE Incumbent = Richard Baker
|
how many party with district being washington 7
|
SELECT COUNT Party FROM table WHERE District = Washington 7
|
what's the latest first elected year
|
SELECT MAX First elected FROM table
|
what's the result with district being washington 7
|
SELECT Result FROM table WHERE District = Washington 7
|
what being the minimum first elected with district being washington 7
|
SELECT MIN First elected FROM table WHERE District = Washington 7
|
what's the result for first elected in 1948 , 1964
|
SELECT Result FROM table WHERE First elected = 1948 , 1964
|
what's the first elected with district illinois 18
|
SELECT First elected FROM table WHERE District = Illinois 18
|
what's the party with candidates jerry weller (r) 51.77% clem balanoff (d) 48.23%
|
SELECT Party FROM table WHERE Candidates = Jerry Weller (R) 51.77% Clem Balanoff (D) 48.23%
|
what's the party for the first elected in 1980
|
SELECT Party FROM table WHERE First elected = 1980
|
what's the result with district illinois 15
|
SELECT Result FROM table WHERE District = Illinois 15
|
what's the total number of candidates for first elected in 1948 , 1964
|
SELECT COUNT Candidates FROM table WHERE First elected = 1948 , 1964
|
Name thedistrict for 1994
|
SELECT District FROM table WHERE First elected = 1994
|
Name the result for New York 11
|
SELECT Result FROM table WHERE District = New York 11
|
Name the number of first elected for new york 11
|
SELECT COUNT First elected FROM table WHERE District = New York 11
|
Name the first elected for new york 1
|
SELECT COUNT First elected FROM table WHERE District = New York 1
|
What year was Larry combest elected
|
SELECT First elected FROM table WHERE Incumbent = Larry Combest
|
To what district does Bill Hefner belong?
|
SELECT District FROM table WHERE Incumbent = Bill Hefner
|
Who ran unsuccessfully against Bill Hefner?
|
SELECT Opponent FROM table WHERE Incumbent = Bill Hefner
|
How many districts are respresented by Alex McMillan?
|
SELECT COUNT Status FROM table WHERE Incumbent = Alex McMillan
|
What party is Sanford Bishop a member of?
|
SELECT Party FROM table WHERE Incumbent = Sanford Bishop
|
What party won in the district Georgia7?
|
SELECT Party FROM table WHERE District = Georgia7
|
What's Georgia5's first elected year?
|
SELECT MAX First elected FROM table WHERE District = Georgia5
|
Who opposed Marty Meehan in each election?
|
SELECT Opponent FROM table WHERE Incumbent = Marty Meehan
|
Who are the opponents in Massachusetts5 district?
|
SELECT Opponent FROM table WHERE District = Massachusetts5
|
What parties are represented in Massachusetts4 district?
|
SELECT Party FROM table WHERE District = Massachusetts4
|
Who is the incumbent in district Massachusetts7?
|
SELECT Incumbent FROM table WHERE District = Massachusetts7
|
how many first elected with district being new york2
|
SELECT COUNT First elected FROM table WHERE District = New York2
|
how many district with candidates being eliot l. engel (d) 85.2% martin richman (r) 14.8%
|
SELECT COUNT District FROM table 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
|
SELECT COUNT Candidates FROM table 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
|
SELECT COUNT First elected FROM table WHERE Result = Re-elected AND Incumbent = Gary Ackerman Redistricted from the 7th district
|
What party does ron klink represent?
|
SELECT Party FROM table WHERE Incumbent = Ron Klink
|
Who was in the election that was for incumbent bud shuster's seat?
|
SELECT Opponent FROM table WHERE Incumbent = Bud Shuster
|
What district had someone first elected in 1982?
|
SELECT District FROM table WHERE First elected = 1982
|
How many republican incumbents first elected in 1974?
|
SELECT COUNT Incumbent FROM table WHERE Party = Republican AND First elected = 1974
|
What was the result of the election where william f. goodling was the incumbent?
|
SELECT Status FROM table WHERE Incumbent = William F. Goodling
|
What party did incumbent Howard Coble belong to?
|
SELECT Party FROM table WHERE Incumbent = Howard Coble
|
What party did incumbent Stephen L. Neal belong to?
|
SELECT Party FROM table WHERE Incumbent = Stephen L. Neal
|
In how many districts was the democratic incumbent elected in 1974?
|
SELECT COUNT District FROM table WHERE Party = Democratic AND Elected = 1974
|
What year was incumbent Martin Lancaster elected?
|
SELECT MIN Elected FROM table WHERE Incumbent = Martin Lancaster
|
What are the locations where the year of election is 1980?
|
SELECT District FROM table WHERE Elected = 1980
|
What location is Vin Weber from?
|
SELECT District FROM table WHERE Incumbent = Vin Weber
|
What is Larry Combest's district?
|
SELECT District FROM table WHERE Incumbent = Larry Combest
|
What is the status of incumbent Charles Stenholm?
|
SELECT Status FROM table WHERE Incumbent = Charles Stenholm
|
How many incumbents represent district California 34?
|
SELECT COUNT Incumbent FROM table WHERE District = California 34
|
What is the elected status of the Democratic party in 1989?
|
SELECT Status FROM table WHERE Party = Democratic AND Elected = 1989
|
Who are the opponents in district California 9?
|
SELECT Opponent FROM table WHERE District = California 9
|
Who are the incumbents elected in 1974?
|
SELECT Incumbent FROM table WHERE Elected = 1974
|
Which incumbent was first elected in 1958?
|
SELECT Incumbent FROM table WHERE First elected = 1958
|
Who are all the candidates who ran in the district where Ralph Regula is the incumbent?
|
SELECT Candidates FROM table WHERE Incumbent = Ralph Regula
|
Which party does Del Latta belong to?
|
SELECT Party FROM table WHERE Incumbent = Del Latta
|
Which party does Tom Luken belong to?
|
SELECT Party FROM table WHERE Incumbent = Tom Luken
|
Who were all the candidates when incumbent was Tim Valentine?
|
SELECT Candidates FROM table WHERE Incumbent = Tim Valentine
|
Name the incumbent for first elected 1958
|
SELECT Incumbent FROM table WHERE First elected = 1958
|
What is the district for 1952?
|
SELECT District FROM table WHERE First elected = 1952
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.