answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT party FROM table_1342218_43 WHERE district = "Texas 2"
CREATE TABLE table_1342218_43 (party VARCHAR, district VARCHAR)
What party is associated with Texas 2?
SELECT candidates FROM table_1342218_43 WHERE result = "Retired to run for U.S. Senate Democratic hold"
CREATE TABLE table_1342218_43 (candidates VARCHAR, result VARCHAR)
When the result is retired to run for U.S. Senate Democratic Hold, who is the candidate?
SELECT candidates FROM table_1342218_43 WHERE result = "Re-elected" AND district = "Texas 7"
CREATE TABLE table_1342218_43 (candidates VARCHAR, result VARCHAR, district VARCHAR)
What candidate has a result of being re-elected in the Texas 7 District?
SELECT COUNT(party) FROM table_1342233_11 WHERE candidates = "Albert Sidney Camp (D) Unopposed"
CREATE TABLE table_1342233_11 (party VARCHAR, candidates VARCHAR)
Which party is associated with the candidate Albert Sidney Camp (D) unopposed?
SELECT candidates FROM table_1342233_11 WHERE incumbent = "Carl Vinson"
CREATE TABLE table_1342233_11 (candidates VARCHAR, incumbent VARCHAR)
Which district is associated with the incumbent Carl Vinson?
SELECT candidates FROM table_1342233_11 WHERE district = "Georgia 7"
CREATE TABLE table_1342233_11 (candidates VARCHAR, district VARCHAR)
Which candidates are associated with the Georgia 7 district?
SELECT candidates FROM table_1342233_11 WHERE district = "Georgia 4"
CREATE TABLE table_1342233_11 (candidates VARCHAR, district VARCHAR)
What candidate is associated with the Georgia 4 district?
SELECT first_elected FROM table_1342233_17 WHERE incumbent = "Joe B. Bates"
CREATE TABLE table_1342233_17 (first_elected VARCHAR, incumbent VARCHAR)
What year was incumbent joe b. bates first elected?
SELECT party FROM table_1342233_17 WHERE incumbent = "Virgil Chapman"
CREATE TABLE table_1342233_17 (party VARCHAR, incumbent VARCHAR)
What party is incumbent virgil chapman from?
SELECT first_elected FROM table_1342218_6 WHERE incumbent = "Clair Engle"
CREATE TABLE table_1342218_6 (first_elected VARCHAR, incumbent VARCHAR)
What year was clair engle first elected?
SELECT result FROM table_1342218_6 WHERE first_elected = 1943
CREATE TABLE table_1342218_6 (result VARCHAR, first_elected VARCHAR)
what is the result of the first elected is 1943?
SELECT COUNT(result) FROM table_1342233_3 WHERE incumbent = "Albert Rains"
CREATE TABLE table_1342233_3 (result VARCHAR, incumbent VARCHAR)
what the the end number where albert rains was running
SELECT result FROM table_1342233_3 WHERE incumbent = "Frank W. Boykin"
CREATE TABLE table_1342233_3 (result VARCHAR, incumbent VARCHAR)
what the was the final in which frank w. boykin was running
SELECT COUNT(first_elected) FROM table_1342233_32 WHERE incumbent = "Sol Bloom"
CREATE TABLE table_1342233_32 (first_elected VARCHAR, incumbent VARCHAR)
Name the total number of first elected for sol bloom
SELECT candidates FROM table_1342233_32 WHERE incumbent = "Ellsworth B. Buck"
CREATE TABLE table_1342233_32 (candidates VARCHAR, incumbent VARCHAR)
Name the candidates for ellsworth b. buck
SELECT candidates FROM table_1342233_32 WHERE district = "New York 35"
CREATE TABLE table_1342233_32 (candidates VARCHAR, district VARCHAR)
What are the candidates for new york 35?
SELECT party FROM table_1342233_32 WHERE district = "New York 20"
CREATE TABLE table_1342233_32 (party VARCHAR, district VARCHAR)
What is the party for new york 20?
SELECT result FROM table_1342233_43 WHERE candidates = "R. Ewing Thomason (D) Unopposed"
CREATE TABLE table_1342233_43 (result VARCHAR, candidates VARCHAR)
What was the result of the election featuring r. ewing thomason (d) unopposed?
SELECT district FROM table_1342233_43 WHERE incumbent = "Eugene Worley"
CREATE TABLE table_1342233_43 (district VARCHAR, incumbent VARCHAR)
What district is eugene worley from?
SELECT COUNT(result) FROM table_1342233_6 WHERE candidates = "Richard J. Welch (R) Unopposed"
CREATE TABLE table_1342233_6 (result VARCHAR, candidates VARCHAR)
how many result with candidates being richard j. welch (r) unopposed
SELECT result FROM table_1342233_6 WHERE incumbent = "Jack Z. Anderson"
CREATE TABLE table_1342233_6 (result VARCHAR, incumbent VARCHAR)
what's the result with incumbent being jack z. anderson
SELECT district FROM table_1342233_6 WHERE result = "Re-elected" AND candidates = "Clarence F. Lea (D) Unopposed"
CREATE TABLE table_1342233_6 (district VARCHAR, result VARCHAR, candidates VARCHAR)
what's the district with result being re-elected and candidates being clarence f. lea (d) unopposed
SELECT first_elected FROM table_1342233_6 WHERE incumbent = "Clair Engle"
CREATE TABLE table_1342233_6 (first_elected VARCHAR, incumbent VARCHAR)
what's the first elected with incumbent being clair engle
SELECT candidates FROM table_1342233_6 WHERE incumbent = "Alfred J. Elliott"
CREATE TABLE table_1342233_6 (candidates VARCHAR, incumbent VARCHAR)
who is the the candidates with incumbent being alfred j. elliott
SELECT incumbent FROM table_1342233_6 WHERE candidates = "Jack Z. Anderson (R) Unopposed"
CREATE TABLE table_1342233_6 (incumbent VARCHAR, candidates VARCHAR)
who is the the incumbent with candidates being jack z. anderson (r) unopposed
SELECT COUNT(party) FROM table_1342249_11 WHERE incumbent = "Carl Vinson"
CREATE TABLE table_1342249_11 (party VARCHAR, incumbent VARCHAR)
How many parties does incumbent carl vinson represent?
SELECT COUNT(party) FROM table_1342249_11 WHERE incumbent = "Stephen Pace"
CREATE TABLE table_1342249_11 (party VARCHAR, incumbent VARCHAR)
How many parties does incumbent stephen pace represent?
SELECT candidates FROM table_1342249_13 WHERE incumbent = "Noah M. Mason"
CREATE TABLE table_1342249_13 (candidates VARCHAR, incumbent VARCHAR)
Who were the candidates when Noah M. Mason was incumbent?
SELECT first_elected FROM table_1342249_13 WHERE incumbent = "Leo E. Allen"
CREATE TABLE table_1342249_13 (first_elected VARCHAR, incumbent VARCHAR)
In what year was Leo E. Allen first elected?
SELECT candidates FROM table_1342249_13 WHERE incumbent = "Sid Simpson"
CREATE TABLE table_1342249_13 (candidates VARCHAR, incumbent VARCHAR)
Who were the candidates when Sid Simpson was the incumbent?
SELECT result FROM table_1342256_10 WHERE incumbent = "Robert L. F. Sikes"
CREATE TABLE table_1342256_10 (result VARCHAR, incumbent VARCHAR)
What was the result of Robert L. F. Sikes' election bid?
SELECT COUNT(district) FROM table_1342256_10 WHERE first_elected = 1940
CREATE TABLE table_1342256_10 (district VARCHAR, first_elected VARCHAR)
How many districts have an incumbent first elected in 1940?
SELECT COUNT(result) FROM table_1342256_10 WHERE incumbent = "Pat Cannon"
CREATE TABLE table_1342256_10 (result VARCHAR, incumbent VARCHAR)
How many races involve incumbent Pat Cannon?
SELECT incumbent FROM table_1342256_10 WHERE first_elected = 1940
CREATE TABLE table_1342256_10 (incumbent VARCHAR, first_elected VARCHAR)
Which incumbent was first elected in 1940?
SELECT first_elected FROM table_1342249_35 WHERE district = "Ohio 18"
CREATE TABLE table_1342249_35 (first_elected VARCHAR, district VARCHAR)
What is the first electedfor district ohio 18
SELECT incumbent FROM table_1342249_35 WHERE district = "Ohio 12"
CREATE TABLE table_1342249_35 (incumbent VARCHAR, district VARCHAR)
What is the incumbent for ohio 12?
SELECT candidates FROM table_1342256_18 WHERE incumbent = "James R. Domengeaux"
CREATE TABLE table_1342256_18 (candidates VARCHAR, incumbent VARCHAR)
Who are all of the candidates in the election featuring james r. domengeaux?
SELECT candidates FROM table_1342256_33 WHERE incumbent = "Harold D. Cooley"
CREATE TABLE table_1342256_33 (candidates VARCHAR, incumbent VARCHAR)
Name all the candidates that ran for the seat where Harold D. Cooley is the incumbent?
SELECT COUNT(party) FROM table_1342256_33 WHERE first_elected = 1923
CREATE TABLE table_1342256_33 (party VARCHAR, first_elected VARCHAR)
How many partys have a candidate first elected in 1923?
SELECT COUNT(candidates) FROM table_1342256_38 WHERE incumbent = "Leon Sacks"
CREATE TABLE table_1342256_38 (candidates VARCHAR, incumbent VARCHAR)
what was the number of candidates when Leon Sacks was incumbent?
SELECT result FROM table_1342256_38 WHERE district = "Pennsylvania 13"
CREATE TABLE table_1342256_38 (result VARCHAR, district VARCHAR)
What was the result in Pennsylvania 13?
SELECT incumbent FROM table_1342256_38 WHERE district = "Pennsylvania 27"
CREATE TABLE table_1342256_38 (incumbent VARCHAR, district VARCHAR)
Who was the incumbent in Pennsylvania 27?
SELECT candidates FROM table_1342256_32 WHERE district = "New York 19"
CREATE TABLE table_1342256_32 (candidates VARCHAR, district VARCHAR)
Who are the contenders In the New York 19 polling area race?
SELECT COUNT(district) FROM table_1342256_32 WHERE incumbent = "John Taber"
CREATE TABLE table_1342256_32 (district VARCHAR, incumbent VARCHAR)
How many polling areas are there with John Taber as the sitting Representative?
SELECT candidates FROM table_1342256_32 WHERE district = "New York 29"
CREATE TABLE table_1342256_32 (candidates VARCHAR, district VARCHAR)
Who are the contenders In the New York 29 polling area race?
SELECT party FROM table_1342256_32 WHERE incumbent = "John J. Delaney"
CREATE TABLE table_1342256_32 (party VARCHAR, incumbent VARCHAR)
Which political party is involved where John J. Delaney is the sitting Representative?
SELECT incumbent FROM table_1342256_32 WHERE district = "New York 10"
CREATE TABLE table_1342256_32 (incumbent VARCHAR, district VARCHAR)
Who is the sitting Representative In the New York 10 polling area race?
SELECT COUNT(incumbent) FROM table_1342256_32 WHERE district = "New York 10"
CREATE TABLE table_1342256_32 (incumbent VARCHAR, district VARCHAR)
How many sitting Representatives are there in the New York 10 polling area?
SELECT district FROM table_1342256_40 WHERE incumbent = "James P. Richards"
CREATE TABLE table_1342256_40 (district VARCHAR, incumbent VARCHAR)
What is the district for james p. richards?
SELECT candidates FROM table_1342256_40 WHERE district = "South Carolina 4"
CREATE TABLE table_1342256_40 (candidates VARCHAR, district VARCHAR)
What is the candidate for south carolina 4?
SELECT candidates FROM table_1342256_40 WHERE district = "South Carolina 3"
CREATE TABLE table_1342256_40 (candidates VARCHAR, district VARCHAR)
What is the candidate for south carolina 3?
SELECT first_elected FROM table_1342256_40 WHERE district = "South Carolina 4"
CREATE TABLE table_1342256_40 (first_elected VARCHAR, district VARCHAR)
What is the first elected for south carolina 4?
SELECT COUNT(first_elected) FROM table_1342256_5 WHERE candidates = "Brooks Hays (D) Unopposed"
CREATE TABLE table_1342256_5 (first_elected VARCHAR, candidates VARCHAR)
How many candidates were in the election featuring brooks hays (d) unopposed?
SELECT party FROM table_1342256_5 WHERE incumbent = "Clyde T. Ellis"
CREATE TABLE table_1342256_5 (party VARCHAR, incumbent VARCHAR)
What party does clyde t. ellis represent?
SELECT COUNT(party) FROM table_1342256_6 WHERE candidates = "John J. Phillips (R) 57.6% N. E. West (D) 42.4%"
CREATE TABLE table_1342256_6 (party VARCHAR, candidates VARCHAR)
how many party with candidates being john j. phillips (r) 57.6% n. e. west (d) 42.4%
SELECT result FROM table_1342256_6 WHERE district = "California 10"
CREATE TABLE table_1342256_6 (result VARCHAR, district VARCHAR)
what's the result with dbeingtrict being california 10
SELECT party FROM table_1342256_6 WHERE first_elected = "1926"
CREATE TABLE table_1342256_6 (party VARCHAR, first_elected VARCHAR)
what's the party with first elected being 1926
SELECT incumbent FROM table_1342256_6 WHERE result = "New seat Republican gain"
CREATE TABLE table_1342256_6 (incumbent VARCHAR, result VARCHAR)
what's the incumbent with result being new seat republican gain
SELECT MAX(first_elected) FROM table_1342270_24
CREATE TABLE table_1342270_24 (first_elected INTEGER)
what was the maxiumum for the first elected?
SELECT first_elected FROM table_1342270_3 WHERE incumbent = "Joe Starnes"
CREATE TABLE table_1342270_3 (first_elected VARCHAR, incumbent VARCHAR)
what's the first elected with incumbent being joe starnes
SELECT first_elected FROM table_1342270_3 WHERE candidates = "Joe Starnes (D) 100.0% George Bogus ( W/I ) 0.003%"
CREATE TABLE table_1342270_3 (first_elected VARCHAR, candidates VARCHAR)
what's the first elected with candidates being joe starnes (d) 100.0% george bogus ( w/i ) 0.003%
SELECT COUNT(party) FROM table_1342270_3 WHERE district = "Alabama 6"
CREATE TABLE table_1342270_3 (party VARCHAR, district VARCHAR)
how many party with dbeingtrict being alabama 6
SELECT district FROM table_1342270_3 WHERE incumbent = "Sam Hobbs"
CREATE TABLE table_1342270_3 (district VARCHAR, incumbent VARCHAR)
what are all the district with incumbent being sam hobbs
SELECT result FROM table_1342270_3 WHERE district = "Alabama 1"
CREATE TABLE table_1342270_3 (result VARCHAR, district VARCHAR)
what are all the result with district being alabama 1
SELECT MAX(first_elected) FROM table_1342270_3 WHERE district = "Alabama 5"
CREATE TABLE table_1342270_3 (first_elected INTEGER, district VARCHAR)
what is the maximum first elected with district being alabama 5
SELECT result FROM table_1342270_42 WHERE district = "Tennessee 6"
CREATE TABLE table_1342270_42 (result VARCHAR, district VARCHAR)
What was the result in the Tennessee 6 district election?
SELECT COUNT(district) FROM table_1342270_42 WHERE incumbent = "Estes Kefauver"
CREATE TABLE table_1342270_42 (district VARCHAR, incumbent VARCHAR)
In how many districts was the incumbent Estes Kefauver?
SELECT MAX(first_elected) FROM table_1342270_42
CREATE TABLE table_1342270_42 (first_elected INTEGER)
What is the latest year any of the incumbents were first elected?
SELECT result FROM table_1342270_42 WHERE district = "Tennessee 2"
CREATE TABLE table_1342270_42 (result VARCHAR, district VARCHAR)
What was the result of the Tennessee 2 district election?
SELECT district FROM table_1342292_17 WHERE incumbent = "Robert L. Mouton"
CREATE TABLE table_1342292_17 (district VARCHAR, incumbent VARCHAR)
What district is incumbent robert l. mouton from?
SELECT COUNT(first_elected) FROM table_1342270_5 WHERE incumbent = "William Fadjo Cravens"
CREATE TABLE table_1342270_5 (first_elected VARCHAR, incumbent VARCHAR)
William Fadjo Cravens is the only candidate who was first elected in 1939.
SELECT district FROM table_1342270_5 WHERE incumbent = "William Fadjo Cravens"
CREATE TABLE table_1342270_5 (district VARCHAR, incumbent VARCHAR)
William Fadjo Cravens serves the fourth district of Arkansas.
SELECT party FROM table_1342292_2 WHERE district = "Alabama 3"
CREATE TABLE table_1342292_2 (party VARCHAR, district VARCHAR)
what's the party with district being alabama 3
SELECT incumbent FROM table_1342292_2 WHERE candidates = "Sam Hobbs (D) 88.2% C. W. McKay (R) 11.8%"
CREATE TABLE table_1342292_2 (incumbent VARCHAR, candidates VARCHAR)
what's the incumbent with candidates being sam hobbs (d) 88.2% c. w. mckay (r) 11.8%
SELECT party FROM table_1342292_2 WHERE incumbent = "John Sparkman"
CREATE TABLE table_1342292_2 (party VARCHAR, incumbent VARCHAR)
what's the party with incumbent being john sparkman
SELECT COUNT(district) FROM table_1342292_2 WHERE candidates = "William B. Bankhead (D) 71.3% E. M. Reed (R) 28.7%"
CREATE TABLE table_1342292_2 (district VARCHAR, candidates VARCHAR)
how many dbeingtrict with candidates being william b. bankhead (d) 71.3% e. m. reed (r) 28.7%
SELECT party FROM table_1342292_2 WHERE incumbent = "William B. Bankhead"
CREATE TABLE table_1342292_2 (party VARCHAR, incumbent VARCHAR)
what's the party with incumbent being william b. bankhead
SELECT district FROM table_1342292_2 WHERE first_elected = 1938
CREATE TABLE table_1342292_2 (district VARCHAR, first_elected VARCHAR)
what's the district  with first elected being 1938
SELECT COUNT(party) FROM table_1342292_45 WHERE first_elected = 1930
CREATE TABLE table_1342292_45 (party VARCHAR, first_elected VARCHAR)
How many incumbents were first elected in 1930?
SELECT COUNT(result) FROM table_1342292_45 WHERE incumbent = "Dave E. Satterfield, Jr."
CREATE TABLE table_1342292_45 (result VARCHAR, incumbent VARCHAR)
In how many districts is the incumbent Dave E. Satterfield, Jr.
SELECT result FROM table_1342292_45 WHERE first_elected = 1918
CREATE TABLE table_1342292_45 (result VARCHAR, first_elected VARCHAR)
What was the election result for the candidate first elected in 1918?
SELECT COUNT(party) FROM table_1342292_4 WHERE incumbent = "William B. Cravens"
CREATE TABLE table_1342292_4 (party VARCHAR, incumbent VARCHAR)
How many parties does william b. cravens represent?
SELECT district FROM table_1342292_4 WHERE first_elected = 1932
CREATE TABLE table_1342292_4 (district VARCHAR, first_elected VARCHAR)
What district had someone first elected in 1932?
SELECT candidates FROM table_1342292_4 WHERE incumbent = "William J. Driver"
CREATE TABLE table_1342292_4 (candidates VARCHAR, incumbent VARCHAR)
What candidates ran in the election when the incumbent was william j. driver?
SELECT candidates FROM table_1342292_42 WHERE incumbent = "Sam Rayburn"
CREATE TABLE table_1342292_42 (candidates VARCHAR, incumbent VARCHAR)
Who are all the candidates when Sam Rayburn was incumbent?
SELECT party FROM table_1342292_42 WHERE first_elected = 1919
CREATE TABLE table_1342292_42 (party VARCHAR, first_elected VARCHAR)
What was the party that was frist elected in 1919?
SELECT MIN(first_elected) FROM table_1342315_12 WHERE incumbent = "Leo E. Allen"
CREATE TABLE table_1342315_12 (first_elected INTEGER, incumbent VARCHAR)
When was incumbent Leo E. Allen first elected?
SELECT district FROM table_1342315_12 WHERE party = "Republican"
CREATE TABLE table_1342315_12 (district VARCHAR, party VARCHAR)
Which district has a Republican elected?
SELECT COUNT(district) FROM table_1342315_17 WHERE incumbent = "Riley Joseph Wilson"
CREATE TABLE table_1342315_17 (district VARCHAR, incumbent VARCHAR)
How many districts does riley joseph wilson?
SELECT COUNT(district) FROM table_1342315_17 WHERE incumbent = "René L. DeRouen"
CREATE TABLE table_1342315_17 (district VARCHAR, incumbent VARCHAR)
How many districts for rené l. derouen?
SELECT candidates FROM table_1342315_42 WHERE incumbent = "Wright Patman"
CREATE TABLE table_1342315_42 (candidates VARCHAR, incumbent VARCHAR)
Who are the candidates in the race where Wright Patman is the incumbent?
SELECT candidates FROM table_1342331_11 WHERE incumbent = "John S. Wood"
CREATE TABLE table_1342331_11 (candidates VARCHAR, incumbent VARCHAR)
What candidates ran in the election when john s. wood was the incumbent?
SELECT result FROM table_1342331_11 WHERE first_elected = 1914
CREATE TABLE table_1342331_11 (result VARCHAR, first_elected VARCHAR)
What was the result of the election held in 1914?
SELECT COUNT(first_elected) FROM table_1342315_4 WHERE incumbent = "Claude Fuller"
CREATE TABLE table_1342315_4 (first_elected VARCHAR, incumbent VARCHAR)
How many first elections have Claude Fuller as incumbent?
SELECT COUNT(first_elected) FROM table_1342315_10 WHERE district = "Georgia 1"
CREATE TABLE table_1342315_10 (first_elected VARCHAR, district VARCHAR)
How many winners were there in the Georgia 1 district?
SELECT candidates FROM table_1342315_10 WHERE district = "Georgia 4"
CREATE TABLE table_1342315_10 (candidates VARCHAR, district VARCHAR)
Who ran for office at the Georgia 4 district in this election?
SELECT district FROM table_1342331_18 WHERE incumbent = "Riley Joseph Wilson"
CREATE TABLE table_1342331_18 (district VARCHAR, incumbent VARCHAR)
What district has Riley Joseph Wilson as the incumbent?
SELECT candidates FROM table_1342331_18 WHERE district = "Louisiana 6"
CREATE TABLE table_1342331_18 (candidates VARCHAR, district VARCHAR)
What candidate is in Louisiana 6?
SELECT result FROM table_1342331_43 WHERE incumbent = "Richard M. Kleberg"
CREATE TABLE table_1342331_43 (result VARCHAR, incumbent VARCHAR)
what happened during the election for Richard M. Kleberg?
SELECT MAX(first_elected) FROM table_1342331_43 WHERE incumbent = "Fritz G. Lanham"
CREATE TABLE table_1342331_43 (first_elected INTEGER, incumbent VARCHAR)
What year was the first election when Fritz G. Lanham was elected?