question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
text
stringlengths
114
1.06k
In how many districts is the incumbent Dave E. Satterfield, Jr.
CREATE TABLE table_1342292_45 (result VARCHAR, incumbent VARCHAR)
SELECT COUNT(result) FROM table_1342292_45 WHERE incumbent = "Dave E. Satterfield, Jr."
### Context: CREATE TABLE table_1342292_45 (result VARCHAR, incumbent VARCHAR) ### Question: In how many districts is the incumbent Dave E. Satterfield, Jr. ### Answer: SELECT COUNT(result) FROM table_1342292_45 WHERE incumbent = "Dave E. Satterfield, Jr."
What was the election result for the candidate first elected in 1918?
CREATE TABLE table_1342292_45 (result VARCHAR, first_elected VARCHAR)
SELECT result FROM table_1342292_45 WHERE first_elected = 1918
### Context: CREATE TABLE table_1342292_45 (result VARCHAR, first_elected VARCHAR) ### Question: What was the election result for the candidate first elected in 1918? ### Answer: SELECT result FROM table_1342292_45 WHERE first_elected = 1918
How many parties does william b. cravens represent?
CREATE TABLE table_1342292_4 (party VARCHAR, incumbent VARCHAR)
SELECT COUNT(party) FROM table_1342292_4 WHERE incumbent = "William B. Cravens"
### Context: CREATE TABLE table_1342292_4 (party VARCHAR, incumbent VARCHAR) ### Question: How many parties does william b. cravens represent? ### Answer: SELECT COUNT(party) FROM table_1342292_4 WHERE incumbent = "William B. Cravens"
What district had someone first elected in 1932?
CREATE TABLE table_1342292_4 (district VARCHAR, first_elected VARCHAR)
SELECT district FROM table_1342292_4 WHERE first_elected = 1932
### Context: CREATE TABLE table_1342292_4 (district VARCHAR, first_elected VARCHAR) ### Question: What district had someone first elected in 1932? ### Answer: SELECT district FROM table_1342292_4 WHERE first_elected = 1932
What candidates ran in the election when the incumbent was william j. driver?
CREATE TABLE table_1342292_4 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342292_4 WHERE incumbent = "William J. Driver"
### Context: CREATE TABLE table_1342292_4 (candidates VARCHAR, incumbent VARCHAR) ### Question: What candidates ran in the election when the incumbent was william j. driver? ### Answer: SELECT candidates FROM table_1342292_4 WHERE incumbent = "William J. Driver"
Who are all the candidates when Sam Rayburn was incumbent?
CREATE TABLE table_1342292_42 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342292_42 WHERE incumbent = "Sam Rayburn"
### Context: CREATE TABLE table_1342292_42 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who are all the candidates when Sam Rayburn was incumbent? ### Answer: SELECT candidates FROM table_1342292_42 WHERE incumbent = "Sam Rayburn"
What was the party that was frist elected in 1919?
CREATE TABLE table_1342292_42 (party VARCHAR, first_elected VARCHAR)
SELECT party FROM table_1342292_42 WHERE first_elected = 1919
### Context: CREATE TABLE table_1342292_42 (party VARCHAR, first_elected VARCHAR) ### Question: What was the party that was frist elected in 1919? ### Answer: SELECT party FROM table_1342292_42 WHERE first_elected = 1919
When was incumbent Leo E. Allen first elected?
CREATE TABLE table_1342315_12 (first_elected INTEGER, incumbent VARCHAR)
SELECT MIN(first_elected) FROM table_1342315_12 WHERE incumbent = "Leo E. Allen"
### Context: CREATE TABLE table_1342315_12 (first_elected INTEGER, incumbent VARCHAR) ### Question: When was incumbent Leo E. Allen first elected? ### Answer: SELECT MIN(first_elected) FROM table_1342315_12 WHERE incumbent = "Leo E. Allen"
Which district has a Republican elected?
CREATE TABLE table_1342315_12 (district VARCHAR, party VARCHAR)
SELECT district FROM table_1342315_12 WHERE party = "Republican"
### Context: CREATE TABLE table_1342315_12 (district VARCHAR, party VARCHAR) ### Question: Which district has a Republican elected? ### Answer: SELECT district FROM table_1342315_12 WHERE party = "Republican"
How many districts does riley joseph wilson?
CREATE TABLE table_1342315_17 (district VARCHAR, incumbent VARCHAR)
SELECT COUNT(district) FROM table_1342315_17 WHERE incumbent = "Riley Joseph Wilson"
### Context: CREATE TABLE table_1342315_17 (district VARCHAR, incumbent VARCHAR) ### Question: How many districts does riley joseph wilson? ### Answer: SELECT COUNT(district) FROM table_1342315_17 WHERE incumbent = "Riley Joseph Wilson"
How many districts for rené l. derouen?
CREATE TABLE table_1342315_17 (district VARCHAR, incumbent VARCHAR)
SELECT COUNT(district) FROM table_1342315_17 WHERE incumbent = "René L. DeRouen"
### Context: CREATE TABLE table_1342315_17 (district VARCHAR, incumbent VARCHAR) ### Question: How many districts for rené l. derouen? ### Answer: SELECT COUNT(district) FROM table_1342315_17 WHERE incumbent = "René L. DeRouen"
Who are the candidates in the race where Wright Patman is the incumbent?
CREATE TABLE table_1342315_42 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342315_42 WHERE incumbent = "Wright Patman"
### Context: CREATE TABLE table_1342315_42 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who are the candidates in the race where Wright Patman is the incumbent? ### Answer: SELECT candidates FROM table_1342315_42 WHERE incumbent = "Wright Patman"
What candidates ran in the election when john s. wood was the incumbent?
CREATE TABLE table_1342331_11 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342331_11 WHERE incumbent = "John S. Wood"
### Context: CREATE TABLE table_1342331_11 (candidates VARCHAR, incumbent VARCHAR) ### Question: What candidates ran in the election when john s. wood was the incumbent? ### Answer: SELECT candidates FROM table_1342331_11 WHERE incumbent = "John S. Wood"
What was the result of the election held in 1914?
CREATE TABLE table_1342331_11 (result VARCHAR, first_elected VARCHAR)
SELECT result FROM table_1342331_11 WHERE first_elected = 1914
### Context: CREATE TABLE table_1342331_11 (result VARCHAR, first_elected VARCHAR) ### Question: What was the result of the election held in 1914? ### Answer: SELECT result FROM table_1342331_11 WHERE first_elected = 1914
How many first elections have Claude Fuller as incumbent?
CREATE TABLE table_1342315_4 (first_elected VARCHAR, incumbent VARCHAR)
SELECT COUNT(first_elected) FROM table_1342315_4 WHERE incumbent = "Claude Fuller"
### Context: CREATE TABLE table_1342315_4 (first_elected VARCHAR, incumbent VARCHAR) ### Question: How many first elections have Claude Fuller as incumbent? ### Answer: SELECT COUNT(first_elected) FROM table_1342315_4 WHERE incumbent = "Claude Fuller"
How many winners were there in the Georgia 1 district?
CREATE TABLE table_1342315_10 (first_elected VARCHAR, district VARCHAR)
SELECT COUNT(first_elected) FROM table_1342315_10 WHERE district = "Georgia 1"
### Context: CREATE TABLE table_1342315_10 (first_elected VARCHAR, district VARCHAR) ### Question: How many winners were there in the Georgia 1 district? ### Answer: SELECT COUNT(first_elected) FROM table_1342315_10 WHERE district = "Georgia 1"
Who ran for office at the Georgia 4 district in this election?
CREATE TABLE table_1342315_10 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1342315_10 WHERE district = "Georgia 4"
### Context: CREATE TABLE table_1342315_10 (candidates VARCHAR, district VARCHAR) ### Question: Who ran for office at the Georgia 4 district in this election? ### Answer: SELECT candidates FROM table_1342315_10 WHERE district = "Georgia 4"
What district has Riley Joseph Wilson as the incumbent?
CREATE TABLE table_1342331_18 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342331_18 WHERE incumbent = "Riley Joseph Wilson"
### Context: CREATE TABLE table_1342331_18 (district VARCHAR, incumbent VARCHAR) ### Question: What district has Riley Joseph Wilson as the incumbent? ### Answer: SELECT district FROM table_1342331_18 WHERE incumbent = "Riley Joseph Wilson"
What candidate is in Louisiana 6?
CREATE TABLE table_1342331_18 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1342331_18 WHERE district = "Louisiana 6"
### Context: CREATE TABLE table_1342331_18 (candidates VARCHAR, district VARCHAR) ### Question: What candidate is in Louisiana 6? ### Answer: SELECT candidates FROM table_1342331_18 WHERE district = "Louisiana 6"
what happened during the election for Richard M. Kleberg?
CREATE TABLE table_1342331_43 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1342331_43 WHERE incumbent = "Richard M. Kleberg"
### Context: CREATE TABLE table_1342331_43 (result VARCHAR, incumbent VARCHAR) ### Question: what happened during the election for Richard M. Kleberg? ### Answer: SELECT result FROM table_1342331_43 WHERE incumbent = "Richard M. Kleberg"
What year was the first election when Fritz G. Lanham was elected?
CREATE TABLE table_1342331_43 (first_elected INTEGER, incumbent VARCHAR)
SELECT MAX(first_elected) FROM table_1342331_43 WHERE incumbent = "Fritz G. Lanham"
### Context: CREATE TABLE table_1342331_43 (first_elected INTEGER, incumbent VARCHAR) ### Question: What year was the first election when Fritz G. Lanham was elected? ### Answer: SELECT MAX(first_elected) FROM table_1342331_43 WHERE incumbent = "Fritz G. Lanham"
What is the name of the candidate where the incumbent is named James P. Buchanan?
CREATE TABLE table_1342331_43 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342331_43 WHERE incumbent = "James P. Buchanan"
### Context: CREATE TABLE table_1342331_43 (candidates VARCHAR, incumbent VARCHAR) ### Question: What is the name of the candidate where the incumbent is named James P. Buchanan? ### Answer: SELECT candidates FROM table_1342331_43 WHERE incumbent = "James P. Buchanan"
What party is incumbent Oliver H. Cross?
CREATE TABLE table_1342331_43 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1342331_43 WHERE incumbent = "Oliver H. Cross"
### Context: CREATE TABLE table_1342331_43 (party VARCHAR, incumbent VARCHAR) ### Question: What party is incumbent Oliver H. Cross? ### Answer: SELECT party FROM table_1342331_43 WHERE incumbent = "Oliver H. Cross"
what's the district with incumbent being william j. driver
CREATE TABLE table_1342331_5 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342331_5 WHERE incumbent = "William J. Driver"
### Context: CREATE TABLE table_1342331_5 (district VARCHAR, incumbent VARCHAR) ### Question: what's the district with incumbent being william j. driver ### Answer: SELECT district FROM table_1342331_5 WHERE incumbent = "William J. Driver"
what's the district with incumbent being john e. miller
CREATE TABLE table_1342331_5 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342331_5 WHERE incumbent = "John E. Miller"
### Context: CREATE TABLE table_1342331_5 (district VARCHAR, incumbent VARCHAR) ### Question: what's the district with incumbent being john e. miller ### Answer: SELECT district FROM table_1342331_5 WHERE incumbent = "John E. Miller"
how many incumbent with first elected being 1932
CREATE TABLE table_1342331_5 (incumbent VARCHAR, first_elected VARCHAR)
SELECT COUNT(incumbent) FROM table_1342331_5 WHERE first_elected = 1932
### Context: CREATE TABLE table_1342331_5 (incumbent VARCHAR, first_elected VARCHAR) ### Question: how many incumbent with first elected being 1932 ### Answer: SELECT COUNT(incumbent) FROM table_1342331_5 WHERE first_elected = 1932
who is the the incumbent with dbeingtrict being arkansas 1
CREATE TABLE table_1342331_5 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_1342331_5 WHERE district = "Arkansas 1"
### Context: CREATE TABLE table_1342331_5 (incumbent VARCHAR, district VARCHAR) ### Question: who is the the incumbent with dbeingtrict being arkansas 1 ### Answer: SELECT incumbent FROM table_1342331_5 WHERE district = "Arkansas 1"
how many district  with incumbent being david delano glover
CREATE TABLE table_1342331_5 (district VARCHAR, incumbent VARCHAR)
SELECT COUNT(district) FROM table_1342331_5 WHERE incumbent = "David Delano Glover"
### Context: CREATE TABLE table_1342331_5 (district VARCHAR, incumbent VARCHAR) ### Question: how many district  with incumbent being david delano glover ### Answer: SELECT COUNT(district) FROM table_1342331_5 WHERE incumbent = "David Delano Glover"
who is the the incumbent with candidates being ben cravens (d) unopposed
CREATE TABLE table_1342331_5 (incumbent VARCHAR, candidates VARCHAR)
SELECT incumbent FROM table_1342331_5 WHERE candidates = "Ben Cravens (D) Unopposed"
### Context: CREATE TABLE table_1342331_5 (incumbent VARCHAR, candidates VARCHAR) ### Question: who is the the incumbent with candidates being ben cravens (d) unopposed ### Answer: SELECT incumbent FROM table_1342331_5 WHERE candidates = "Ben Cravens (D) Unopposed"
What was the result in the election in which the incumbent was Denver S. Church?
CREATE TABLE table_1342331_6 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1342331_6 WHERE incumbent = "Denver S. Church"
### Context: CREATE TABLE table_1342331_6 (result VARCHAR, incumbent VARCHAR) ### Question: What was the result in the election in which the incumbent was Denver S. Church? ### Answer: SELECT result FROM table_1342331_6 WHERE incumbent = "Denver S. Church"
What was the result in the election in which Ralph R. Eltse was the incumbent?
CREATE TABLE table_1342331_6 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1342331_6 WHERE incumbent = "Ralph R. Eltse"
### Context: CREATE TABLE table_1342331_6 (result VARCHAR, incumbent VARCHAR) ### Question: What was the result in the election in which Ralph R. Eltse was the incumbent? ### Answer: SELECT result FROM table_1342331_6 WHERE incumbent = "Ralph R. Eltse"
Who was the candidate in the election in the California 8 district where the incumbent was first elected in 1932?
CREATE TABLE table_1342331_6 (candidates VARCHAR, first_elected VARCHAR, district VARCHAR)
SELECT candidates FROM table_1342331_6 WHERE first_elected = 1932 AND district = "California 8"
### Context: CREATE TABLE table_1342331_6 (candidates VARCHAR, first_elected VARCHAR, district VARCHAR) ### Question: Who was the candidate in the election in the California 8 district where the incumbent was first elected in 1932? ### Answer: SELECT candidates FROM table_1342331_6 WHERE first_elected = 1932 AND distr...
what are all the party with district being kansas 1
CREATE TABLE table_1342359_15 (party VARCHAR, district VARCHAR)
SELECT party FROM table_1342359_15 WHERE district = "Kansas 1"
### Context: CREATE TABLE table_1342359_15 (party VARCHAR, district VARCHAR) ### Question: what are all the party with district being kansas 1 ### Answer: SELECT party FROM table_1342359_15 WHERE district = "Kansas 1"
what's the result with district being kansas 1
CREATE TABLE table_1342359_15 (result VARCHAR, district VARCHAR)
SELECT result FROM table_1342359_15 WHERE district = "Kansas 1"
### Context: CREATE TABLE table_1342359_15 (result VARCHAR, district VARCHAR) ### Question: what's the result with district being kansas 1 ### Answer: SELECT result FROM table_1342359_15 WHERE district = "Kansas 1"
who are the candidates with district being kansas 4
CREATE TABLE table_1342359_15 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1342359_15 WHERE district = "Kansas 4"
### Context: CREATE TABLE table_1342359_15 (candidates VARCHAR, district VARCHAR) ### Question: who are the candidates with district being kansas 4 ### Answer: SELECT candidates FROM table_1342359_15 WHERE district = "Kansas 4"
what's the result with first elected being 1922
CREATE TABLE table_1342359_15 (result VARCHAR, first_elected VARCHAR)
SELECT result FROM table_1342359_15 WHERE first_elected = 1922
### Context: CREATE TABLE table_1342359_15 (result VARCHAR, first_elected VARCHAR) ### Question: what's the result with first elected being 1922 ### Answer: SELECT result FROM table_1342359_15 WHERE first_elected = 1922
who is the the candidates with dbeingtrict being kansas 5
CREATE TABLE table_1342359_15 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1342359_15 WHERE district = "Kansas 5"
### Context: CREATE TABLE table_1342359_15 (candidates VARCHAR, district VARCHAR) ### Question: who is the the candidates with dbeingtrict being kansas 5 ### Answer: SELECT candidates FROM table_1342359_15 WHERE district = "Kansas 5"
how many first elected with district is kansas 3
CREATE TABLE table_1342359_15 (first_elected VARCHAR, district VARCHAR)
SELECT COUNT(first_elected) FROM table_1342359_15 WHERE district = "Kansas 3"
### Context: CREATE TABLE table_1342359_15 (first_elected VARCHAR, district VARCHAR) ### Question: how many first elected with district is kansas 3 ### Answer: SELECT COUNT(first_elected) FROM table_1342359_15 WHERE district = "Kansas 3"
What was the result of the election in the Arkansas 2 district?
CREATE TABLE table_1342359_4 (result VARCHAR, district VARCHAR)
SELECT result FROM table_1342359_4 WHERE district = "Arkansas 2"
### Context: CREATE TABLE table_1342359_4 (result VARCHAR, district VARCHAR) ### Question: What was the result of the election in the Arkansas 2 district? ### Answer: SELECT result FROM table_1342359_4 WHERE district = "Arkansas 2"
What was the result of the election in the Arkansas 4 district?
CREATE TABLE table_1342359_4 (result VARCHAR, district VARCHAR)
SELECT result FROM table_1342359_4 WHERE district = "Arkansas 4"
### Context: CREATE TABLE table_1342359_4 (result VARCHAR, district VARCHAR) ### Question: What was the result of the election in the Arkansas 4 district? ### Answer: SELECT result FROM table_1342359_4 WHERE district = "Arkansas 4"
How many candidates ran in the election in the Arkansas 4 district?
CREATE TABLE table_1342359_4 (candidates VARCHAR, district VARCHAR)
SELECT COUNT(candidates) FROM table_1342359_4 WHERE district = "Arkansas 4"
### Context: CREATE TABLE table_1342359_4 (candidates VARCHAR, district VARCHAR) ### Question: How many candidates ran in the election in the Arkansas 4 district? ### Answer: SELECT COUNT(candidates) FROM table_1342359_4 WHERE district = "Arkansas 4"
How many districts does william b. oliver represent?
CREATE TABLE table_1342359_2 (district VARCHAR, incumbent VARCHAR)
SELECT COUNT(district) FROM table_1342359_2 WHERE incumbent = "William B. Oliver"
### Context: CREATE TABLE table_1342359_2 (district VARCHAR, incumbent VARCHAR) ### Question: How many districts does william b. oliver represent? ### Answer: SELECT COUNT(district) FROM table_1342359_2 WHERE incumbent = "William B. Oliver"
What is the last year that someone is first elected?
CREATE TABLE table_1342359_2 (first_elected INTEGER)
SELECT MAX(first_elected) FROM table_1342359_2
### Context: CREATE TABLE table_1342359_2 (first_elected INTEGER) ### Question: What is the last year that someone is first elected? ### Answer: SELECT MAX(first_elected) FROM table_1342359_2
How many people were elected in 1929
CREATE TABLE table_1342359_17 (candidates VARCHAR, first_elected VARCHAR)
SELECT COUNT(candidates) FROM table_1342359_17 WHERE first_elected = 1929
### Context: CREATE TABLE table_1342359_17 (candidates VARCHAR, first_elected VARCHAR) ### Question: How many people were elected in 1929 ### Answer: SELECT COUNT(candidates) FROM table_1342359_17 WHERE first_elected = 1929
how many people won in 1914
CREATE TABLE table_1342359_17 (district VARCHAR, first_elected VARCHAR)
SELECT COUNT(district) FROM table_1342359_17 WHERE first_elected = 1914
### Context: CREATE TABLE table_1342359_17 (district VARCHAR, first_elected VARCHAR) ### Question: how many people won in 1914 ### Answer: SELECT COUNT(district) FROM table_1342359_17 WHERE first_elected = 1914
Who won in 1927
CREATE TABLE table_1342359_17 (incumbent VARCHAR, first_elected VARCHAR)
SELECT incumbent FROM table_1342359_17 WHERE first_elected = 1927
### Context: CREATE TABLE table_1342359_17 (incumbent VARCHAR, first_elected VARCHAR) ### Question: Who won in 1927 ### Answer: SELECT incumbent FROM table_1342359_17 WHERE first_elected = 1927
Name the number of incumbents for texas 12
CREATE TABLE table_1342359_42 (incumbent VARCHAR, district VARCHAR)
SELECT COUNT(incumbent) FROM table_1342359_42 WHERE district = "Texas 12"
### Context: CREATE TABLE table_1342359_42 (incumbent VARCHAR, district VARCHAR) ### Question: Name the number of incumbents for texas 12 ### Answer: SELECT COUNT(incumbent) FROM table_1342359_42 WHERE district = "Texas 12"
How many parties were represented for Charles R. Crisp?
CREATE TABLE table_1342370_10 (party VARCHAR, incumbent VARCHAR)
SELECT COUNT(party) FROM table_1342370_10 WHERE incumbent = "Charles R. Crisp"
### Context: CREATE TABLE table_1342370_10 (party VARCHAR, incumbent VARCHAR) ### Question: How many parties were represented for Charles R. Crisp? ### Answer: SELECT COUNT(party) FROM table_1342370_10 WHERE incumbent = "Charles R. Crisp"
In what district was the representative first elected in 1916?
CREATE TABLE table_1342370_10 (district VARCHAR, first_elected VARCHAR)
SELECT district FROM table_1342370_10 WHERE first_elected = 1916
### Context: CREATE TABLE table_1342370_10 (district VARCHAR, first_elected VARCHAR) ### Question: In what district was the representative first elected in 1916? ### Answer: SELECT district FROM table_1342370_10 WHERE first_elected = 1916
Who were the candidates in the 1922 entry?
CREATE TABLE table_1342370_12 (candidates VARCHAR, first_elected VARCHAR)
SELECT candidates FROM table_1342370_12 WHERE first_elected = 1922
### Context: CREATE TABLE table_1342370_12 (candidates VARCHAR, first_elected VARCHAR) ### Question: Who were the candidates in the 1922 entry? ### Answer: SELECT candidates FROM table_1342370_12 WHERE first_elected = 1922
In which district is James O'Connor the incumbent?
CREATE TABLE table_1342370_17 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342370_17 WHERE incumbent = "James O'Connor"
### Context: CREATE TABLE table_1342370_17 (district VARCHAR, incumbent VARCHAR) ### Question: In which district is James O'Connor the incumbent? ### Answer: SELECT district FROM table_1342370_17 WHERE incumbent = "James O'Connor"
To which party does Riley Joseph Wilson belong?
CREATE TABLE table_1342370_17 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1342370_17 WHERE incumbent = "Riley Joseph Wilson"
### Context: CREATE TABLE table_1342370_17 (party VARCHAR, incumbent VARCHAR) ### Question: To which party does Riley Joseph Wilson belong? ### Answer: SELECT party FROM table_1342370_17 WHERE incumbent = "Riley Joseph Wilson"
How many of the first elected were listed when Hatton W. Sumners was incumbent and re-elected?
CREATE TABLE table_1342370_42 (first_elected VARCHAR, result VARCHAR, incumbent VARCHAR)
SELECT COUNT(first_elected) FROM table_1342370_42 WHERE result = "Re-elected" AND incumbent = "Hatton W. Sumners"
### Context: CREATE TABLE table_1342370_42 (first_elected VARCHAR, result VARCHAR, incumbent VARCHAR) ### Question: How many of the first elected were listed when Hatton W. Sumners was incumbent and re-elected? ### Answer: SELECT COUNT(first_elected) FROM table_1342370_42 WHERE result = "Re-elected" AND incumbent = "Ha...
What was the result in the election where the incumbent was Finis J. Garrett?
CREATE TABLE table_1342370_41 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1342370_41 WHERE incumbent = "Finis J. Garrett"
### Context: CREATE TABLE table_1342370_41 (result VARCHAR, incumbent VARCHAR) ### Question: What was the result in the election where the incumbent was Finis J. Garrett? ### Answer: SELECT result FROM table_1342370_41 WHERE incumbent = "Finis J. Garrett"
In what district was the incumbent Cordell hull?
CREATE TABLE table_1342370_41 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342370_41 WHERE incumbent = "Cordell Hull"
### Context: CREATE TABLE table_1342370_41 (district VARCHAR, incumbent VARCHAR) ### Question: In what district was the incumbent Cordell hull? ### Answer: SELECT district FROM table_1342370_41 WHERE incumbent = "Cordell Hull"
Who were the candidates in the election in the Tennessee 9 district?
CREATE TABLE table_1342370_41 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1342370_41 WHERE district = "Tennessee 9"
### Context: CREATE TABLE table_1342370_41 (candidates VARCHAR, district VARCHAR) ### Question: Who were the candidates in the election in the Tennessee 9 district? ### Answer: SELECT candidates FROM table_1342370_41 WHERE district = "Tennessee 9"
What was the result of the election featuring james a. gallivan (d) unopposed?
CREATE TABLE table_1342379_20 (result VARCHAR, candidates VARCHAR)
SELECT result FROM table_1342379_20 WHERE candidates = "James A. Gallivan (D) Unopposed"
### Context: CREATE TABLE table_1342379_20 (result VARCHAR, candidates VARCHAR) ### Question: What was the result of the election featuring james a. gallivan (d) unopposed? ### Answer: SELECT result FROM table_1342379_20 WHERE candidates = "James A. Gallivan (D) Unopposed"
How many districts does john j. douglass represent?
CREATE TABLE table_1342379_20 (district VARCHAR, incumbent VARCHAR)
SELECT COUNT(district) FROM table_1342379_20 WHERE incumbent = "John J. Douglass"
### Context: CREATE TABLE table_1342379_20 (district VARCHAR, incumbent VARCHAR) ### Question: How many districts does john j. douglass represent? ### Answer: SELECT COUNT(district) FROM table_1342379_20 WHERE incumbent = "John J. Douglass"
how many areas were in the election in 1912
CREATE TABLE table_1342379_10 (district VARCHAR, first_elected VARCHAR)
SELECT COUNT(district) FROM table_1342379_10 WHERE first_elected = 1912
### Context: CREATE TABLE table_1342379_10 (district VARCHAR, first_elected VARCHAR) ### Question: how many areas were in the election in 1912 ### Answer: SELECT COUNT(district) FROM table_1342379_10 WHERE first_elected = 1912
what is the affiliation of charles h. brand
CREATE TABLE table_1342379_10 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1342379_10 WHERE incumbent = "Charles H. Brand"
### Context: CREATE TABLE table_1342379_10 (party VARCHAR, incumbent VARCHAR) ### Question: what is the affiliation of charles h. brand ### Answer: SELECT party FROM table_1342379_10 WHERE incumbent = "Charles H. Brand"
What candidates ran in the election that featured harry lane englebright?
CREATE TABLE table_1342370_5 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342370_5 WHERE incumbent = "Harry Lane Englebright"
### Context: CREATE TABLE table_1342370_5 (candidates VARCHAR, incumbent VARCHAR) ### Question: What candidates ran in the election that featured harry lane englebright? ### Answer: SELECT candidates FROM table_1342370_5 WHERE incumbent = "Harry Lane Englebright"
When was incumbent William B. Oliver first elected?
CREATE TABLE table_1342379_2 (first_elected INTEGER, incumbent VARCHAR)
SELECT MAX(first_elected) FROM table_1342379_2 WHERE incumbent = "William B. Oliver"
### Context: CREATE TABLE table_1342379_2 (first_elected INTEGER, incumbent VARCHAR) ### Question: When was incumbent William B. Oliver first elected? ### Answer: SELECT MAX(first_elected) FROM table_1342379_2 WHERE incumbent = "William B. Oliver"
who is the the incumbent with candidates being percy e. quin (d) unopposed
CREATE TABLE table_1342379_23 (incumbent VARCHAR, candidates VARCHAR)
SELECT incumbent FROM table_1342379_23 WHERE candidates = "Percy E. Quin (D) Unopposed"
### Context: CREATE TABLE table_1342379_23 (incumbent VARCHAR, candidates VARCHAR) ### Question: who is the the incumbent with candidates being percy e. quin (d) unopposed ### Answer: SELECT incumbent FROM table_1342379_23 WHERE candidates = "Percy E. Quin (D) Unopposed"
what's the district with candidates being john e. rankin (d) unopposed
CREATE TABLE table_1342379_23 (district VARCHAR, candidates VARCHAR)
SELECT district FROM table_1342379_23 WHERE candidates = "John E. Rankin (D) Unopposed"
### Context: CREATE TABLE table_1342379_23 (district VARCHAR, candidates VARCHAR) ### Question: what's the district with candidates being john e. rankin (d) unopposed ### Answer: SELECT district FROM table_1342379_23 WHERE candidates = "John E. Rankin (D) Unopposed"
who is the the candidates with district being mississippi 4
CREATE TABLE table_1342379_23 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1342379_23 WHERE district = "Mississippi 4"
### Context: CREATE TABLE table_1342379_23 (candidates VARCHAR, district VARCHAR) ### Question: who is the the candidates with district being mississippi 4 ### Answer: SELECT candidates FROM table_1342379_23 WHERE district = "Mississippi 4"
who is the incumbent for district mississippi 4
CREATE TABLE table_1342379_23 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_1342379_23 WHERE district = "Mississippi 4"
### Context: CREATE TABLE table_1342379_23 (incumbent VARCHAR, district VARCHAR) ### Question: who is the incumbent for district mississippi 4 ### Answer: SELECT incumbent FROM table_1342379_23 WHERE district = "Mississippi 4"
what's the result with incumbent being bill g. lowrey
CREATE TABLE table_1342379_23 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1342379_23 WHERE incumbent = "Bill G. Lowrey"
### Context: CREATE TABLE table_1342379_23 (result VARCHAR, incumbent VARCHAR) ### Question: what's the result with incumbent being bill g. lowrey ### Answer: SELECT result FROM table_1342379_23 WHERE incumbent = "Bill G. Lowrey"
what's the district  with candidates being william madison whittington (d) unopposed
CREATE TABLE table_1342379_23 (district VARCHAR, candidates VARCHAR)
SELECT district FROM table_1342379_23 WHERE candidates = "William Madison Whittington (D) Unopposed"
### Context: CREATE TABLE table_1342379_23 (district VARCHAR, candidates VARCHAR) ### Question: what's the district  with candidates being william madison whittington (d) unopposed ### Answer: SELECT district FROM table_1342379_23 WHERE candidates = "William Madison Whittington (D) Unopposed"
What was the last year that incumbent joseph t. deal was first elected?
CREATE TABLE table_1342379_45 (first_elected INTEGER, incumbent VARCHAR)
SELECT MAX(first_elected) FROM table_1342379_45 WHERE incumbent = "Joseph T. Deal"
### Context: CREATE TABLE table_1342379_45 (first_elected INTEGER, incumbent VARCHAR) ### Question: What was the last year that incumbent joseph t. deal was first elected? ### Answer: SELECT MAX(first_elected) FROM table_1342379_45 WHERE incumbent = "Joseph T. Deal"
What year was someone first elected?
CREATE TABLE table_1342379_45 (first_elected INTEGER)
SELECT MIN(first_elected) FROM table_1342379_45
### Context: CREATE TABLE table_1342379_45 (first_elected INTEGER) ### Question: What year was someone first elected? ### Answer: SELECT MIN(first_elected) FROM table_1342379_45
What district does edward everett eslick represent?
CREATE TABLE table_1342379_41 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342379_41 WHERE incumbent = "Edward Everett Eslick"
### Context: CREATE TABLE table_1342379_41 (district VARCHAR, incumbent VARCHAR) ### Question: What district does edward everett eslick represent? ### Answer: SELECT district FROM table_1342379_41 WHERE incumbent = "Edward Everett Eslick"
How many times was incumbent cordell hull first elected?
CREATE TABLE table_1342379_41 (first_elected VARCHAR, incumbent VARCHAR)
SELECT COUNT(first_elected) FROM table_1342379_41 WHERE incumbent = "Cordell Hull"
### Context: CREATE TABLE table_1342379_41 (first_elected VARCHAR, incumbent VARCHAR) ### Question: How many times was incumbent cordell hull first elected? ### Answer: SELECT COUNT(first_elected) FROM table_1342379_41 WHERE incumbent = "Cordell Hull"
How many times was the election joseph w. byrns, sr. (d) unopposed?
CREATE TABLE table_1342379_41 (result VARCHAR, candidates VARCHAR)
SELECT COUNT(result) FROM table_1342379_41 WHERE candidates = "Joseph W. Byrns, Sr. (D) Unopposed"
### Context: CREATE TABLE table_1342379_41 (result VARCHAR, candidates VARCHAR) ### Question: How many times was the election joseph w. byrns, sr. (d) unopposed? ### Answer: SELECT COUNT(result) FROM table_1342379_41 WHERE candidates = "Joseph W. Byrns, Sr. (D) Unopposed"
What is the least first elected for jeff busby?
CREATE TABLE table_1342393_23 (first_elected INTEGER, incumbent VARCHAR)
SELECT MIN(first_elected) FROM table_1342393_23 WHERE incumbent = "Jeff Busby"
### Context: CREATE TABLE table_1342393_23 (first_elected INTEGER, incumbent VARCHAR) ### Question: What is the least first elected for jeff busby? ### Answer: SELECT MIN(first_elected) FROM table_1342393_23 WHERE incumbent = "Jeff Busby"
What was the party for first elected 1923?
CREATE TABLE table_1342393_23 (party VARCHAR, first_elected VARCHAR)
SELECT party FROM table_1342393_23 WHERE first_elected = 1923
### Context: CREATE TABLE table_1342393_23 (party VARCHAR, first_elected VARCHAR) ### Question: What was the party for first elected 1923? ### Answer: SELECT party FROM table_1342393_23 WHERE first_elected = 1923
Name the total number of result for mississippi 4?
CREATE TABLE table_1342393_23 (result VARCHAR, district VARCHAR)
SELECT COUNT(result) FROM table_1342393_23 WHERE district = "Mississippi 4"
### Context: CREATE TABLE table_1342393_23 (result VARCHAR, district VARCHAR) ### Question: Name the total number of result for mississippi 4? ### Answer: SELECT COUNT(result) FROM table_1342393_23 WHERE district = "Mississippi 4"
what is the section where gordon lee ran
CREATE TABLE table_1342393_10 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342393_10 WHERE incumbent = "Gordon Lee"
### Context: CREATE TABLE table_1342393_10 (district VARCHAR, incumbent VARCHAR) ### Question: what is the section where gordon lee ran ### Answer: SELECT district FROM table_1342393_10 WHERE incumbent = "Gordon Lee"
what section did frank park run in
CREATE TABLE table_1342393_10 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342393_10 WHERE incumbent = "Frank Park"
### Context: CREATE TABLE table_1342393_10 (district VARCHAR, incumbent VARCHAR) ### Question: what section did frank park run in ### Answer: SELECT district FROM table_1342393_10 WHERE incumbent = "Frank Park"
who won in the race in the section georgia 5
CREATE TABLE table_1342393_10 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_1342393_10 WHERE district = "Georgia 5"
### Context: CREATE TABLE table_1342393_10 (incumbent VARCHAR, district VARCHAR) ### Question: who won in the race in the section georgia 5 ### Answer: SELECT incumbent FROM table_1342393_10 WHERE district = "Georgia 5"
How many candidates won the election of john n. sandlin?
CREATE TABLE table_1342426_18 (candidates VARCHAR, incumbent VARCHAR)
SELECT COUNT(candidates) FROM table_1342426_18 WHERE incumbent = "John N. Sandlin"
### Context: CREATE TABLE table_1342426_18 (candidates VARCHAR, incumbent VARCHAR) ### Question: How many candidates won the election of john n. sandlin? ### Answer: SELECT COUNT(candidates) FROM table_1342426_18 WHERE incumbent = "John N. Sandlin"
Who was the incumbent in the election of henry garland dupré (d) unopposed?
CREATE TABLE table_1342426_18 (incumbent VARCHAR, candidates VARCHAR)
SELECT incumbent FROM table_1342426_18 WHERE candidates = "Henry Garland Dupré (D) Unopposed"
### Context: CREATE TABLE table_1342426_18 (incumbent VARCHAR, candidates VARCHAR) ### Question: Who was the incumbent in the election of henry garland dupré (d) unopposed? ### Answer: SELECT incumbent FROM table_1342426_18 WHERE candidates = "Henry Garland Dupré (D) Unopposed"
What was the result when incumbent John R. Tyson was elected?
CREATE TABLE table_1342426_3 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1342426_3 WHERE incumbent = "John R. Tyson"
### Context: CREATE TABLE table_1342426_3 (result VARCHAR, incumbent VARCHAR) ### Question: What was the result when incumbent John R. Tyson was elected? ### Answer: SELECT result FROM table_1342426_3 WHERE incumbent = "John R. Tyson"
Name the result for william j. driver
CREATE TABLE table_1342426_5 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1342426_5 WHERE incumbent = "William J. Driver"
### Context: CREATE TABLE table_1342426_5 (result VARCHAR, incumbent VARCHAR) ### Question: Name the result for william j. driver ### Answer: SELECT result FROM table_1342426_5 WHERE incumbent = "William J. Driver"
Name the district for william j. driver
CREATE TABLE table_1342426_5 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342426_5 WHERE incumbent = "William J. Driver"
### Context: CREATE TABLE table_1342426_5 (district VARCHAR, incumbent VARCHAR) ### Question: Name the district for william j. driver ### Answer: SELECT district FROM table_1342426_5 WHERE incumbent = "William J. Driver"
Name the lowest first elected for chester w. taylor
CREATE TABLE table_1342426_5 (first_elected INTEGER, incumbent VARCHAR)
SELECT MIN(first_elected) FROM table_1342426_5 WHERE incumbent = "Chester W. Taylor"
### Context: CREATE TABLE table_1342426_5 (first_elected INTEGER, incumbent VARCHAR) ### Question: Name the lowest first elected for chester w. taylor ### Answer: SELECT MIN(first_elected) FROM table_1342426_5 WHERE incumbent = "Chester W. Taylor"
Who were the candidates when Henry Garland Dupré was incumbent?
CREATE TABLE table_1342451_16 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342451_16 WHERE incumbent = "Henry Garland Dupré"
### Context: CREATE TABLE table_1342451_16 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who were the candidates when Henry Garland Dupré was incumbent? ### Answer: SELECT candidates FROM table_1342451_16 WHERE incumbent = "Henry Garland Dupré"
How many candidates were there when Henry Garland Dupré was the incumbent?
CREATE TABLE table_1342451_16 (candidates VARCHAR, incumbent VARCHAR)
SELECT COUNT(candidates) FROM table_1342451_16 WHERE incumbent = "Henry Garland Dupré"
### Context: CREATE TABLE table_1342451_16 (candidates VARCHAR, incumbent VARCHAR) ### Question: How many candidates were there when Henry Garland Dupré was the incumbent? ### Answer: SELECT COUNT(candidates) FROM table_1342451_16 WHERE incumbent = "Henry Garland Dupré"
What district did James O'Connor belong to?
CREATE TABLE table_1342451_16 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342451_16 WHERE incumbent = "James O'Connor"
### Context: CREATE TABLE table_1342451_16 (district VARCHAR, incumbent VARCHAR) ### Question: What district did James O'Connor belong to? ### Answer: SELECT district FROM table_1342451_16 WHERE incumbent = "James O'Connor"
How many different original air dates did the episode number 6 have?
CREATE TABLE table_13426649_1 (original_air_date VARCHAR, _number VARCHAR)
SELECT COUNT(original_air_date) FROM table_13426649_1 WHERE _number = 6
### Context: CREATE TABLE table_13426649_1 (original_air_date VARCHAR, _number VARCHAR) ### Question: How many different original air dates did the episode number 6 have? ### Answer: SELECT COUNT(original_air_date) FROM table_13426649_1 WHERE _number = 6
Who wrote the episode with production code 1ANJ01?
CREATE TABLE table_13426649_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_13426649_1 WHERE production_code = "1ANJ01"
### Context: CREATE TABLE table_13426649_1 (written_by VARCHAR, production_code VARCHAR) ### Question: Who wrote the episode with production code 1ANJ01? ### Answer: SELECT written_by FROM table_13426649_1 WHERE production_code = "1ANJ01"
What are the locations with a panthers mascot?
CREATE TABLE table_13456202_1 (location VARCHAR, mascot VARCHAR)
SELECT location FROM table_13456202_1 WHERE mascot = "Panthers"
### Context: CREATE TABLE table_13456202_1 (location VARCHAR, mascot VARCHAR) ### Question: What are the locations with a panthers mascot? ### Answer: SELECT location FROM table_13456202_1 WHERE mascot = "Panthers"
What are the locations with an eagles macot?
CREATE TABLE table_13456202_1 (location VARCHAR, mascot VARCHAR)
SELECT location FROM table_13456202_1 WHERE mascot = "Eagles"
### Context: CREATE TABLE table_13456202_1 (location VARCHAR, mascot VARCHAR) ### Question: What are the locations with an eagles macot? ### Answer: SELECT location FROM table_13456202_1 WHERE mascot = "Eagles"
How many teams have an eagles mascot?
CREATE TABLE table_13456202_1 (affiliation VARCHAR, mascot VARCHAR)
SELECT COUNT(affiliation) FROM table_13456202_1 WHERE mascot = "Eagles"
### Context: CREATE TABLE table_13456202_1 (affiliation VARCHAR, mascot VARCHAR) ### Question: How many teams have an eagles mascot? ### Answer: SELECT COUNT(affiliation) FROM table_13456202_1 WHERE mascot = "Eagles"
How many teams have the titans as a mascot?
CREATE TABLE table_13456202_1 (affiliation VARCHAR, mascot VARCHAR)
SELECT COUNT(affiliation) FROM table_13456202_1 WHERE mascot = "Titans"
### Context: CREATE TABLE table_13456202_1 (affiliation VARCHAR, mascot VARCHAR) ### Question: How many teams have the titans as a mascot? ### Answer: SELECT COUNT(affiliation) FROM table_13456202_1 WHERE mascot = "Titans"
WHat year was north college hill high school founded?
CREATE TABLE table_13456202_1 (founded INTEGER, school VARCHAR)
SELECT MAX(founded) FROM table_13456202_1 WHERE school = "North College Hill High school"
### Context: CREATE TABLE table_13456202_1 (founded INTEGER, school VARCHAR) ### Question: WHat year was north college hill high school founded? ### Answer: SELECT MAX(founded) FROM table_13456202_1 WHERE school = "North College Hill High school"
Who was the incumbent when ran william b. oliver (d) unopposed?
CREATE TABLE table_1346118_2 (incumbent VARCHAR, candidates VARCHAR)
SELECT incumbent FROM table_1346118_2 WHERE candidates = "William B. Oliver (D) Unopposed"
### Context: CREATE TABLE table_1346118_2 (incumbent VARCHAR, candidates VARCHAR) ### Question: Who was the incumbent when ran william b. oliver (d) unopposed? ### Answer: SELECT incumbent FROM table_1346118_2 WHERE candidates = "William B. Oliver (D) Unopposed"
Which party was the incumbent from when the cadidates were henry e. barbour (r) 52.1% henry hawson (d) 47.9%? Answer: Democratic
CREATE TABLE table_1346118_5 (party VARCHAR, candidates VARCHAR)
SELECT COUNT(party) FROM table_1346118_5 WHERE candidates = "Henry E. Barbour (R) 52.1% Henry Hawson (D) 47.9%"
### Context: CREATE TABLE table_1346118_5 (party VARCHAR, candidates VARCHAR) ### Question: Which party was the incumbent from when the cadidates were henry e. barbour (r) 52.1% henry hawson (d) 47.9%? Answer: Democratic ### Answer: SELECT COUNT(party) FROM table_1346118_5 WHERE candidates = "Henry E. Barbour (R) 52.1...
Which district was the race between john i. nolan (r) 87% thomas f. feeley (s) 13%?
CREATE TABLE table_1346118_5 (district VARCHAR, candidates VARCHAR)
SELECT district FROM table_1346118_5 WHERE candidates = "John I. Nolan (R) 87% Thomas F. Feeley (S) 13%"
### Context: CREATE TABLE table_1346118_5 (district VARCHAR, candidates VARCHAR) ### Question: Which district was the race between john i. nolan (r) 87% thomas f. feeley (s) 13%? ### Answer: SELECT district FROM table_1346118_5 WHERE candidates = "John I. Nolan (R) 87% Thomas F. Feeley (S) 13%"
What was the net seat gain in the race john a. elston (r) 88.4% luella twining (s) 11.6%?
CREATE TABLE table_1346118_5 (result VARCHAR, candidates VARCHAR)
SELECT result FROM table_1346118_5 WHERE candidates = "John A. Elston (R) 88.4% Luella Twining (S) 11.6%"
### Context: CREATE TABLE table_1346118_5 (result VARCHAR, candidates VARCHAR) ### Question: What was the net seat gain in the race john a. elston (r) 88.4% luella twining (s) 11.6%? ### Answer: SELECT result FROM table_1346118_5 WHERE candidates = "John A. Elston (R) 88.4% Luella Twining (S) 11.6%"
Which District was the incumbent Julius Kahn from? Answer: California 4th district
CREATE TABLE table_1346118_5 (district VARCHAR, incumbent VARCHAR)
SELECT COUNT(district) FROM table_1346118_5 WHERE incumbent = "Julius Kahn"
### Context: CREATE TABLE table_1346118_5 (district VARCHAR, incumbent VARCHAR) ### Question: Which District was the incumbent Julius Kahn from? Answer: California 4th district ### Answer: SELECT COUNT(district) FROM table_1346118_5 WHERE incumbent = "Julius Kahn"