instruction
stringlengths 67
299
| input
stringlengths 88
550
| output
stringlengths 32
484
|
---|---|---|
Write a SQL query that answers the following question: What are all the results where Robert Bauman is the incumbent politician? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_20 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1341690_20 WHERE incumbent = "Robert Bauman" |
Write a SQL query that answers the following question: Who were the candidates in the district won by the incumbent Del Latta? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_35 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341690_35 WHERE incumbent = "Del Latta" |
Write a SQL query that answers the following question: Who were the candidates in the districts that was first elected in 1966? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_35 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_1341690_35 WHERE first_elected = 1966 |
Write a SQL query that answers the following question: Who was running for office in the California 10 district? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_5 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1341690_5 WHERE district = "California 10" |
Write a SQL query that answers the following question: How many parties won the election in the California 23 district? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_5 (party VARCHAR, district VARCHAR) | SELECT COUNT(party) FROM table_1341690_5 WHERE district = "California 23" |
Write a SQL query that answers the following question: What republican candidate was first elected most recently? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_5 (first_elected INTEGER, party VARCHAR) | SELECT MAX(first_elected) FROM table_1341690_5 WHERE party = "Republican" |
Write a SQL query that answers the following question: Phillip Landrum was first elected in 1952 from the ninth district of Georgia. | The relevant table was constructed using the following SQL : CREATE TABLE table_1341707_12 (district VARCHAR, first_elected VARCHAR) | SELECT district FROM table_1341707_12 WHERE first_elected = 1952 |
Write a SQL query that answers the following question: What party did the incumbent from the Illinois 12 district belong to? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341707_15 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1341707_15 WHERE district = "Illinois 12" |
Write a SQL query that answers the following question: Who was the democratic incumbent in the Illinois 11 district who was re-elected? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341707_15 (incumbent VARCHAR, district VARCHAR, party VARCHAR, result VARCHAR) | SELECT incumbent FROM table_1341707_15 WHERE party = "Democratic" AND result = "Re-elected" AND district = "Illinois 11" |
Write a SQL query that answers the following question: Which incumbent was first elected in 1964? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341707_15 (incumbent VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_1341707_15 WHERE first_elected = "1964" |
Write a SQL query that answers the following question: What party did the incumbent from the Illinois 1 district belong to? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341707_15 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1341707_15 WHERE district = "Illinois 1" |
Write a SQL query that answers the following question: What candidates ran in the election with don fuqua? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_9 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341690_9 WHERE incumbent = "Don Fuqua" |
Write a SQL query that answers the following question: How many incumbent candidates in the election featuring sam m. gibbons (d) unopposed? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_9 (incumbent VARCHAR, candidates VARCHAR) | SELECT COUNT(incumbent) FROM table_1341690_9 WHERE candidates = "Sam M. Gibbons (D) Unopposed" |
Write a SQL query that answers the following question: What is the last year that someone is first elected? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_9 (first_elected INTEGER) | SELECT MAX(first_elected) FROM table_1341690_9 |
Write a SQL query that answers the following question: Who was the incumbent in 1940? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341690_9 (incumbent VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_1341690_9 WHERE first_elected = 1940 |
Write a SQL query that answers the following question: what is the party when the incumbent is sidney r. yates? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341718_14 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341718_14 WHERE incumbent = "Sidney R. Yates" |
Write a SQL query that answers the following question: what was the year first elected for district illinois 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341718_14 (first_elected INTEGER, district VARCHAR) | SELECT MAX(first_elected) FROM table_1341718_14 WHERE district = "Illinois 7" |
Write a SQL query that answers the following question: how many times was the candidates phil crane (r) 58.0% edward a. warman (d) 42.0%? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341718_14 (incumbent VARCHAR, candidates VARCHAR) | SELECT COUNT(incumbent) FROM table_1341718_14 WHERE candidates = "Phil Crane (R) 58.0% Edward A. Warman (D) 42.0%" |
Write a SQL query that answers the following question: how many times was it the district illinois 18? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341718_14 (candidates VARCHAR, district VARCHAR) | SELECT COUNT(candidates) FROM table_1341718_14 WHERE district = "Illinois 18" |
Write a SQL query that answers the following question: who were the candidates when the incumbent was ed derwinski? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341718_14 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341718_14 WHERE incumbent = "Ed Derwinski" |
Write a SQL query that answers the following question: When was the first elected when the party was republican and the candidate were robert h. michel (r) 66.1% rosa lee fox (d) 33.9%? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341718_14 (first_elected INTEGER, party VARCHAR, candidates VARCHAR) | SELECT MIN(first_elected) FROM table_1341718_14 WHERE party = "Republican" AND candidates = "Robert H. Michel (R) 66.1% Rosa Lee Fox (D) 33.9%" |
Write a SQL query that answers the following question: Who is the incumbent in district Texas 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341707_45 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341707_45 WHERE district = "Texas 15" |
Write a SQL query that answers the following question: Which district elected incumbent Earle Cabell? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341718_44 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341718_44 WHERE incumbent = "Earle Cabell" |
Write a SQL query that answers the following question: What was the result when Ray Roberts was elected? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341718_44 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1341718_44 WHERE incumbent = "Ray Roberts" |
Write a SQL query that answers the following question: What is the highest year that a candidate was first elected? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341738_11 (first_elected INTEGER) | SELECT MAX(first_elected) FROM table_1341738_11 |
Write a SQL query that answers the following question: Incumbent Bill Harsha was the winner in an election in which the candidates were who? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341718_36 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341718_36 WHERE incumbent = "Bill Harsha" |
Write a SQL query that answers the following question: What was the party of the first elected candidate in 1954? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341738_36 (party VARCHAR, first_elected VARCHAR) | SELECT party FROM table_1341738_36 WHERE first_elected = 1954 |
Write a SQL query that answers the following question: How many districts does Donald D. Clancy represent? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341738_36 (district VARCHAR, incumbent VARCHAR) | SELECT COUNT(district) FROM table_1341738_36 WHERE incumbent = "Donald D. Clancy" |
Write a SQL query that answers the following question: Which party is Lawrence H. Fountain part of? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341738_34 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341738_34 WHERE incumbent = "Lawrence H. Fountain" |
Write a SQL query that answers the following question: Who was the first person elected in North Carolina 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341738_34 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_1341738_34 WHERE district = "North Carolina 8" |
Write a SQL query that answers the following question: who was the candidate elected to the democratic party in 1952? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341738_34 (candidates VARCHAR, first_elected VARCHAR, party VARCHAR) | SELECT candidates FROM table_1341738_34 WHERE first_elected = "1952" AND party = "Democratic" |
Write a SQL query that answers the following question: What district did Joe Waggonner belong to? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341738_19 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341738_19 WHERE incumbent = "Joe Waggonner" |
Write a SQL query that answers the following question: What is the name of the incumbent who was first eleccted in 1940? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341738_19 (incumbent VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_1341738_19 WHERE first_elected = 1940 |
Write a SQL query that answers the following question: What party does incumbent edwin reinecke represent? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341738_6 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341738_6 WHERE incumbent = "Edwin Reinecke" |
Write a SQL query that answers the following question: Who were the candidates in the election that featured incumbent don edwards? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341738_6 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341738_6 WHERE incumbent = "Don Edwards" |
Write a SQL query that answers the following question: Who's the incumbent of Indiana 4 district? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341843_15 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341843_15 WHERE district = "Indiana 4" |
Write a SQL query that answers the following question: Who's the incumbent of the district with first election held in 1950? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341843_15 (incumbent VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_1341843_15 WHERE first_elected = "1950" |
Write a SQL query that answers the following question: Who was featured in the election of charles edward bennett redistricted from 2nd? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341843_10 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341843_10 WHERE incumbent = "Charles Edward Bennett Redistricted from 2nd" |
Write a SQL query that answers the following question: Name the first elected for the republican party | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_23 (first_elected VARCHAR, party VARCHAR) | SELECT first_elected FROM table_1341865_23 WHERE party = "Republican" |
Write a SQL query that answers the following question: Name the district with philip philbin | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_23 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341865_23 WHERE incumbent = "Philip Philbin" |
Write a SQL query that answers the following question: Name the party with edward boland | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_23 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341865_23 WHERE incumbent = "Edward Boland" |
Write a SQL query that answers the following question: What was the district who had their first elected in 1966? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341843_44 (district VARCHAR, first_elected VARCHAR) | SELECT district FROM table_1341843_44 WHERE first_elected = 1966 |
Write a SQL query that answers the following question: Who was the candidate when the incumbent was Richard C. White? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341843_44 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341843_44 WHERE incumbent = "Richard C. White" |
Write a SQL query that answers the following question: What district did Donald Ray Matthews belong to? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_11 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341865_11 WHERE incumbent = "Donald Ray Matthews" |
Write a SQL query that answers the following question: What party did Don Fuqua belong to? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_11 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341865_11 WHERE incumbent = "Don Fuqua" |
Write a SQL query that answers the following question: How many parties won the election in the Louisiana 5 district? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_20 (party VARCHAR, district VARCHAR) | SELECT COUNT(party) FROM table_1341865_20 WHERE district = "Louisiana 5" |
Write a SQL query that answers the following question: How many candidates were elected in the Louisiana 4 district? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_20 (first_elected VARCHAR, district VARCHAR) | SELECT COUNT(first_elected) FROM table_1341865_20 WHERE district = "Louisiana 4" |
Write a SQL query that answers the following question: Who was the winner in the Louisiana 7 district? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_20 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341865_20 WHERE district = "Louisiana 7" |
Write a SQL query that answers the following question: what's party with district being tennessee 3 | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_44 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1341865_44 WHERE district = "Tennessee 3" |
Write a SQL query that answers the following question: how many party with district being tennessee 1 | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_44 (party VARCHAR, district VARCHAR) | SELECT COUNT(party) FROM table_1341865_44 WHERE district = "Tennessee 1" |
Write a SQL query that answers the following question: how many incumbent with district being tennessee 5 | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_44 (incumbent VARCHAR, district VARCHAR) | SELECT COUNT(incumbent) FROM table_1341865_44 WHERE district = "Tennessee 5" |
Write a SQL query that answers the following question: what's incumbent with district being tennessee 5 | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_44 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341865_44 WHERE district = "Tennessee 5" |
Write a SQL query that answers the following question: Who ran in the race for Jack Brooks' seat? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_45 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341865_45 WHERE incumbent = "Jack Brooks" |
Write a SQL query that answers the following question: which section did seymour halpern run in | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_34 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341865_34 WHERE incumbent = "Seymour Halpern" |
Write a SQL query that answers the following question: What district is incumbent albert w. johnson from? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_40 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341865_40 WHERE incumbent = "Albert W. Johnson" |
Write a SQL query that answers the following question: How many times was frank m. clark the incumbent? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_40 (result VARCHAR, incumbent VARCHAR) | SELECT COUNT(result) FROM table_1341865_40 WHERE incumbent = "Frank M. Clark" |
Write a SQL query that answers the following question: What district is incumbent elmer j. holland from? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_40 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341865_40 WHERE incumbent = "Elmer J. Holland" |
Write a SQL query that answers the following question: To which party does Frank T. Bow belong? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_37 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341865_37 WHERE incumbent = "Frank T. Bow" |
Write a SQL query that answers the following question: Who ran in the race for the seat of incumbent Carl W. Rich? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_37 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341865_37 WHERE incumbent = "Carl W. Rich" |
Write a SQL query that answers the following question: In which district is the incumbent Carl W. Rich? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341865_37 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341865_37 WHERE incumbent = "Carl W. Rich" |
Write a SQL query that answers the following question: Name the candidates where incumbent Carl Vinson is? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341884_12 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341884_12 WHERE incumbent = "Carl Vinson" |
Write a SQL query that answers the following question: Name the candidates for massachusetts 8 | The relevant table was constructed using the following SQL : CREATE TABLE table_1341884_23 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1341884_23 WHERE district = "Massachusetts 8" |
Write a SQL query that answers the following question: What candidates were in the election when a republican was re-elected? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341884_19 (candidates VARCHAR, result VARCHAR, party VARCHAR) | SELECT candidates FROM table_1341884_19 WHERE result = "Re-elected" AND party = "Republican" |
Write a SQL query that answers the following question: What district is incumbent frank chelf from? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341884_19 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341884_19 WHERE incumbent = "Frank Chelf" |
Write a SQL query that answers the following question: How many districts represented Edwin E. Willis? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341884_20 (district VARCHAR, incumbent VARCHAR) | SELECT COUNT(district) FROM table_1341884_20 WHERE incumbent = "Edwin E. Willis" |
Write a SQL query that answers the following question: Who were all the candidates when the first elected year was 1961? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341884_20 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_1341884_20 WHERE first_elected = 1961 |
Write a SQL query that answers the following question: What party did Hale Boggs belong to? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341884_20 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341884_20 WHERE incumbent = "Hale Boggs" |
Write a SQL query that answers the following question: what is the political affiliation of the texas 12 district | The relevant table was constructed using the following SQL : CREATE TABLE table_1341884_45 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1341884_45 WHERE district = "Texas 12" |
Write a SQL query that answers the following question: how many voted in the texas 6 section | The relevant table was constructed using the following SQL : CREATE TABLE table_1341884_45 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_1341884_45 WHERE district = "Texas 6" |
Write a SQL query that answers the following question: what is the political affiliation of ray roberts | The relevant table was constructed using the following SQL : CREATE TABLE table_1341884_45 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341884_45 WHERE incumbent = "Ray Roberts" |
Write a SQL query that answers the following question: What district featured an election between james a. byrne (d) 59.3% joseph r. burns (r) 40.7%? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341884_40 (district VARCHAR, candidates VARCHAR) | SELECT district FROM table_1341884_40 WHERE candidates = "James A. Byrne (D) 59.3% Joseph R. Burns (R) 40.7%" |
Write a SQL query that answers the following question: Name the candidates for massachusetts 6 | The relevant table was constructed using the following SQL : CREATE TABLE table_1341897_23 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1341897_23 WHERE district = "Massachusetts 6" |
Write a SQL query that answers the following question: Name the result for massachusetts 3 | The relevant table was constructed using the following SQL : CREATE TABLE table_1341897_23 (result VARCHAR, district VARCHAR) | SELECT result FROM table_1341897_23 WHERE district = "Massachusetts 3" |
Write a SQL query that answers the following question: Name the candidate first elected in 1942 | The relevant table was constructed using the following SQL : CREATE TABLE table_1341897_23 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_1341897_23 WHERE first_elected = 1942 |
Write a SQL query that answers the following question: Name the party for massachusetts 3 | The relevant table was constructed using the following SQL : CREATE TABLE table_1341897_23 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1341897_23 WHERE district = "Massachusetts 3" |
Write a SQL query that answers the following question: What district is incumbent albert rains from? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341897_3 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341897_3 WHERE incumbent = "Albert Rains" |
Write a SQL query that answers the following question: How many candidates represent the district of kenneth a. roberts? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341897_3 (candidates VARCHAR, incumbent VARCHAR) | SELECT COUNT(candidates) FROM table_1341897_3 WHERE incumbent = "Kenneth A. Roberts" |
Write a SQL query that answers the following question: Who was the incumbent in the Arkansas 2 district election? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341897_6 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341897_6 WHERE district = "Arkansas 2" |
Write a SQL query that answers the following question: When was Dale Alford first elected in the Arkansas 5 district? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341897_6 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_1341897_6 WHERE district = "Arkansas 5" |
Write a SQL query that answers the following question: When was James William Trimble first elected in the Arkansas 3 district? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341897_6 (first_elected INTEGER, district VARCHAR) | SELECT MIN(first_elected) FROM table_1341897_6 WHERE district = "Arkansas 3" |
Write a SQL query that answers the following question: When party did the incumbent in the Arkansas 5 district belong to? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341897_6 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1341897_6 WHERE district = "Arkansas 5" |
Write a SQL query that answers the following question: What was the result in the Arkansas 5 district election? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341897_6 (result VARCHAR, district VARCHAR) | SELECT result FROM table_1341897_6 WHERE district = "Arkansas 5" |
Write a SQL query that answers the following question: What party did the incumbent in the Arkansas 2 district belong to? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341897_6 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1341897_6 WHERE district = "Arkansas 2" |
Write a SQL query that answers the following question: How many candidates were there in the election for William Jennings Bryan Dorn's seat? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341897_42 (candidates VARCHAR, incumbent VARCHAR) | SELECT COUNT(candidates) FROM table_1341897_42 WHERE incumbent = "William Jennings Bryan Dorn" |
Write a SQL query that answers the following question: What is the earliest year that a candidate was first elected? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341897_42 (first_elected INTEGER) | SELECT MIN(first_elected) FROM table_1341897_42 |
Write a SQL query that answers the following question: What was the result of the election in which Lindley Beckworth was the incumbent? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341897_45 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1341897_45 WHERE incumbent = "Lindley Beckworth" |
Write a SQL query that answers the following question: Which incumbent was first elected in 1936? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341897_45 (incumbent VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_1341897_45 WHERE first_elected = 1936 |
Write a SQL query that answers the following question: What was the result of the election in which Walter E. Rogers was the incumbent? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341897_45 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1341897_45 WHERE incumbent = "Walter E. Rogers" |
Write a SQL query that answers the following question: When was Paul Rogers first elected? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341930_10 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_1341930_10 WHERE incumbent = "Paul Rogers" |
Write a SQL query that answers the following question: Which district is James A. Haley from? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341930_10 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341930_10 WHERE incumbent = "James A. Haley" |
Write a SQL query that answers the following question: What year were the latest elections? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341930_10 (first_elected INTEGER) | SELECT MAX(first_elected) FROM table_1341930_10 |
Write a SQL query that answers the following question: In what district is the incumbent John Bell Williams? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341930_24 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341930_24 WHERE incumbent = "John Bell Williams" |
Write a SQL query that answers the following question: In what year was John Bell Williams first elected? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341930_24 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_1341930_24 WHERE incumbent = "John Bell Williams" |
Write a SQL query that answers the following question: How many districts have W. Arthur Winstead as elected official? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341930_24 (district VARCHAR, incumbent VARCHAR) | SELECT COUNT(district) FROM table_1341930_24 WHERE incumbent = "W. Arthur Winstead" |
Write a SQL query that answers the following question: What is the district for carl vinson? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341930_11 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341930_11 WHERE incumbent = "Carl Vinson" |
Write a SQL query that answers the following question: What is the most first elected for james c. davis? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341930_11 (first_elected INTEGER, incumbent VARCHAR) | SELECT MAX(first_elected) FROM table_1341930_11 WHERE incumbent = "James C. Davis" |
Write a SQL query that answers the following question: What is the first elected for georgia 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341930_11 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_1341930_11 WHERE district = "Georgia 4" |
Write a SQL query that answers the following question: which affiliation does edwin e. willis affiliate with | The relevant table was constructed using the following SQL : CREATE TABLE table_1341930_18 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341930_18 WHERE incumbent = "Edwin E. Willis" |
Write a SQL query that answers the following question: which affiliation is james h. morrison part of | The relevant table was constructed using the following SQL : CREATE TABLE table_1341930_18 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341930_18 WHERE incumbent = "James H. Morrison" |
Write a SQL query that answers the following question: Who is the candidate that was first elected in 1914? | The relevant table was constructed using the following SQL : CREATE TABLE table_1341973_11 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_1341973_11 WHERE first_elected = 1914 |
Subsets and Splits