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