instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What district is incumbent albert rains from?
SELECT District FROM table WHERE Incumbent = Albert Rains
Translate the following into a SQL query
How many candidates represent the district of kenneth a. roberts?
SELECT COUNT Candidates FROM table WHERE Incumbent = Kenneth A. Roberts
Translate the following into a SQL query
Who was the incumbent in the Arkansas 2 district election?
SELECT Incumbent FROM table WHERE District = Arkansas 2
Translate the following into a SQL query
When was Dale Alford first elected in the Arkansas 5 district?
SELECT First elected FROM table WHERE District = Arkansas 5
Translate the following into a SQL query
When was James William Trimble first elected in the Arkansas 3 district?
SELECT MIN First elected FROM table WHERE District = Arkansas 3
Translate the following into a SQL query
When party did the incumbent in the Arkansas 5 district belong to?
SELECT Party FROM table WHERE District = Arkansas 5
Translate the following into a SQL query
What was the result in the Arkansas 5 district election?
SELECT Result FROM table WHERE District = Arkansas 5
Translate the following into a SQL query
What party did the incumbent in the Arkansas 2 district belong to?
SELECT Party FROM table WHERE District = Arkansas 2
Translate the following into a SQL query
How many candidates were there in the election for William Jennings Bryan Dorn's seat?
SELECT COUNT Candidates FROM table WHERE Incumbent = William Jennings Bryan Dorn
Translate the following into a SQL query
What is the earliest year that a candidate was first elected?
SELECT MIN First elected FROM table
Translate the following into a SQL query
What was the result of the election in which Lindley Beckworth was the incumbent?
SELECT Result FROM table WHERE Incumbent = Lindley Beckworth
Translate the following into a SQL query
Which incumbent was first elected in 1936?
SELECT Incumbent FROM table WHERE First elected = 1936
Translate the following into a SQL query
What was the result of the election in which Walter E. Rogers was the incumbent?
SELECT Result FROM table WHERE Incumbent = Walter E. Rogers
Translate the following into a SQL query
When was Paul Rogers first elected?
SELECT First elected FROM table WHERE Incumbent = Paul Rogers
Translate the following into a SQL query
Which district is James A. Haley from?
SELECT District FROM table WHERE Incumbent = James A. Haley
Translate the following into a SQL query
What year were the latest elections?
SELECT MAX First elected FROM table
Translate the following into a SQL query
In what district is the incumbent John Bell Williams?
SELECT District FROM table WHERE Incumbent = John Bell Williams
Translate the following into a SQL query
In what year was John Bell Williams first elected?
SELECT First elected FROM table WHERE Incumbent = John Bell Williams
Translate the following into a SQL query
How many districts have W. Arthur Winstead as elected official?
SELECT COUNT District FROM table WHERE Incumbent = W. Arthur Winstead
Translate the following into a SQL query
What is the district for carl vinson?
SELECT District FROM table WHERE Incumbent = Carl Vinson
Translate the following into a SQL query
What is the most first elected for james c. davis?
SELECT MAX First elected FROM table WHERE Incumbent = James C. Davis
Translate the following into a SQL query
What is the first elected for georgia 4?
SELECT First elected FROM table WHERE District = Georgia 4
Translate the following into a SQL query
which affiliation does edwin e. willis affiliate with
SELECT Party FROM table WHERE Incumbent = Edwin E. Willis
Translate the following into a SQL query
which affiliation is james h. morrison part of
SELECT Party FROM table WHERE Incumbent = James H. Morrison
Translate the following into a SQL query
Who is the candidate that was first elected in 1914?
SELECT Candidates FROM table WHERE First elected = 1914
Translate the following into a SQL query
In which district is the incumbent Carl Vinson?
SELECT District FROM table WHERE Incumbent = Carl Vinson
Translate the following into a SQL query
Name the candidates for l. mendel rivers
SELECT COUNT Candidates FROM table WHERE Incumbent = L. Mendel Rivers
Translate the following into a SQL query
Name the result for south carolina 4
SELECT Result FROM table WHERE District = South Carolina 4
Translate the following into a SQL query
Name the candidates for south carolina 3
SELECT Candidates FROM table WHERE District = South Carolina 3
Translate the following into a SQL query
Name the incumbent for first elected 1956
SELECT Incumbent FROM table WHERE First elected = 1956
Translate the following into a SQL query
Name the number of party with the incubent james william trimble
SELECT COUNT Party FROM table WHERE Incumbent = James William Trimble
Translate the following into a SQL query
What is the result for first elected in 1944
SELECT Result FROM table WHERE First elected = 1944
Translate the following into a SQL query
What is the number of party in the arkansas 1 district
SELECT COUNT Party FROM table WHERE District = Arkansas 1
Translate the following into a SQL query
Who is the incumbent in the Alabama 6 voting district?
SELECT Incumbent FROM table WHERE District = Alabama 6
Translate the following into a SQL query
Which candidates were in the election where Frank W. Boykin was an incumbent?
SELECT Candidates FROM table WHERE Incumbent = Frank W. Boykin
Translate the following into a SQL query
Who were the candidates in the election where the incumbent is George M. Grant?
SELECT Candidates FROM table WHERE Incumbent = George M. Grant
Translate the following into a SQL query
Which candidates ran in the Alabama 6 district?
SELECT Candidates FROM table WHERE District = Alabama 6
Translate the following into a SQL query
What is the latest year listed with the Alabama 4 voting district?
SELECT MAX First elected FROM table WHERE District = Alabama 4
Translate the following into a SQL query
What was the result when incumbent Fred E. Busbey was elected?
SELECT Result FROM table WHERE Incumbent = Fred E. Busbey
Translate the following into a SQL query
How many results are listed for the election where Noah M. Mason was elected?
SELECT COUNT Result FROM table WHERE Incumbent = Noah M. Mason
Translate the following into a SQL query
What was the result when Leo E. Allen was elected?
SELECT Result FROM table WHERE Incumbent = Leo E. Allen
Translate the following into a SQL query
Which party had a person who has been in the seat since 1914?
SELECT Party FROM table WHERE First elected = 1914
Translate the following into a SQL query
Name all the candidates listed in the race where the incumbent is Prince Hulon Preston, Jr.
SELECT Candidates FROM table WHERE Incumbent = Prince Hulon Preston, Jr.
Translate the following into a SQL query
How many candidates ran in the race where the incumbent is J. L. Pilcher?
SELECT COUNT Candidates FROM table WHERE Incumbent = J. L. Pilcher
Translate the following into a SQL query
John W. Heselton was first elected in what year?
SELECT MAX First elected FROM table WHERE Incumbent = John W. Heselton
Translate the following into a SQL query
Thomas J. Lane is the incumbent of how many parties?
SELECT COUNT Party FROM table WHERE Incumbent = Thomas J. Lane
Translate the following into a SQL query
Who is the incumbent first elected in 1944?
SELECT Incumbent FROM table WHERE First elected = 1944
Translate the following into a SQL query
What was the result for the politician first elected in 1942?
SELECT Result FROM table WHERE First elected = 1942
Translate the following into a SQL query
what's the result for district ohio 2
SELECT Result FROM table WHERE District = Ohio 2
Translate the following into a SQL query
who is the the incumbent with candidates being john m. vorys (r) 61.5% jacob f. myers (d) 38.5%
SELECT Incumbent FROM table WHERE Candidates = John M. Vorys (R) 61.5% Jacob F. Myers (D) 38.5%
Translate the following into a SQL query
who is the the incumbent with district being ohio 2
SELECT Incumbent FROM table WHERE District = Ohio 2
Translate the following into a SQL query
what's the result with incumbent being william h. ayres
SELECT Result FROM table WHERE Incumbent = William H. Ayres
Translate the following into a SQL query
how many party with candidates being john m. vorys (r) 61.5% jacob f. myers (d) 38.5%
SELECT COUNT Party FROM table WHERE Candidates = John M. Vorys (R) 61.5% Jacob F. Myers (D) 38.5%
Translate the following into a SQL query
what district is Brooks Hays in
SELECT District FROM table WHERE Incumbent = Brooks Hays
Translate the following into a SQL query
Omar Burleson was the incumbent in what district?
SELECT District FROM table WHERE Incumbent = Omar Burleson
Translate the following into a SQL query
In what district was incumbent first elected in 1938?
SELECT District FROM table WHERE First elected = 1938
Translate the following into a SQL query
Name the party for the pennsylvania 25
SELECT Party FROM table WHERE District = Pennsylvania 25
Translate the following into a SQL query
Name the minumim first elected for alvin bush
SELECT MIN First elected FROM table WHERE Incumbent = Alvin Bush
Translate the following into a SQL query
What is the incumbent for pennsylvania 15
SELECT Incumbent FROM table WHERE District = Pennsylvania 15
Translate the following into a SQL query
What are the candidates for noah m. mason?
SELECT COUNT Candidates FROM table WHERE Incumbent = Noah M. Mason
Translate the following into a SQL query
What is the candidates for fred e. busbey?
SELECT Candidates FROM table WHERE Incumbent = Fred E. Busbey
Translate the following into a SQL query
What is the incumbent for 1932?
SELECT Incumbent FROM table WHERE First elected = 1932
Translate the following into a SQL query
how many first elected with incumbent being charles edward bennett
SELECT COUNT First elected FROM table WHERE Incumbent = Charles Edward Bennett
Translate the following into a SQL query
who is the the incumbent with dbeingtrict being florida 2
SELECT Incumbent FROM table WHERE District = Florida 2
Translate the following into a SQL query
what's the result with candidates being charles edward bennett (d) unopposed
SELECT Result FROM table WHERE Candidates = Charles Edward Bennett (D) Unopposed
Translate the following into a SQL query
what's the result with dbeingtrict being florida 4
SELECT Result FROM table WHERE District = Florida 4
Translate the following into a SQL query
how many party with candidates being charles edward bennett (d) unopposed
SELECT COUNT Party FROM table WHERE Candidates = Charles Edward Bennett (D) Unopposed
Translate the following into a SQL query
how many first elected with incumbent being william c. lantaff
SELECT COUNT First elected FROM table WHERE Incumbent = William C. Lantaff
Translate the following into a SQL query
What was the result of the election when Tic Forrester ran as an incumbent?
SELECT Result FROM table WHERE Incumbent = Tic Forrester
Translate the following into a SQL query
What was the final result for Craig Hosmer?
SELECT Result FROM table WHERE Incumbent = Craig Hosmer
Translate the following into a SQL query
What district does Harlan Hagen represent?
SELECT District FROM table WHERE Incumbent = Harlan Hagen
Translate the following into a SQL query
Who was the candidate in the election in the Louisiana 2 district?
SELECT Candidates FROM table WHERE District = Louisiana 2
Translate the following into a SQL query
What candidate was re-elected in the Louisiana 5 district?
SELECT Candidates FROM table WHERE Result = Re-elected AND District = Louisiana 5
Translate the following into a SQL query
What party's candidate was re-elected in the Louisiana 6 district?
SELECT Party FROM table WHERE Result = Re-elected AND District = Louisiana 6
Translate the following into a SQL query
What was the result in the election where Hale Boggs was the incumbent?
SELECT Result FROM table WHERE Incumbent = Hale Boggs
Translate the following into a SQL query
what is the channel width that overlaps channels 1,3-6?
SELECT Channel Width FROM table WHERE Overlaps Channels = 1,3-6
Translate the following into a SQL query
Name the result for mississippi 2
SELECT Result FROM table WHERE District = Mississippi 2
Translate the following into a SQL query
Name the number of candidates for 1941
SELECT COUNT Candidates FROM table WHERE First elected = 1941
Translate the following into a SQL query
Name the candidates for result of lost renomination democratic loss
SELECT Candidates FROM table WHERE Result = Lost renomination Democratic loss
Translate the following into a SQL query
Name the result for first elected of 1920
SELECT Result FROM table WHERE First elected = 1920
Translate the following into a SQL query
In the District Tennessee 7 what is the number of first elected?
SELECT MAX First elected FROM table WHERE District = Tennessee 7
Translate the following into a SQL query
What is the candidates result that is tom j. murray (d) unopposed?
SELECT Result FROM table WHERE Candidates = Tom J. Murray (D) Unopposed
Translate the following into a SQL query
For the Republican party what are the names of the incumbents?
SELECT Incumbent FROM table WHERE Party = Republican
Translate the following into a SQL query
How many parties match the canididates listed as howard baker, sr. (r) 68.9% boyd w. cox (d) 31.1%?
SELECT COUNT Party FROM table WHERE Candidates = Howard Baker, Sr. (R) 68.9% Boyd W. Cox (D) 31.1%
Translate the following into a SQL query
Which district had Paul B. Dague as the incumbent?
SELECT District FROM table WHERE Incumbent = Paul B. Dague
Translate the following into a SQL query
What was the result in the election where the incumbent was first elected in 1942?
SELECT Result FROM table WHERE First elected = 1942
Translate the following into a SQL query
What was the result of the election in the Texas 3 district?
SELECT Result FROM table WHERE District = Texas 3
Translate the following into a SQL query
What party did incumbent Wright Patman belong to?
SELECT Party FROM table WHERE Incumbent = Wright Patman
Translate the following into a SQL query
What was the result of the election in the Texas 4 district?
SELECT Result FROM table WHERE District = Texas 4
Translate the following into a SQL query
What party did the re-elected incumbent of the Texas 11 district belong to?
SELECT Party FROM table WHERE Result = Re-elected AND District = Texas 11
Translate the following into a SQL query
List all those first elected in the California 22 voting district.
SELECT First elected FROM table WHERE District = California 22
Translate the following into a SQL query
Who was the first elected incumbent in the 1946 election?
SELECT Incumbent FROM table WHERE First elected = 1946
Translate the following into a SQL query
How many results does the California 29 voting district have?
SELECT COUNT Result FROM table WHERE District = California 29
Translate the following into a SQL query
Which party had Clair Engle as an incumbent?
SELECT Party FROM table WHERE Incumbent = Clair Engle
Translate the following into a SQL query
What party does sid simpson represent?
SELECT Party FROM table WHERE Incumbent = Sid Simpson
Translate the following into a SQL query
How many candidates ran against barratt o'hara?
SELECT COUNT Candidates FROM table WHERE Incumbent = Barratt O'Hara
Translate the following into a SQL query
What year was incumbent barratt o'hara first elected?
SELECT First elected FROM table WHERE Incumbent = Barratt O'Hara
Translate the following into a SQL query
How many results for minimum first elected incumbent Noble Jones Gregory?
SELECT MIN First elected FROM table WHERE Incumbent = Noble Jones Gregory
Translate the following into a SQL query
How many results for incumbent Noble Jones Gregory?
SELECT COUNT District FROM table WHERE Incumbent = Noble Jones Gregory
Translate the following into a SQL query
Who is the candidate wehre district is louisiana 1?
SELECT Candidates FROM table WHERE District = Louisiana 1