instruction
stringlengths 67
299
| input
stringlengths 88
550
| output
stringlengths 32
484
|
---|---|---|
Write a SQL query that answers the following question: how many district with incumbent being lindy boggs
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341586_19 (district VARCHAR, incumbent VARCHAR)
|
SELECT COUNT(district) FROM table_1341586_19 WHERE incumbent = "Lindy Boggs"
|
Write a SQL query that answers the following question: what's the result with candidates being billy tauzin (d) unopposed
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341586_19 (result VARCHAR, candidates VARCHAR)
|
SELECT result FROM table_1341586_19 WHERE candidates = "Billy Tauzin (D) Unopposed"
|
Write a SQL query that answers the following question: how many candidates with result being retired to run for u. s. senate republican hold
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341586_19 (candidates VARCHAR, result VARCHAR)
|
SELECT COUNT(candidates) FROM table_1341586_19 WHERE result = "Retired to run for U. S. Senate Republican hold"
|
Write a SQL query that answers the following question: what's the result with district being louisiana 2
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341586_19 (result VARCHAR, district VARCHAR)
|
SELECT result FROM table_1341586_19 WHERE district = "Louisiana 2"
|
Write a SQL query that answers the following question: who is the the candidates with first elected being 1977
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341586_19 (candidates VARCHAR, first_elected VARCHAR)
|
SELECT candidates FROM table_1341586_19 WHERE first_elected = 1977
|
Write a SQL query that answers the following question: What happened to the incombent who was elected in 1980?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341586_14 (result VARCHAR, first_elected VARCHAR)
|
SELECT result FROM table_1341586_14 WHERE first_elected = 1980
|
Write a SQL query that answers the following question: How did the election end for Terry L. Bruce?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341586_14 (result VARCHAR, incumbent VARCHAR)
|
SELECT result FROM table_1341586_14 WHERE incumbent = "Terry L. Bruce"
|
Write a SQL query that answers the following question: What party was Tony P. Hall affiliated with?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341586_36 (party VARCHAR, incumbent VARCHAR)
|
SELECT party FROM table_1341586_36 WHERE incumbent = "Tony P. Hall"
|
Write a SQL query that answers the following question: Name number first elected for tennessee 2?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341586_43 (first_elected VARCHAR, district VARCHAR)
|
SELECT COUNT(first_elected) FROM table_1341586_43 WHERE district = "Tennessee 2"
|
Write a SQL query that answers the following question: Name the candidates in 1964
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341586_43 (candidates VARCHAR, first_elected VARCHAR)
|
SELECT candidates FROM table_1341586_43 WHERE first_elected = 1964
|
Write a SQL query that answers the following question: How many districts have Mac Sweeney as incumbent?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR)
|
SELECT COUNT(candidates) FROM table_1341586_44 WHERE incumbent = "Mac Sweeney"
|
Write a SQL query that answers the following question: Who are all the candidates vying for Henry B. Gonzalez' seat?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR)
|
SELECT candidates FROM table_1341586_44 WHERE incumbent = "Henry B. Gonzalez"
|
Write a SQL query that answers the following question: Name all the candidates vying for Albert Bustamante's seat.
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR)
|
SELECT candidates FROM table_1341586_44 WHERE incumbent = "Albert Bustamante"
|
Write a SQL query that answers the following question: In what district was the incumbent Michael Bilirakis?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341598_10 (district VARCHAR, incumbent VARCHAR)
|
SELECT district FROM table_1341598_10 WHERE incumbent = "Michael Bilirakis"
|
Write a SQL query that answers the following question: Who is the candidate in election where the incumbent was first elected in 1980?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341598_10 (candidates VARCHAR, first_elected VARCHAR)
|
SELECT candidates FROM table_1341598_10 WHERE first_elected = 1980
|
Write a SQL query that answers the following question: What party does incumbent Charles Edward Bennett belong to?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341598_10 (party VARCHAR, incumbent VARCHAR)
|
SELECT party FROM table_1341598_10 WHERE incumbent = "Charles Edward Bennett"
|
Write a SQL query that answers the following question: What was the result of the election in the Florida 18 district?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341598_10 (result VARCHAR, district VARCHAR)
|
SELECT result FROM table_1341598_10 WHERE district = "Florida 18"
|
Write a SQL query that answers the following question: In what district is the incumbent Lawrence J. Smith?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341598_10 (district VARCHAR, incumbent VARCHAR)
|
SELECT district FROM table_1341598_10 WHERE incumbent = "Lawrence J. Smith"
|
Write a SQL query that answers the following question: where is the district where the incumbent is del latta?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341598_36 (district VARCHAR, incumbent VARCHAR)
|
SELECT district FROM table_1341598_36 WHERE incumbent = "Del Latta"
|
Write a SQL query that answers the following question: what is the party for district ohio 11?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341598_36 (party VARCHAR, district VARCHAR)
|
SELECT party FROM table_1341598_36 WHERE district = "Ohio 11"
|
Write a SQL query that answers the following question: who were the candidates for district ohio 6?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341598_36 (candidates VARCHAR, district VARCHAR)
|
SELECT candidates FROM table_1341598_36 WHERE district = "Ohio 6"
|
Write a SQL query that answers the following question: What is the party for District Georgia 9?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341598_11 (party VARCHAR, district VARCHAR)
|
SELECT party FROM table_1341598_11 WHERE district = "Georgia 9"
|
Write a SQL query that answers the following question: Which district shows a first elected of 1980?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341598_11 (district VARCHAR, first_elected VARCHAR)
|
SELECT district FROM table_1341598_11 WHERE first_elected = 1980
|
Write a SQL query that answers the following question: What is the party for the incumbent Wyche Fowler?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341598_11 (party VARCHAR, incumbent VARCHAR)
|
SELECT party FROM table_1341598_11 WHERE incumbent = "Wyche Fowler"
|
Write a SQL query that answers the following question: Who are shown as candidates when George Darden is the incumbent?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341598_11 (candidates VARCHAR, incumbent VARCHAR)
|
SELECT candidates FROM table_1341598_11 WHERE incumbent = "George Darden"
|
Write a SQL query that answers the following question: What district has Dan Crane as incumbent?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341598_14 (district VARCHAR, incumbent VARCHAR)
|
SELECT district FROM table_1341598_14 WHERE incumbent = "Dan Crane"
|
Write a SQL query that answers the following question: In which district is Robert W. Edgar the incumbent?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341598_39 (district VARCHAR, incumbent VARCHAR)
|
SELECT district FROM table_1341598_39 WHERE incumbent = "Robert W. Edgar"
|
Write a SQL query that answers the following question: To which party does Robert W. Edgar belong?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341598_39 (party VARCHAR, incumbent VARCHAR)
|
SELECT party FROM table_1341598_39 WHERE incumbent = "Robert W. Edgar"
|
Write a SQL query that answers the following question: What district is incumbent jack hightower from?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341598_44 (district VARCHAR, incumbent VARCHAR)
|
SELECT district FROM table_1341598_44 WHERE incumbent = "Jack Hightower"
|
Write a SQL query that answers the following question: What year were the election results tom loeffler (r) 80.6% joe sullivan (d) 19.4%?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341598_44 (first_elected INTEGER, candidates VARCHAR)
|
SELECT MIN(first_elected) FROM table_1341598_44 WHERE candidates = "Tom Loeffler (R) 80.6% Joe Sullivan (D) 19.4%"
|
Write a SQL query that answers the following question: What incumbent won the district of texas 22?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341598_44 (incumbent VARCHAR, district VARCHAR)
|
SELECT incumbent FROM table_1341598_44 WHERE district = "Texas 22"
|
Write a SQL query that answers the following question: Who's the incumbent of the Louisiana 1 district?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341604_19 (incumbent VARCHAR, district VARCHAR)
|
SELECT incumbent FROM table_1341604_19 WHERE district = "Louisiana 1"
|
Write a SQL query that answers the following question: Who were the candidates in the Louisiana 4 district?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341604_19 (candidates VARCHAR, district VARCHAR)
|
SELECT candidates FROM table_1341604_19 WHERE district = "Louisiana 4"
|
Write a SQL query that answers the following question: Who's the incumbent in the district first elected in 1976?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341604_19 (incumbent VARCHAR, first_elected VARCHAR)
|
SELECT incumbent FROM table_1341604_19 WHERE first_elected = 1976
|
Write a SQL query that answers the following question: what's the incumbent with district being massachusetts 2
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341604_22 (incumbent VARCHAR, district VARCHAR)
|
SELECT incumbent FROM table_1341604_22 WHERE district = "Massachusetts 2"
|
Write a SQL query that answers the following question: what's the party with candidates being silvio conte (r) unopposed
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341604_22 (party VARCHAR, candidates VARCHAR)
|
SELECT party FROM table_1341604_22 WHERE candidates = "Silvio Conte (R) Unopposed"
|
Write a SQL query that answers the following question: what's the first elected with incumbent being joseph d. early
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341604_22 (first_elected VARCHAR, incumbent VARCHAR)
|
SELECT first_elected FROM table_1341604_22 WHERE incumbent = "Joseph D. Early"
|
Write a SQL query that answers the following question: what's the party with dbeingtrict being massachusetts 3
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341604_22 (party VARCHAR, district VARCHAR)
|
SELECT party FROM table_1341604_22 WHERE district = "Massachusetts 3"
|
Write a SQL query that answers the following question: How many candidates won the election in the district whose incumbent is Bud Shuster?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341604_39 (candidates VARCHAR, incumbent VARCHAR)
|
SELECT COUNT(candidates) FROM table_1341604_39 WHERE incumbent = "Bud Shuster"
|
Write a SQL query that answers the following question: What are the candidates in the district whose incumbent is Gus Yatron?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341604_39 (candidates VARCHAR, incumbent VARCHAR)
|
SELECT candidates FROM table_1341604_39 WHERE incumbent = "Gus Yatron"
|
Write a SQL query that answers the following question: What's the winning party in the Pennsylvania 6 district?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341604_39 (party VARCHAR, district VARCHAR)
|
SELECT party FROM table_1341604_39 WHERE district = "Pennsylvania 6"
|
Write a SQL query that answers the following question: What candidate is a member of the Republican party?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341640_39 (candidates VARCHAR, party VARCHAR)
|
SELECT candidates FROM table_1341640_39 WHERE party = "Republican"
|
Write a SQL query that answers the following question: What district is Ray Musto the incumbent of?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341640_39 (district VARCHAR, incumbent VARCHAR)
|
SELECT district FROM table_1341640_39 WHERE incumbent = "Ray Musto"
|
Write a SQL query that answers the following question: How many parties does the incumbent Donald A. Bailey a member of?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341640_39 (party VARCHAR, incumbent VARCHAR)
|
SELECT COUNT(party) FROM table_1341640_39 WHERE incumbent = "Donald A. Bailey"
|
Write a SQL query that answers the following question: What was the outcome of the election in Pennsylvania 6 district?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341640_39 (result VARCHAR, district VARCHAR)
|
SELECT result FROM table_1341640_39 WHERE district = "Pennsylvania 6"
|
Write a SQL query that answers the following question: Where was Al Gore elected
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341640_43 (district VARCHAR, incumbent VARCHAR)
|
SELECT district FROM table_1341640_43 WHERE incumbent = "Al Gore"
|
Write a SQL query that answers the following question: Election results of 1976
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341640_43 (result VARCHAR, first_elected VARCHAR)
|
SELECT result FROM table_1341640_43 WHERE first_elected = 1976
|
Write a SQL query that answers the following question: What was the incumbent for missouri 1?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341640_26 (incumbent VARCHAR, district VARCHAR)
|
SELECT incumbent FROM table_1341640_26 WHERE district = "Missouri 1"
|
Write a SQL query that answers the following question: What was the result of the election when someone was first elected in 1960?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341640_14 (result VARCHAR, first_elected VARCHAR)
|
SELECT result FROM table_1341640_14 WHERE first_elected = 1960
|
Write a SQL query that answers the following question: What year was incumbent phil crane first elected?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341640_14 (first_elected VARCHAR, incumbent VARCHAR)
|
SELECT first_elected FROM table_1341640_14 WHERE incumbent = "Phil Crane"
|
Write a SQL query that answers the following question: What candidates were featured in the 1974 election?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341640_14 (candidates VARCHAR, first_elected VARCHAR)
|
SELECT candidates FROM table_1341640_14 WHERE first_elected = 1974
|
Write a SQL query that answers the following question: What year was Jerry Huckaby first elected?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_19 (first_elected VARCHAR, incumbent VARCHAR)
|
SELECT first_elected FROM table_1341663_19 WHERE incumbent = "Jerry Huckaby"
|
Write a SQL query that answers the following question: What other cadidate ran against Dave Treen?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_19 (candidates VARCHAR, incumbent VARCHAR)
|
SELECT candidates FROM table_1341663_19 WHERE incumbent = "Dave Treen"
|
Write a SQL query that answers the following question: What year was the earliest first elected?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_19 (first_elected INTEGER)
|
SELECT MIN(first_elected) FROM table_1341663_19
|
Write a SQL query that answers the following question: What district did Dave Treen serve?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_19 (district VARCHAR, incumbent VARCHAR)
|
SELECT district FROM table_1341663_19 WHERE incumbent = "Dave Treen"
|
Write a SQL query that answers the following question: How many sitting politicians were originally elected in 1972?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_11 (incumbent VARCHAR, first_elected VARCHAR)
|
SELECT COUNT(incumbent) FROM table_1341663_11 WHERE first_elected = 1972
|
Write a SQL query that answers the following question: In the Georgia 6 district, what is the elected party?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_11 (party VARCHAR, district VARCHAR)
|
SELECT party FROM table_1341663_11 WHERE district = "Georgia 6"
|
Write a SQL query that answers the following question: In the race involving Billy Lee Evans as the seated Representative, was he elected again?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_11 (result VARCHAR, incumbent VARCHAR)
|
SELECT result FROM table_1341663_11 WHERE incumbent = "Billy Lee Evans"
|
Write a SQL query that answers the following question: How many parties are there in races involving Dawson Mathis?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_11 (party VARCHAR, incumbent VARCHAR)
|
SELECT COUNT(party) FROM table_1341663_11 WHERE incumbent = "Dawson Mathis"
|
Write a SQL query that answers the following question: Which district is republican?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_44 (district VARCHAR, party VARCHAR)
|
SELECT district FROM table_1341663_44 WHERE party = "Republican"
|
Write a SQL query that answers the following question: Name the result when the incumbent was george h. mahon
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_44 (result VARCHAR, incumbent VARCHAR)
|
SELECT result FROM table_1341663_44 WHERE incumbent = "George H. Mahon"
|
Write a SQL query that answers the following question: What was the incumbent of texas 3?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_44 (incumbent VARCHAR, district VARCHAR)
|
SELECT incumbent FROM table_1341663_44 WHERE district = "Texas 3"
|
Write a SQL query that answers the following question: What was the incumbent for texas 19?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_44 (incumbent VARCHAR, district VARCHAR)
|
SELECT incumbent FROM table_1341663_44 WHERE district = "Texas 19"
|
Write a SQL query that answers the following question: Which district has candidates is dick gephardt (d) 81.9% lee buchschacher (r) 18.1%?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_26 (district VARCHAR, candidates VARCHAR)
|
SELECT district FROM table_1341663_26 WHERE candidates = "Dick Gephardt (D) 81.9% Lee Buchschacher (R) 18.1%"
|
Write a SQL query that answers the following question: What is the result for the district missouri 2?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_26 (result VARCHAR, district VARCHAR)
|
SELECT result FROM table_1341663_26 WHERE district = "Missouri 2"
|
Write a SQL query that answers the following question: When was the first elected for district missouri 7?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_26 (first_elected INTEGER, district VARCHAR)
|
SELECT MIN(first_elected) FROM table_1341663_26 WHERE district = "Missouri 7"
|
Write a SQL query that answers the following question: When was the earliest first election?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_26 (first_elected INTEGER)
|
SELECT MIN(first_elected) FROM table_1341663_26
|
Write a SQL query that answers the following question: How many times was the candidates dick gephardt (d) 81.9% lee buchschacher (r) 18.1%?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_26 (incumbent VARCHAR, candidates VARCHAR)
|
SELECT COUNT(incumbent) FROM table_1341663_26 WHERE candidates = "Dick Gephardt (D) 81.9% Lee Buchschacher (R) 18.1%"
|
Write a SQL query that answers the following question: What district did S. William Green belong to?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_33 (district VARCHAR, incumbent VARCHAR)
|
SELECT district FROM table_1341663_33 WHERE incumbent = "S. William Green"
|
Write a SQL query that answers the following question: What district did the Democratic party incumbent Stephen J. Solarz get first elected to in 1974?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_33 (district VARCHAR, incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)
|
SELECT district FROM table_1341663_33 WHERE party = "Democratic" AND first_elected = 1974 AND incumbent = "Stephen J. Solarz"
|
Write a SQL query that answers the following question: When was Stephen J. Solarz first elected?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_33 (first_elected INTEGER, incumbent VARCHAR)
|
SELECT MIN(first_elected) FROM table_1341663_33 WHERE incumbent = "Stephen J. Solarz"
|
Write a SQL query that answers the following question: Who were the candidates when Shirley Chisholm was the incumbent?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_33 (candidates VARCHAR, incumbent VARCHAR)
|
SELECT candidates FROM table_1341663_33 WHERE incumbent = "Shirley Chisholm"
|
Write a SQL query that answers the following question: What is the district that has Bob Wilson as an incumbent?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_6 (district VARCHAR, incumbent VARCHAR)
|
SELECT district FROM table_1341663_6 WHERE incumbent = "Bob Wilson"
|
Write a SQL query that answers the following question: How many outcomes were there in the elections in California 38?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_6 (result VARCHAR, district VARCHAR)
|
SELECT COUNT(result) FROM table_1341663_6 WHERE district = "California 38"
|
Write a SQL query that answers the following question: What district is Charles H. Wilson the incumbent of?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_6 (district VARCHAR, incumbent VARCHAR)
|
SELECT district FROM table_1341663_6 WHERE incumbent = "Charles H. Wilson"
|
Write a SQL query that answers the following question: What party was the winning one in the elections in the California 30 district?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341663_6 (party VARCHAR, district VARCHAR)
|
SELECT party FROM table_1341663_6 WHERE district = "California 30"
|
Write a SQL query that answers the following question: How many times did an election feature the result robert l. leggett (d) 50.2% albert dehr (r) 49.8%?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341672_6 (result VARCHAR, candidates VARCHAR)
|
SELECT COUNT(result) FROM table_1341672_6 WHERE candidates = "Robert L. Leggett (D) 50.2% Albert Dehr (R) 49.8%"
|
Write a SQL query that answers the following question: What year was incumbent mark w. hannaford elected?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341672_6 (first_elected INTEGER, incumbent VARCHAR)
|
SELECT MIN(first_elected) FROM table_1341672_6 WHERE incumbent = "Mark W. Hannaford"
|
Write a SQL query that answers the following question: what is the district where the incumbent is richard kelly?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341672_10 (district VARCHAR, incumbent VARCHAR)
|
SELECT district FROM table_1341672_10 WHERE incumbent = "Richard Kelly"
|
Write a SQL query that answers the following question: what is the result where the candidates is robert l. f. sikes (d) unopposed?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341672_10 (result VARCHAR, candidates VARCHAR)
|
SELECT result FROM table_1341672_10 WHERE candidates = "Robert L. F. Sikes (D) Unopposed"
|
Write a SQL query that answers the following question: who is the incumbent where the candidates is william v. chappell, jr. (d) unopposed?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341672_10 (incumbent VARCHAR, candidates VARCHAR)
|
SELECT incumbent FROM table_1341672_10 WHERE candidates = "William V. Chappell, Jr. (D) Unopposed"
|
Write a SQL query that answers the following question: what is the district where the incumbent is james a. haley?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341672_10 (district VARCHAR, incumbent VARCHAR)
|
SELECT district FROM table_1341672_10 WHERE incumbent = "James A. Haley"
|
Write a SQL query that answers the following question: who are the candidates where the district is florida 8?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341672_10 (candidates VARCHAR, district VARCHAR)
|
SELECT candidates FROM table_1341672_10 WHERE district = "Florida 8"
|
Write a SQL query that answers the following question: what year was the first elected incumbant Sidney R. Yates?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_13 (first_elected VARCHAR, incumbent VARCHAR)
|
SELECT first_elected FROM table_1341690_13 WHERE incumbent = "Sidney R. Yates"
|
Write a SQL query that answers the following question: How many incumbents are there in district Louisiana 5?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_18 (incumbent VARCHAR, district VARCHAR)
|
SELECT COUNT(incumbent) FROM table_1341690_18 WHERE district = "Louisiana 5"
|
Write a SQL query that answers the following question: How many incumbents resulted in a lost renomination republican gain?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_18 (incumbent VARCHAR, result VARCHAR)
|
SELECT COUNT(incumbent) FROM table_1341690_18 WHERE result = "Lost renomination Republican gain"
|
Write a SQL query that answers the following question: In which district is the incumbent John Breaux?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_18 (district VARCHAR, incumbent VARCHAR)
|
SELECT district FROM table_1341690_18 WHERE incumbent = "John Breaux"
|
Write a SQL query that answers the following question: What year was Otto Passman (d) unopposed first elected?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_18 (first_elected INTEGER, candidates VARCHAR)
|
SELECT MAX(first_elected) FROM table_1341690_18 WHERE candidates = "Otto Passman (D) Unopposed"
|
Write a SQL query that answers the following question: What were the results when the incumbent was John Breaux?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_18 (result VARCHAR, incumbent VARCHAR)
|
SELECT result FROM table_1341690_18 WHERE incumbent = "John Breaux"
|
Write a SQL query that answers the following question: Name the candidates for texas 1
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_43 (candidates VARCHAR, district VARCHAR)
|
SELECT candidates FROM table_1341690_43 WHERE district = "Texas 1"
|
Write a SQL query that answers the following question: Name the incumbent for district texas 12
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_43 (incumbent VARCHAR, district VARCHAR)
|
SELECT incumbent FROM table_1341690_43 WHERE district = "Texas 12"
|
Write a SQL query that answers the following question: Name the candidates for texas 20
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_43 (candidates VARCHAR, district VARCHAR)
|
SELECT candidates FROM table_1341690_43 WHERE district = "Texas 20"
|
Write a SQL query that answers the following question: what is the district with the candidates edward boland (d) unopposed?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_21 (district VARCHAR, candidates VARCHAR)
|
SELECT district FROM table_1341690_21 WHERE candidates = "Edward Boland (D) Unopposed"
|
Write a SQL query that answers the following question: what is the party where the candidates are edward boland (d) unopposed?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_21 (party VARCHAR, candidates VARCHAR)
|
SELECT party FROM table_1341690_21 WHERE candidates = "Edward Boland (D) Unopposed"
|
Write a SQL query that answers the following question: what is the party where the incumbent is edward boland?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_21 (party VARCHAR, incumbent VARCHAR)
|
SELECT party FROM table_1341690_21 WHERE incumbent = "Edward Boland"
|
Write a SQL query that answers the following question: How many times was the candidates paul tsongas (d) 60.6% paul w. cronin (r) 39.4%?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_21 (incumbent VARCHAR, candidates VARCHAR)
|
SELECT COUNT(incumbent) FROM table_1341690_21 WHERE candidates = "Paul Tsongas (D) 60.6% Paul W. Cronin (R) 39.4%"
|
Write a SQL query that answers the following question: List all candidates in elections where the incumbent politician is Goodloe Byron.
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_20 (candidates VARCHAR, incumbent VARCHAR)
|
SELECT candidates FROM table_1341690_20 WHERE incumbent = "Goodloe Byron"
|
Write a SQL query that answers the following question: How many instances are there of party in the situation where Robert Bauman is the incumbent politician?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_20 (party VARCHAR, incumbent VARCHAR)
|
SELECT COUNT(party) FROM table_1341690_20 WHERE incumbent = "Robert Bauman"
|
Write a SQL query that answers the following question: What is the party of the election in which Robert Bauman is the incumbent?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_20 (party VARCHAR, incumbent VARCHAR)
|
SELECT party FROM table_1341690_20 WHERE incumbent = "Robert Bauman"
|
Write a SQL query that answers the following question: List all results where the voting district is Maryland 7.
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_20 (result VARCHAR, district VARCHAR)
|
SELECT result FROM table_1341690_20 WHERE district = "Maryland 7"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.