context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_1341577_22 (incumbent VARCHAR, first_elected VARCHAR) | What is the incumbent for 1974? | SELECT incumbent FROM table_1341577_22 WHERE first_elected = 1974 |
CREATE TABLE table_1341577_14 (party VARCHAR, incumbent VARCHAR) | To what party does Cardiss Collins belong? | SELECT party FROM table_1341577_14 WHERE incumbent = "Cardiss Collins" |
CREATE TABLE table_1341577_47 (candidates VARCHAR, district VARCHAR) | Who was the candidate in the Virginia 3 district election? | SELECT candidates FROM table_1341577_47 WHERE district = "Virginia 3" |
CREATE TABLE table_1341577_47 (result VARCHAR, district VARCHAR) | What was the result of the election in the Virginia 3 district? | SELECT result FROM table_1341577_47 WHERE district = "Virginia 3" |
CREATE TABLE table_1341577_44 (candidates VARCHAR, incumbent VARCHAR) | Who were the candidates when Lamar S. Smith was incumbent? | SELECT candidates FROM table_1341577_44 WHERE incumbent = "Lamar S. Smith" |
CREATE TABLE table_1341577_44 (party VARCHAR, incumbent VARCHAR) | What party did Beau Boulter represent? | SELECT party FROM table_1341577_44 WHERE incumbent = "Beau Boulter" |
CREATE TABLE table_1341577_44 (candidates VARCHAR, incumbent VARCHAR) | Who were the candidates when Jack Fields was the incumbent? | SELECT candidates FROM table_1341577_44 WHERE incumbent = "Jack Fields" |
CREATE TABLE table_1341577_50 (result VARCHAR, incumbent VARCHAR) | What was the final result for Les Aspin? | SELECT result FROM table_1341577_50 WHERE incumbent = "Les Aspin" |
CREATE TABLE table_1341577_50 (candidates VARCHAR, first_elected VARCHAR) | Who were the candidates that ran when Jim Moody was up for reelection after 1982? | SELECT candidates FROM table_1341577_50 WHERE first_elected = 1982 |
CREATE TABLE table_1341577_43 (first_elected VARCHAR, district VARCHAR) | In the district called Tennessee 6, how many in total of first elected are there? | SELECT COUNT(first_elected) FROM table_1341577_43 WHERE district = "Tennessee 6" |
CREATE TABLE table_1341577_43 (party VARCHAR, first_elected VARCHAR) | Which party is associated with the person who was first elected in 1982? | SELECT party FROM table_1341577_43 WHERE first_elected = 1982 |
CREATE TABLE table_1341577_43 (candidates VARCHAR, incumbent VARCHAR) | How many candidates are listed all together for the incumbent named bob clement? | SELECT COUNT(candidates) FROM table_1341577_43 WHERE incumbent = "Bob Clement" |
CREATE TABLE table_1341577_43 (result VARCHAR, candidates VARCHAR) | What was the results for the candidates listed as bart gordon (d) 76.5% wallace embry (r) 23.5%? | SELECT result FROM table_1341577_43 WHERE candidates = "Bart Gordon (D) 76.5% Wallace Embry (R) 23.5%" |
CREATE TABLE table_1341577_43 (incumbent VARCHAR, candidates VARCHAR) | Who is the incumbent that is listed with the candidates listed as marilyn lloyd (d) 57.4% harold w. coker (r) 42.6%? | SELECT incumbent FROM table_1341577_43 WHERE candidates = "Marilyn Lloyd (D) 57.4% Harold W. Coker (R) 42.6%" |
CREATE TABLE table_1341577_43 (district VARCHAR, candidates VARCHAR) | In what district would you find the candidates listed as jim cooper (d) unopposed? | SELECT district FROM table_1341577_43 WHERE candidates = "Jim Cooper (D) Unopposed" |
CREATE TABLE table_1341586_39 (incumbent VARCHAR, candidates VARCHAR) | who is the incumbent with candidates being bud shuster (r) unopposed | SELECT incumbent FROM table_1341586_39 WHERE candidates = "Bud Shuster (R) Unopposed" |
CREATE TABLE table_1341586_39 (incumbent VARCHAR, candidates VARCHAR) | who is the incumbent with candidates being tom ridge (r) 80.9% joylyn blackwell (d) 19.1% | SELECT incumbent FROM table_1341586_39 WHERE candidates = "Tom Ridge (R) 80.9% Joylyn Blackwell (D) 19.1%" |
CREATE TABLE table_1341586_39 (district VARCHAR, candidates VARCHAR) | what's district with candidates being curt weldon (r) 61.3% bill spingler (d) 38.7% | SELECT district FROM table_1341586_39 WHERE candidates = "Curt Weldon (R) 61.3% Bill Spingler (D) 38.7%" |
CREATE TABLE table_1341586_39 (party VARCHAR, district VARCHAR) | what's party with district being pennsylvania 21 | SELECT party FROM table_1341586_39 WHERE district = "Pennsylvania 21" |
CREATE TABLE table_1341586_39 (first_elected INTEGER, incumbent VARCHAR) | what is the maximum first elected with incumbent being gus yatron | SELECT MAX(first_elected) FROM table_1341586_39 WHERE incumbent = "Gus Yatron" |
CREATE TABLE table_1341586_39 (district VARCHAR, first_elected VARCHAR) | what's the district with first elected being 1972 | SELECT district FROM table_1341586_39 WHERE first_elected = 1972 |
CREATE TABLE table_1341586_19 (district VARCHAR, incumbent VARCHAR) | how many district with incumbent being lindy boggs | SELECT COUNT(district) FROM table_1341586_19 WHERE incumbent = "Lindy Boggs" |
CREATE TABLE table_1341586_19 (result VARCHAR, candidates VARCHAR) | what's the result with candidates being billy tauzin (d) unopposed | SELECT result FROM table_1341586_19 WHERE candidates = "Billy Tauzin (D) Unopposed" |
CREATE TABLE table_1341586_19 (candidates VARCHAR, result VARCHAR) | how many candidates with result being retired to run for u. s. senate republican hold | SELECT COUNT(candidates) FROM table_1341586_19 WHERE result = "Retired to run for U. S. Senate Republican hold" |
CREATE TABLE table_1341586_19 (result VARCHAR, district VARCHAR) | what's the result with district being louisiana 2 | SELECT result FROM table_1341586_19 WHERE district = "Louisiana 2" |
CREATE TABLE table_1341586_19 (candidates VARCHAR, first_elected VARCHAR) | who is the the candidates with first elected being 1977 | SELECT candidates FROM table_1341586_19 WHERE first_elected = 1977 |
CREATE TABLE table_1341586_14 (result VARCHAR, first_elected VARCHAR) | What happened to the incombent who was elected in 1980? | SELECT result FROM table_1341586_14 WHERE first_elected = 1980 |
CREATE TABLE table_1341586_14 (result VARCHAR, incumbent VARCHAR) | How did the election end for Terry L. Bruce? | SELECT result FROM table_1341586_14 WHERE incumbent = "Terry L. Bruce" |
CREATE TABLE table_1341586_36 (party VARCHAR, incumbent VARCHAR) | What party was Tony P. Hall affiliated with? | SELECT party FROM table_1341586_36 WHERE incumbent = "Tony P. Hall" |
CREATE TABLE table_1341586_43 (first_elected VARCHAR, district VARCHAR) | Name number first elected for tennessee 2? | SELECT COUNT(first_elected) FROM table_1341586_43 WHERE district = "Tennessee 2" |
CREATE TABLE table_1341586_43 (candidates VARCHAR, first_elected VARCHAR) | Name the candidates in 1964 | SELECT candidates FROM table_1341586_43 WHERE first_elected = 1964 |
CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR) | How many districts have Mac Sweeney as incumbent? | SELECT COUNT(candidates) FROM table_1341586_44 WHERE incumbent = "Mac Sweeney" |
CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR) | Who are all the candidates vying for Henry B. Gonzalez' seat? | SELECT candidates FROM table_1341586_44 WHERE incumbent = "Henry B. Gonzalez" |
CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR) | Name all the candidates vying for Albert Bustamante's seat. | SELECT candidates FROM table_1341586_44 WHERE incumbent = "Albert Bustamante" |
CREATE TABLE table_1341598_10 (district VARCHAR, incumbent VARCHAR) | In what district was the incumbent Michael Bilirakis? | SELECT district FROM table_1341598_10 WHERE incumbent = "Michael Bilirakis" |
CREATE TABLE table_1341598_10 (candidates VARCHAR, first_elected VARCHAR) | Who is the candidate in election where the incumbent was first elected in 1980? | SELECT candidates FROM table_1341598_10 WHERE first_elected = 1980 |
CREATE TABLE table_1341598_10 (party VARCHAR, incumbent VARCHAR) | What party does incumbent Charles Edward Bennett belong to? | SELECT party FROM table_1341598_10 WHERE incumbent = "Charles Edward Bennett" |
CREATE TABLE table_1341598_10 (result VARCHAR, district VARCHAR) | What was the result of the election in the Florida 18 district? | SELECT result FROM table_1341598_10 WHERE district = "Florida 18" |
CREATE TABLE table_1341598_10 (district VARCHAR, incumbent VARCHAR) | In what district is the incumbent Lawrence J. Smith? | SELECT district FROM table_1341598_10 WHERE incumbent = "Lawrence J. Smith" |
CREATE TABLE table_1341598_36 (district VARCHAR, incumbent VARCHAR) | where is the district where the incumbent is del latta? | SELECT district FROM table_1341598_36 WHERE incumbent = "Del Latta" |
CREATE TABLE table_1341598_36 (party VARCHAR, district VARCHAR) | what is the party for district ohio 11? | SELECT party FROM table_1341598_36 WHERE district = "Ohio 11" |
CREATE TABLE table_1341598_36 (candidates VARCHAR, district VARCHAR) | who were the candidates for district ohio 6? | SELECT candidates FROM table_1341598_36 WHERE district = "Ohio 6" |
CREATE TABLE table_1341598_11 (party VARCHAR, district VARCHAR) | What is the party for District Georgia 9? | SELECT party FROM table_1341598_11 WHERE district = "Georgia 9" |
CREATE TABLE table_1341598_11 (district VARCHAR, first_elected VARCHAR) | Which district shows a first elected of 1980? | SELECT district FROM table_1341598_11 WHERE first_elected = 1980 |
CREATE TABLE table_1341598_11 (party VARCHAR, incumbent VARCHAR) | What is the party for the incumbent Wyche Fowler? | SELECT party FROM table_1341598_11 WHERE incumbent = "Wyche Fowler" |
CREATE TABLE table_1341598_11 (candidates VARCHAR, incumbent VARCHAR) | Who are shown as candidates when George Darden is the incumbent? | SELECT candidates FROM table_1341598_11 WHERE incumbent = "George Darden" |
CREATE TABLE table_1341598_14 (district VARCHAR, incumbent VARCHAR) | What district has Dan Crane as incumbent? | SELECT district FROM table_1341598_14 WHERE incumbent = "Dan Crane" |
CREATE TABLE table_1341598_39 (district VARCHAR, incumbent VARCHAR) | In which district is Robert W. Edgar the incumbent? | SELECT district FROM table_1341598_39 WHERE incumbent = "Robert W. Edgar" |
CREATE TABLE table_1341598_39 (party VARCHAR, incumbent VARCHAR) | To which party does Robert W. Edgar belong? | SELECT party FROM table_1341598_39 WHERE incumbent = "Robert W. Edgar" |
CREATE TABLE table_1341598_44 (district VARCHAR, incumbent VARCHAR) | What district is incumbent jack hightower from? | SELECT district FROM table_1341598_44 WHERE incumbent = "Jack Hightower" |
CREATE TABLE table_1341598_44 (first_elected INTEGER, candidates VARCHAR) | What year were the election results tom loeffler (r) 80.6% joe sullivan (d) 19.4%? | SELECT MIN(first_elected) FROM table_1341598_44 WHERE candidates = "Tom Loeffler (R) 80.6% Joe Sullivan (D) 19.4%" |
CREATE TABLE table_1341598_44 (incumbent VARCHAR, district VARCHAR) | What incumbent won the district of texas 22? | SELECT incumbent FROM table_1341598_44 WHERE district = "Texas 22" |
CREATE TABLE table_1341604_19 (incumbent VARCHAR, district VARCHAR) | Who's the incumbent of the Louisiana 1 district? | SELECT incumbent FROM table_1341604_19 WHERE district = "Louisiana 1" |
CREATE TABLE table_1341604_19 (candidates VARCHAR, district VARCHAR) | Who were the candidates in the Louisiana 4 district? | SELECT candidates FROM table_1341604_19 WHERE district = "Louisiana 4" |
CREATE TABLE table_1341604_19 (incumbent VARCHAR, first_elected VARCHAR) | Who's the incumbent in the district first elected in 1976? | SELECT incumbent FROM table_1341604_19 WHERE first_elected = 1976 |
CREATE TABLE table_1341604_22 (incumbent VARCHAR, district VARCHAR) | what's the incumbent with district being massachusetts 2 | SELECT incumbent FROM table_1341604_22 WHERE district = "Massachusetts 2" |
CREATE TABLE table_1341604_22 (party VARCHAR, candidates VARCHAR) | what's the party with candidates being silvio conte (r) unopposed | SELECT party FROM table_1341604_22 WHERE candidates = "Silvio Conte (R) Unopposed" |
CREATE TABLE table_1341604_22 (first_elected VARCHAR, incumbent VARCHAR) | what's the first elected with incumbent being joseph d. early | SELECT first_elected FROM table_1341604_22 WHERE incumbent = "Joseph D. Early" |
CREATE TABLE table_1341604_22 (party VARCHAR, district VARCHAR) | what's the party with dbeingtrict being massachusetts 3 | SELECT party FROM table_1341604_22 WHERE district = "Massachusetts 3" |
CREATE TABLE table_1341604_39 (candidates VARCHAR, incumbent VARCHAR) | How many candidates won the election in the district whose incumbent is Bud Shuster? | SELECT COUNT(candidates) FROM table_1341604_39 WHERE incumbent = "Bud Shuster" |
CREATE TABLE table_1341604_39 (candidates VARCHAR, incumbent VARCHAR) | What are the candidates in the district whose incumbent is Gus Yatron? | SELECT candidates FROM table_1341604_39 WHERE incumbent = "Gus Yatron" |
CREATE TABLE table_1341604_39 (party VARCHAR, district VARCHAR) | What's the winning party in the Pennsylvania 6 district? | SELECT party FROM table_1341604_39 WHERE district = "Pennsylvania 6" |
CREATE TABLE table_1341640_39 (candidates VARCHAR, party VARCHAR) | What candidate is a member of the Republican party? | SELECT candidates FROM table_1341640_39 WHERE party = "Republican" |
CREATE TABLE table_1341640_39 (district VARCHAR, incumbent VARCHAR) | What district is Ray Musto the incumbent of? | SELECT district FROM table_1341640_39 WHERE incumbent = "Ray Musto" |
CREATE TABLE table_1341640_39 (party VARCHAR, incumbent VARCHAR) | How many parties does the incumbent Donald A. Bailey a member of? | SELECT COUNT(party) FROM table_1341640_39 WHERE incumbent = "Donald A. Bailey" |
CREATE TABLE table_1341640_39 (result VARCHAR, district VARCHAR) | What was the outcome of the election in Pennsylvania 6 district? | SELECT result FROM table_1341640_39 WHERE district = "Pennsylvania 6" |
CREATE TABLE table_1341640_43 (district VARCHAR, incumbent VARCHAR) | Where was Al Gore elected | SELECT district FROM table_1341640_43 WHERE incumbent = "Al Gore" |
CREATE TABLE table_1341640_43 (result VARCHAR, first_elected VARCHAR) | Election results of 1976 | SELECT result FROM table_1341640_43 WHERE first_elected = 1976 |
CREATE TABLE table_1341640_26 (incumbent VARCHAR, district VARCHAR) | What was the incumbent for missouri 1? | SELECT incumbent FROM table_1341640_26 WHERE district = "Missouri 1" |
CREATE TABLE table_1341640_14 (result VARCHAR, first_elected VARCHAR) | What was the result of the election when someone was first elected in 1960? | SELECT result FROM table_1341640_14 WHERE first_elected = 1960 |
CREATE TABLE table_1341640_14 (first_elected VARCHAR, incumbent VARCHAR) | What year was incumbent phil crane first elected? | SELECT first_elected FROM table_1341640_14 WHERE incumbent = "Phil Crane" |
CREATE TABLE table_1341640_14 (candidates VARCHAR, first_elected VARCHAR) | What candidates were featured in the 1974 election? | SELECT candidates FROM table_1341640_14 WHERE first_elected = 1974 |
CREATE TABLE table_1341663_19 (first_elected VARCHAR, incumbent VARCHAR) | What year was Jerry Huckaby first elected? | SELECT first_elected FROM table_1341663_19 WHERE incumbent = "Jerry Huckaby" |
CREATE TABLE table_1341663_19 (candidates VARCHAR, incumbent VARCHAR) | What other cadidate ran against Dave Treen? | SELECT candidates FROM table_1341663_19 WHERE incumbent = "Dave Treen" |
CREATE TABLE table_1341663_19 (first_elected INTEGER) | What year was the earliest first elected? | SELECT MIN(first_elected) FROM table_1341663_19 |
CREATE TABLE table_1341663_19 (district VARCHAR, incumbent VARCHAR) | What district did Dave Treen serve? | SELECT district FROM table_1341663_19 WHERE incumbent = "Dave Treen" |
CREATE TABLE table_1341663_11 (incumbent VARCHAR, first_elected VARCHAR) | How many sitting politicians were originally elected in 1972? | SELECT COUNT(incumbent) FROM table_1341663_11 WHERE first_elected = 1972 |
CREATE TABLE table_1341663_11 (party VARCHAR, district VARCHAR) | In the Georgia 6 district, what is the elected party? | SELECT party FROM table_1341663_11 WHERE district = "Georgia 6" |
CREATE TABLE table_1341663_11 (result VARCHAR, incumbent VARCHAR) | In the race involving Billy Lee Evans as the seated Representative, was he elected again? | SELECT result FROM table_1341663_11 WHERE incumbent = "Billy Lee Evans" |
CREATE TABLE table_1341663_11 (party VARCHAR, incumbent VARCHAR) | How many parties are there in races involving Dawson Mathis? | SELECT COUNT(party) FROM table_1341663_11 WHERE incumbent = "Dawson Mathis" |
CREATE TABLE table_1341663_44 (district VARCHAR, party VARCHAR) | Which district is republican? | SELECT district FROM table_1341663_44 WHERE party = "Republican" |
CREATE TABLE table_1341663_44 (result VARCHAR, incumbent VARCHAR) | Name the result when the incumbent was george h. mahon | SELECT result FROM table_1341663_44 WHERE incumbent = "George H. Mahon" |
CREATE TABLE table_1341663_44 (incumbent VARCHAR, district VARCHAR) | What was the incumbent of texas 3? | SELECT incumbent FROM table_1341663_44 WHERE district = "Texas 3" |
CREATE TABLE table_1341663_44 (incumbent VARCHAR, district VARCHAR) | What was the incumbent for texas 19? | SELECT incumbent FROM table_1341663_44 WHERE district = "Texas 19" |
CREATE TABLE table_1341663_26 (district VARCHAR, candidates VARCHAR) | Which district has candidates is dick gephardt (d) 81.9% lee buchschacher (r) 18.1%? | SELECT district FROM table_1341663_26 WHERE candidates = "Dick Gephardt (D) 81.9% Lee Buchschacher (R) 18.1%" |
CREATE TABLE table_1341663_26 (result VARCHAR, district VARCHAR) | What is the result for the district missouri 2? | SELECT result FROM table_1341663_26 WHERE district = "Missouri 2" |
CREATE TABLE table_1341663_26 (first_elected INTEGER, district VARCHAR) | When was the first elected for district missouri 7? | SELECT MIN(first_elected) FROM table_1341663_26 WHERE district = "Missouri 7" |
CREATE TABLE table_1341663_26 (first_elected INTEGER) | When was the earliest first election? | SELECT MIN(first_elected) FROM table_1341663_26 |
CREATE TABLE table_1341663_26 (incumbent VARCHAR, candidates VARCHAR) | How many times was the candidates dick gephardt (d) 81.9% lee buchschacher (r) 18.1%? | SELECT COUNT(incumbent) FROM table_1341663_26 WHERE candidates = "Dick Gephardt (D) 81.9% Lee Buchschacher (R) 18.1%" |
CREATE TABLE table_1341663_33 (district VARCHAR, incumbent VARCHAR) | What district did S. William Green belong to? | SELECT district FROM table_1341663_33 WHERE incumbent = "S. William Green" |
CREATE TABLE table_1341663_33 (district VARCHAR, incumbent VARCHAR, party VARCHAR, first_elected VARCHAR) | What district did the Democratic party incumbent Stephen J. Solarz get first elected to in 1974? | SELECT district FROM table_1341663_33 WHERE party = "Democratic" AND first_elected = 1974 AND incumbent = "Stephen J. Solarz" |
CREATE TABLE table_1341663_33 (first_elected INTEGER, incumbent VARCHAR) | When was Stephen J. Solarz first elected? | SELECT MIN(first_elected) FROM table_1341663_33 WHERE incumbent = "Stephen J. Solarz" |
CREATE TABLE table_1341663_33 (candidates VARCHAR, incumbent VARCHAR) | Who were the candidates when Shirley Chisholm was the incumbent? | SELECT candidates FROM table_1341663_33 WHERE incumbent = "Shirley Chisholm" |
CREATE TABLE table_1341663_6 (district VARCHAR, incumbent VARCHAR) | What is the district that has Bob Wilson as an incumbent? | SELECT district FROM table_1341663_6 WHERE incumbent = "Bob Wilson" |
CREATE TABLE table_1341663_6 (result VARCHAR, district VARCHAR) | How many outcomes were there in the elections in California 38? | SELECT COUNT(result) FROM table_1341663_6 WHERE district = "California 38" |
CREATE TABLE table_1341663_6 (district VARCHAR, incumbent VARCHAR) | What district is Charles H. Wilson the incumbent of? | SELECT district FROM table_1341663_6 WHERE incumbent = "Charles H. Wilson" |
CREATE TABLE table_1341663_6 (party VARCHAR, district VARCHAR) | What party was the winning one in the elections in the California 30 district? | SELECT party FROM table_1341663_6 WHERE district = "California 30" |
CREATE TABLE table_1341672_6 (result VARCHAR, candidates VARCHAR) | How many times did an election feature the result robert l. leggett (d) 50.2% albert dehr (r) 49.8%? | SELECT COUNT(result) FROM table_1341672_6 WHERE candidates = "Robert L. Leggett (D) 50.2% Albert Dehr (R) 49.8%" |
CREATE TABLE table_1341672_6 (first_elected INTEGER, incumbent VARCHAR) | What year was incumbent mark w. hannaford elected? | SELECT MIN(first_elected) FROM table_1341672_6 WHERE incumbent = "Mark W. Hannaford" |
CREATE TABLE table_1341672_10 (district VARCHAR, incumbent VARCHAR) | what is the district where the incumbent is richard kelly? | SELECT district FROM table_1341672_10 WHERE incumbent = "Richard Kelly" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.