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