context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_1342198_38 (candidates VARCHAR, incumbent VARCHAR) | What was the candidates for hardie scott | SELECT candidates FROM table_1342198_38 WHERE incumbent = "Hardie Scott" |
CREATE TABLE table_1342198_38 (candidates VARCHAR, district VARCHAR) | What is the number of candidates for pennsylvania 3 | SELECT COUNT(candidates) FROM table_1342198_38 WHERE district = "Pennsylvania 3" |
CREATE TABLE table_1342198_38 (candidates VARCHAR, district VARCHAR) | What is the number of candidates for pennsylvania 21 | SELECT COUNT(candidates) FROM table_1342198_38 WHERE district = "Pennsylvania 21" |
CREATE TABLE table_1342198_38 (party VARCHAR, first_elected VARCHAR, incumbent VARCHAR) | What is the party for first elected 1948 for william t. granahan | SELECT party FROM table_1342198_38 WHERE first_elected = 1948 AND incumbent = "William T. Granahan" |
CREATE TABLE table_1342198_6 (candidates VARCHAR, incumbent VARCHAR) | How many candidates were there in the race where Cecil R. King is the incumbent? | SELECT COUNT(candidates) FROM table_1342198_6 WHERE incumbent = "Cecil R. King" |
CREATE TABLE table_1342198_6 (district VARCHAR, first_elected VARCHAR) | How many districts have an incumbent first elected in 1944? | SELECT COUNT(district) FROM table_1342198_6 WHERE first_elected = 1944 |
CREATE TABLE table_1342218_13 (incumbent VARCHAR, district VARCHAR) | Who was the incumbent in the Illinois 17 district? | SELECT incumbent FROM table_1342218_13 WHERE district = "Illinois 17" |
CREATE TABLE table_1342218_24 (candidates VARCHAR, incumbent VARCHAR) | How many people on this list are named thomas abernethy? | SELECT COUNT(candidates) FROM table_1342218_24 WHERE incumbent = "Thomas Abernethy" |
CREATE TABLE table_1342218_24 (first_elected VARCHAR, incumbent VARCHAR) | How many times was w. arthur winstead first elected? | SELECT COUNT(first_elected) FROM table_1342218_24 WHERE incumbent = "W. Arthur Winstead" |
CREATE TABLE table_1342218_24 (first_elected VARCHAR, incumbent VARCHAR) | How many times was william m. colmer winstead first elected? | SELECT COUNT(first_elected) FROM table_1342218_24 WHERE incumbent = "William M. Colmer" |
CREATE TABLE table_1342218_24 (result VARCHAR, incumbent VARCHAR) | What was the result of the election with jamie l. whitten? | SELECT result FROM table_1342218_24 WHERE incumbent = "Jamie L. Whitten" |
CREATE TABLE table_1342218_35 (candidates VARCHAR, result VARCHAR, first_elected VARCHAR) | What candidate was re-elected and was first elected in 1942? | SELECT candidates FROM table_1342218_35 WHERE result = "Re-elected" AND first_elected = 1942 |
CREATE TABLE table_1342218_35 (candidates VARCHAR, district VARCHAR) | Who are the candidates in the election in the Ohio 9 district? | SELECT candidates FROM table_1342218_35 WHERE district = "Ohio 9" |
CREATE TABLE table_1342218_35 (first_elected INTEGER, incumbent VARCHAR) | What year was incumbent Michael A. Feighan first elected? | SELECT MIN(first_elected) FROM table_1342218_35 WHERE incumbent = "Michael A. Feighan" |
CREATE TABLE table_1342218_35 (party VARCHAR, district VARCHAR) | What party does the incumbent from the Ohio 5 district belong to? | SELECT party FROM table_1342218_35 WHERE district = "Ohio 5" |
CREATE TABLE table_1342218_35 (party VARCHAR, district VARCHAR) | What party does the incumbent from the Ohio 20 district belong to? | SELECT party FROM table_1342218_35 WHERE district = "Ohio 20" |
CREATE TABLE table_1342218_35 (party VARCHAR, district VARCHAR) | What party does the incumbent from the Ohio 7 district belong to? | SELECT party FROM table_1342218_35 WHERE district = "Ohio 7" |
CREATE TABLE table_1342218_5 (candidates VARCHAR, district VARCHAR) | Who is the candidate for the district Arkansas 2? | SELECT candidates FROM table_1342218_5 WHERE district = "Arkansas 2" |
CREATE TABLE table_1342218_5 (district VARCHAR, result VARCHAR, incumbent VARCHAR) | Which district has the incumbent Wilbur Mills and a re-elected result? | SELECT district FROM table_1342218_5 WHERE result = "Re-elected" AND incumbent = "Wilbur Mills" |
CREATE TABLE table_1342218_43 (first_elected VARCHAR, district VARCHAR) | What year was first-elected for the row of Texas 2? | SELECT first_elected FROM table_1342218_43 WHERE district = "Texas 2" |
CREATE TABLE table_1342218_43 (result VARCHAR, incumbent VARCHAR) | What was the result for the incumbent Milton H. West? | SELECT result FROM table_1342218_43 WHERE incumbent = "Milton H. West" |
CREATE TABLE table_1342218_43 (party VARCHAR, district VARCHAR) | What party is associated with Texas 2? | SELECT party FROM table_1342218_43 WHERE district = "Texas 2" |
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 = "Retired to run for U.S. Senate Democratic hold" |
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 candidates FROM table_1342218_43 WHERE result = "Re-elected" AND district = "Texas 7" |
CREATE TABLE table_1342233_11 (party VARCHAR, candidates VARCHAR) | Which party is associated with the candidate Albert Sidney Camp (D) unopposed? | SELECT COUNT(party) FROM table_1342233_11 WHERE candidates = "Albert Sidney Camp (D) Unopposed" |
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 incumbent = "Carl Vinson" |
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 7" |
CREATE TABLE table_1342233_11 (candidates VARCHAR, district VARCHAR) | What candidate is associated with the Georgia 4 district? | SELECT candidates FROM table_1342233_11 WHERE district = "Georgia 4" |
CREATE TABLE table_1342233_17 (first_elected VARCHAR, incumbent VARCHAR) | What year was incumbent joe b. bates first elected? | SELECT first_elected FROM table_1342233_17 WHERE incumbent = "Joe B. Bates" |
CREATE TABLE table_1342233_17 (party VARCHAR, incumbent VARCHAR) | What party is incumbent virgil chapman from? | SELECT party FROM table_1342233_17 WHERE incumbent = "Virgil Chapman" |
CREATE TABLE table_1342218_6 (first_elected VARCHAR, incumbent VARCHAR) | What year was clair engle first elected? | SELECT first_elected FROM table_1342218_6 WHERE incumbent = "Clair Engle" |
CREATE TABLE table_1342218_6 (result VARCHAR, first_elected VARCHAR) | what is the result of the first elected is 1943? | SELECT result FROM table_1342218_6 WHERE first_elected = 1943 |
CREATE TABLE table_1342233_3 (result VARCHAR, incumbent VARCHAR) | what the the end number where albert rains was running | SELECT COUNT(result) FROM table_1342233_3 WHERE incumbent = "Albert Rains" |
CREATE TABLE table_1342233_3 (result VARCHAR, incumbent VARCHAR) | what the was the final in which frank w. boykin was running | SELECT result FROM table_1342233_3 WHERE incumbent = "Frank W. Boykin" |
CREATE TABLE table_1342233_32 (first_elected VARCHAR, incumbent VARCHAR) | Name the total number of first elected for sol bloom | SELECT COUNT(first_elected) FROM table_1342233_32 WHERE incumbent = "Sol Bloom" |
CREATE TABLE table_1342233_32 (candidates VARCHAR, incumbent VARCHAR) | Name the candidates for ellsworth b. buck | SELECT candidates FROM table_1342233_32 WHERE incumbent = "Ellsworth B. Buck" |
CREATE TABLE table_1342233_32 (candidates VARCHAR, district VARCHAR) | What are the candidates for new york 35? | SELECT candidates FROM table_1342233_32 WHERE district = "New York 35" |
CREATE TABLE table_1342233_32 (party VARCHAR, district VARCHAR) | What is the party for new york 20? | SELECT party FROM table_1342233_32 WHERE district = "New York 20" |
CREATE TABLE table_1342233_43 (result VARCHAR, candidates VARCHAR) | What was the result of the election featuring r. ewing thomason (d) unopposed? | SELECT result FROM table_1342233_43 WHERE candidates = "R. Ewing Thomason (D) Unopposed" |
CREATE TABLE table_1342233_43 (district VARCHAR, incumbent VARCHAR) | What district is eugene worley from? | SELECT district FROM table_1342233_43 WHERE incumbent = "Eugene Worley" |
CREATE TABLE table_1342233_6 (result VARCHAR, candidates VARCHAR) | how many result with candidates being richard j. welch (r) unopposed | SELECT COUNT(result) FROM table_1342233_6 WHERE candidates = "Richard J. Welch (R) Unopposed" |
CREATE TABLE table_1342233_6 (result VARCHAR, incumbent VARCHAR) | what's the result with incumbent being jack z. anderson | SELECT result FROM table_1342233_6 WHERE incumbent = "Jack Z. Anderson" |
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 district FROM table_1342233_6 WHERE result = "Re-elected" AND candidates = "Clarence F. Lea (D) Unopposed" |
CREATE TABLE table_1342233_6 (first_elected VARCHAR, incumbent VARCHAR) | what's the first elected with incumbent being clair engle | SELECT first_elected FROM table_1342233_6 WHERE incumbent = "Clair Engle" |
CREATE TABLE table_1342233_6 (candidates VARCHAR, incumbent VARCHAR) | who is the the candidates with incumbent being alfred j. elliott | SELECT candidates FROM table_1342233_6 WHERE incumbent = "Alfred J. Elliott" |
CREATE TABLE table_1342233_6 (incumbent VARCHAR, candidates VARCHAR) | who is the the incumbent with candidates being jack z. anderson (r) unopposed | SELECT incumbent FROM table_1342233_6 WHERE candidates = "Jack Z. Anderson (R) Unopposed" |
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 = "Carl Vinson" |
CREATE TABLE table_1342249_11 (party VARCHAR, incumbent VARCHAR) | How many parties does incumbent stephen pace represent? | SELECT COUNT(party) FROM table_1342249_11 WHERE incumbent = "Stephen Pace" |
CREATE TABLE table_1342249_13 (candidates VARCHAR, incumbent VARCHAR) | Who were the candidates when Noah M. Mason was incumbent? | SELECT candidates FROM table_1342249_13 WHERE incumbent = "Noah M. Mason" |
CREATE TABLE table_1342249_13 (first_elected VARCHAR, incumbent VARCHAR) | In what year was Leo E. Allen first elected? | SELECT first_elected FROM table_1342249_13 WHERE incumbent = "Leo E. Allen" |
CREATE TABLE table_1342249_13 (candidates VARCHAR, incumbent VARCHAR) | Who were the candidates when Sid Simpson was the incumbent? | SELECT candidates FROM table_1342249_13 WHERE incumbent = "Sid Simpson" |
CREATE TABLE table_1342256_10 (result VARCHAR, incumbent VARCHAR) | What was the result of Robert L. F. Sikes' election bid? | SELECT result FROM table_1342256_10 WHERE incumbent = "Robert L. F. Sikes" |
CREATE TABLE table_1342256_10 (district VARCHAR, first_elected VARCHAR) | How many districts have an incumbent first elected in 1940? | SELECT COUNT(district) FROM table_1342256_10 WHERE first_elected = 1940 |
CREATE TABLE table_1342256_10 (result VARCHAR, incumbent VARCHAR) | How many races involve incumbent Pat Cannon? | SELECT COUNT(result) FROM table_1342256_10 WHERE incumbent = "Pat Cannon" |
CREATE TABLE table_1342256_10 (incumbent VARCHAR, first_elected VARCHAR) | Which incumbent was first elected in 1940? | SELECT incumbent FROM table_1342256_10 WHERE first_elected = 1940 |
CREATE TABLE table_1342249_35 (first_elected VARCHAR, district VARCHAR) | What is the first electedfor district ohio 18 | SELECT first_elected FROM table_1342249_35 WHERE district = "Ohio 18" |
CREATE TABLE table_1342249_35 (incumbent VARCHAR, district VARCHAR) | What is the incumbent for ohio 12? | SELECT incumbent FROM table_1342249_35 WHERE district = "Ohio 12" |
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_18 WHERE incumbent = "James R. Domengeaux" |
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 candidates FROM table_1342256_33 WHERE incumbent = "Harold D. Cooley" |
CREATE TABLE table_1342256_33 (party VARCHAR, first_elected VARCHAR) | How many partys have a candidate first elected in 1923? | SELECT COUNT(party) FROM table_1342256_33 WHERE first_elected = 1923 |
CREATE TABLE table_1342256_38 (candidates VARCHAR, incumbent VARCHAR) | what was the number of candidates when Leon Sacks was incumbent? | SELECT COUNT(candidates) FROM table_1342256_38 WHERE incumbent = "Leon Sacks" |
CREATE TABLE table_1342256_38 (result VARCHAR, district VARCHAR) | What was the result in Pennsylvania 13? | SELECT result FROM table_1342256_38 WHERE district = "Pennsylvania 13" |
CREATE TABLE table_1342256_38 (incumbent VARCHAR, district VARCHAR) | Who was the incumbent in Pennsylvania 27? | SELECT incumbent FROM table_1342256_38 WHERE district = "Pennsylvania 27" |
CREATE TABLE table_1342256_32 (candidates VARCHAR, district VARCHAR) | Who are the contenders In the New York 19 polling area race? | SELECT candidates FROM table_1342256_32 WHERE district = "New York 19" |
CREATE TABLE table_1342256_32 (district VARCHAR, incumbent VARCHAR) | How many polling areas are there with John Taber as the sitting Representative? | SELECT COUNT(district) FROM table_1342256_32 WHERE incumbent = "John Taber" |
CREATE TABLE table_1342256_32 (candidates VARCHAR, district VARCHAR) | Who are the contenders In the New York 29 polling area race? | SELECT candidates FROM table_1342256_32 WHERE district = "New York 29" |
CREATE TABLE table_1342256_32 (party VARCHAR, incumbent VARCHAR) | Which political party is involved where John J. Delaney is the sitting Representative? | SELECT party FROM table_1342256_32 WHERE incumbent = "John J. Delaney" |
CREATE TABLE table_1342256_32 (incumbent VARCHAR, district VARCHAR) | Who is the sitting Representative In the New York 10 polling area race? | SELECT 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 COUNT(incumbent) FROM table_1342256_32 WHERE district = "New York 10" |
CREATE TABLE table_1342256_40 (district VARCHAR, incumbent VARCHAR) | What is the district for james p. richards? | SELECT district FROM table_1342256_40 WHERE incumbent = "James P. Richards" |
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 4" |
CREATE TABLE table_1342256_40 (candidates VARCHAR, district VARCHAR) | What is the candidate for south carolina 3? | SELECT candidates FROM table_1342256_40 WHERE district = "South Carolina 3" |
CREATE TABLE table_1342256_40 (first_elected VARCHAR, district VARCHAR) | What is the first elected for south carolina 4? | SELECT first_elected FROM table_1342256_40 WHERE district = "South Carolina 4" |
CREATE TABLE table_1342256_5 (first_elected VARCHAR, candidates VARCHAR) | How many candidates were in the election featuring brooks hays (d) unopposed? | SELECT COUNT(first_elected) FROM table_1342256_5 WHERE candidates = "Brooks Hays (D) Unopposed" |
CREATE TABLE table_1342256_5 (party VARCHAR, incumbent VARCHAR) | What party does clyde t. ellis represent? | SELECT party FROM table_1342256_5 WHERE incumbent = "Clyde T. Ellis" |
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 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 (result VARCHAR, district VARCHAR) | what's the result with dbeingtrict being california 10 | SELECT result FROM table_1342256_6 WHERE district = "California 10" |
CREATE TABLE table_1342256_6 (party VARCHAR, first_elected VARCHAR) | what's the party with first elected being 1926 | SELECT party FROM table_1342256_6 WHERE first_elected = "1926" |
CREATE TABLE table_1342256_6 (incumbent VARCHAR, result VARCHAR) | what's the incumbent with result being new seat republican gain | SELECT incumbent FROM table_1342256_6 WHERE result = "New seat Republican gain" |
CREATE TABLE table_1342270_24 (first_elected INTEGER) | what was the maxiumum for the first elected? | SELECT MAX(first_elected) FROM table_1342270_24 |
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 incumbent = "Joe Starnes" |
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 first_elected FROM table_1342270_3 WHERE candidates = "Joe Starnes (D) 100.0% George Bogus ( W/I ) 0.003%" |
CREATE TABLE table_1342270_3 (party VARCHAR, district VARCHAR) | how many party with dbeingtrict being alabama 6 | SELECT COUNT(party) FROM table_1342270_3 WHERE district = "Alabama 6" |
CREATE TABLE table_1342270_3 (district VARCHAR, incumbent VARCHAR) | what are all the district with incumbent being sam hobbs | SELECT district FROM table_1342270_3 WHERE incumbent = "Sam Hobbs" |
CREATE TABLE table_1342270_3 (result VARCHAR, district VARCHAR) | what are all the result with district being alabama 1 | SELECT result FROM table_1342270_3 WHERE district = "Alabama 1" |
CREATE TABLE table_1342270_3 (first_elected INTEGER, district VARCHAR) | what is the maximum first elected with district being alabama 5 | SELECT MAX(first_elected) FROM table_1342270_3 WHERE district = "Alabama 5" |
CREATE TABLE table_1342270_42 (result VARCHAR, district VARCHAR) | What was the result in the Tennessee 6 district election? | SELECT result FROM table_1342270_42 WHERE district = "Tennessee 6" |
CREATE TABLE table_1342270_42 (district VARCHAR, incumbent VARCHAR) | In how many districts was the incumbent Estes Kefauver? | SELECT COUNT(district) FROM table_1342270_42 WHERE incumbent = "Estes Kefauver" |
CREATE TABLE table_1342270_42 (first_elected INTEGER) | What is the latest year any of the incumbents were first elected? | SELECT MAX(first_elected) FROM table_1342270_42 |
CREATE TABLE table_1342270_42 (result VARCHAR, district VARCHAR) | What was the result of the Tennessee 2 district election? | SELECT result FROM table_1342270_42 WHERE district = "Tennessee 2" |
CREATE TABLE table_1342292_17 (district VARCHAR, incumbent VARCHAR) | What district is incumbent robert l. mouton from? | SELECT district FROM table_1342292_17 WHERE incumbent = "Robert L. Mouton" |
CREATE TABLE table_1342270_5 (first_elected VARCHAR, incumbent VARCHAR) | William Fadjo Cravens is the only candidate who was first elected in 1939. | SELECT COUNT(first_elected) 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 district FROM table_1342270_5 WHERE incumbent = "William Fadjo Cravens" |
CREATE TABLE table_1342292_2 (party VARCHAR, district VARCHAR) | what's the party with district being alabama 3 | SELECT party FROM table_1342292_2 WHERE district = "Alabama 3" |
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 incumbent FROM table_1342292_2 WHERE candidates = "Sam Hobbs (D) 88.2% C. W. McKay (R) 11.8%" |
CREATE TABLE table_1342292_2 (party VARCHAR, incumbent VARCHAR) | what's the party with incumbent being john sparkman | SELECT party FROM table_1342292_2 WHERE incumbent = "John Sparkman" |
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 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 (party VARCHAR, incumbent VARCHAR) | what's the party with incumbent being william b. bankhead | SELECT party FROM table_1342292_2 WHERE incumbent = "William B. Bankhead" |
CREATE TABLE table_1342292_2 (district VARCHAR, first_elected VARCHAR) | what's the district with first elected being 1938 | SELECT district FROM table_1342292_2 WHERE first_elected = 1938 |
CREATE TABLE table_1342292_45 (party VARCHAR, first_elected VARCHAR) | How many incumbents were first elected in 1930? | SELECT COUNT(party) FROM table_1342292_45 WHERE first_elected = 1930 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.