question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
what's the party with incumbent being john sparkman
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='John Sparkman';
|
1-1342292-2
|
how many dbeingtrict with candidates being william b. bankhead (d) 71.3% e. m. reed (r) 28.7%
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("district") FROM "united_states_house_of_representatives_e" WHERE "candidates"='William B. Bankhead (D) 71.3% E. M. Reed (R) 28.7%';
|
1-1342292-2
|
what's the party with incumbent being william b. bankhead
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='William B. Bankhead';
|
1-1342292-2
|
what's the district with first elected being 1938
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1938;
|
1-1342292-2
|
How many incumbents were first elected in 1930?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("party") FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1930;
|
1-1342292-45
|
In how many districts is the incumbent Dave E. Satterfield, Jr.
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("result") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Dave E. Satterfield, Jr.';
|
1-1342292-45
|
What was the election result for the candidate first elected in 1918?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1918;
|
1-1342292-45
|
How many parties does william b. cravens represent?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("party") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='William B. Cravens';
|
1-1342292-4
|
What district had someone first elected in 1932?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1932;
|
1-1342292-4
|
What candidates ran in the election when the incumbent was william j. driver?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='William J. Driver';
|
1-1342292-4
|
Who are all the candidates when Sam Rayburn was incumbent?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Sam Rayburn';
|
1-1342292-42
|
What was the party that was frist elected in 1919?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1919;
|
1-1342292-42
|
When was incumbent Leo E. Allen first elected?
|
CREATE TABLE "table1_1342315_12" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT MIN("first_elected") FROM "table1_1342315_12" WHERE "incumbent"='Leo E. Allen';
|
1-1342315-12
|
Which district has a Republican elected?
|
CREATE TABLE "table1_1342315_12" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "district" FROM "table1_1342315_12" WHERE "party"='Republican';
|
1-1342315-12
|
How many districts does riley joseph wilson?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("district") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Riley Joseph Wilson';
|
1-1342315-17
|
How many districts for rené l. derouen?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("district") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='René L. DeRouen';
|
1-1342315-17
|
Who are the candidates in the race where Wright Patman is the incumbent?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Wright Patman';
|
1-1342315-42
|
What candidates ran in the election when john s. wood was the incumbent?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='John S. Wood';
|
1-1342331-11
|
What was the result of the election held in 1914?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1914;
|
1-1342331-11
|
How many first elections have Claude Fuller as incumbent?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("first_elected") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Claude Fuller';
|
1-1342315-4
|
How many winners were there in the Georgia 1 district?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("first_elected") FROM "united_states_house_of_representatives_e" WHERE "district"='Georgia 1';
|
1-1342315-10
|
Who ran for office at the Georgia 4 district in this election?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "district"='Georgia 4';
|
1-1342315-10
|
What district has Riley Joseph Wilson as the incumbent?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Riley Joseph Wilson';
|
1-1342331-18
|
What candidate is in Louisiana 6?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "district"='Louisiana 6';
|
1-1342331-18
|
what happened during the election for Richard M. Kleberg?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Richard M. Kleberg';
|
1-1342331-43
|
What year was the first election when Fritz G. Lanham was elected?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT MAX("first_elected") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Fritz G. Lanham';
|
1-1342331-43
|
What is the name of the candidate where the incumbent is named James P. Buchanan?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='James P. Buchanan';
|
1-1342331-43
|
What party is incumbent Oliver H. Cross?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Oliver H. Cross';
|
1-1342331-43
|
what's the district with incumbent being william j. driver
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='William J. Driver';
|
1-1342331-5
|
what's the district with incumbent being john e. miller
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='John E. Miller';
|
1-1342331-5
|
how many incumbent with first elected being 1932
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("incumbent") FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1932;
|
1-1342331-5
|
who is the the incumbent with dbeingtrict being arkansas 1
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "incumbent" FROM "united_states_house_of_representatives_e" WHERE "district"='Arkansas 1';
|
1-1342331-5
|
how many district with incumbent being david delano glover
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("district") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='David Delano Glover';
|
1-1342331-5
|
who is the the incumbent with candidates being ben cravens (d) unopposed
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "incumbent" FROM "united_states_house_of_representatives_e" WHERE "candidates"='Ben Cravens (D) Unopposed';
|
1-1342331-5
|
What was the result in the election in which the incumbent was Denver S. Church?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Denver S. Church';
|
1-1342331-6
|
What was the result in the election in which Ralph R. Eltse was the incumbent?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Ralph R. Eltse';
|
1-1342331-6
|
Who was the candidate in the election in the California 8 district where the incumbent was first elected in 1932?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1932 AND "district"='California 8';
|
1-1342331-6
|
what are all the party with district being kansas 1
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "district"='Kansas 1';
|
1-1342359-15
|
what's the result with district being kansas 1
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "district"='Kansas 1';
|
1-1342359-15
|
who are the candidates with district being kansas 4
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "district"='Kansas 4';
|
1-1342359-15
|
what's the result with first elected being 1922
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1922;
|
1-1342359-15
|
who is the the candidates with dbeingtrict being kansas 5
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "district"='Kansas 5';
|
1-1342359-15
|
how many first elected with district is kansas 3
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("first_elected") FROM "united_states_house_of_representatives_e" WHERE "district"='Kansas 3';
|
1-1342359-15
|
What was the result of the election in the Arkansas 2 district?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "district"='Arkansas 2';
|
1-1342359-4
|
What was the result of the election in the Arkansas 4 district?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "district"='Arkansas 4';
|
1-1342359-4
|
How many candidates ran in the election in the Arkansas 4 district?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("candidates") FROM "united_states_house_of_representatives_e" WHERE "district"='Arkansas 4';
|
1-1342359-4
|
How many districts does william b. oliver represent?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("district") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='William B. Oliver';
|
1-1342359-2
|
What is the last year that someone is first elected?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT MAX("first_elected") FROM "united_states_house_of_representatives_e";
|
1-1342359-2
|
How many people were elected in 1929
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("candidates") FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1929;
|
1-1342359-17
|
how many people won in 1914
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("district") FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1914;
|
1-1342359-17
|
Who won in 1927
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "incumbent" FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1927;
|
1-1342359-17
|
Name the number of incumbents for texas 12
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("incumbent") FROM "united_states_house_of_representatives_e" WHERE "district"='Texas 12';
|
1-1342359-42
|
How many parties were represented for Charles R. Crisp?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("party") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Charles R. Crisp';
|
1-1342370-10
|
In what district was the representative first elected in 1916?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1916;
|
1-1342370-10
|
Who were the candidates in the 1922 entry?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1922;
|
1-1342370-12
|
In which district is James O'Connor the incumbent?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='James O''Connor';
|
1-1342370-17
|
To which party does Riley Joseph Wilson belong?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Riley Joseph Wilson';
|
1-1342370-17
|
How many of the first elected were listed when Hatton W. Sumners was incumbent and re-elected?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("first_elected") FROM "united_states_house_of_representatives_e" WHERE "result"='Re-elected' AND "incumbent"='Hatton W. Sumners';
|
1-1342370-42
|
What was the result in the election where the incumbent was Finis J. Garrett?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Finis J. Garrett';
|
1-1342370-41
|
In what district was the incumbent Cordell hull?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Cordell Hull';
|
1-1342370-41
|
Who were the candidates in the election in the Tennessee 9 district?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "district"='Tennessee 9';
|
1-1342370-41
|
What was the result of the election featuring james a. gallivan (d) unopposed?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "candidates"='James A. Gallivan (D) Unopposed';
|
1-1342379-20
|
How many districts does john j. douglass represent?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("district") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='John J. Douglass';
|
1-1342379-20
|
how many areas were in the election in 1912
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("district") FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1912;
|
1-1342379-10
|
what is the affiliation of charles h. brand
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Charles H. Brand';
|
1-1342379-10
|
What candidates ran in the election that featured harry lane englebright?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Harry Lane Englebright';
|
1-1342370-5
|
When was incumbent William B. Oliver first elected?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT MAX("first_elected") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='William B. Oliver';
|
1-1342379-2
|
who is the the incumbent with candidates being percy e. quin (d) unopposed
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "incumbent" FROM "united_states_house_of_representatives_e" WHERE "candidates"='Percy E. Quin (D) Unopposed';
|
1-1342379-23
|
what's the district with candidates being john e. rankin (d) unopposed
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "candidates"='John E. Rankin (D) Unopposed';
|
1-1342379-23
|
who is the the candidates with district being mississippi 4
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "district"='Mississippi 4';
|
1-1342379-23
|
who is the incumbent for district mississippi 4
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "incumbent" FROM "united_states_house_of_representatives_e" WHERE "district"='Mississippi 4';
|
1-1342379-23
|
what's the result with incumbent being bill g. lowrey
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Bill G. Lowrey';
|
1-1342379-23
|
what's the district with candidates being william madison whittington (d) unopposed
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "candidates"='William Madison Whittington (D) Unopposed';
|
1-1342379-23
|
What was the last year that incumbent joseph t. deal was first elected?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT MAX("first_elected") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Joseph T. Deal';
|
1-1342379-45
|
What year was someone first elected?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT MIN("first_elected") FROM "united_states_house_of_representatives_e";
|
1-1342379-45
|
What district does edward everett eslick represent?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Edward Everett Eslick';
|
1-1342379-41
|
How many times was incumbent cordell hull first elected?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("first_elected") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Cordell Hull';
|
1-1342379-41
|
How many times was the election joseph w. byrns, sr. (d) unopposed?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("result") FROM "united_states_house_of_representatives_e" WHERE "candidates"='Joseph W. Byrns, Sr. (D) Unopposed';
|
1-1342379-41
|
What is the least first elected for jeff busby?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT MIN("first_elected") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Jeff Busby';
|
1-1342393-23
|
What was the party for first elected 1923?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1923;
|
1-1342393-23
|
Name the total number of result for mississippi 4?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("result") FROM "united_states_house_of_representatives_e" WHERE "district"='Mississippi 4';
|
1-1342393-23
|
what is the section where gordon lee ran
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Gordon Lee';
|
1-1342393-10
|
what section did frank park run in
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Frank Park';
|
1-1342393-10
|
who won in the race in the section georgia 5
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "incumbent" FROM "united_states_house_of_representatives_e" WHERE "district"='Georgia 5';
|
1-1342393-10
|
How many candidates won the election of john n. sandlin?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("candidates") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='John N. Sandlin';
|
1-1342426-18
|
Who was the incumbent in the election of henry garland dupré (d) unopposed?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "incumbent" FROM "united_states_house_of_representatives_e" WHERE "candidates"='Henry Garland Dupré (D) Unopposed';
|
1-1342426-18
|
What was the result when incumbent John R. Tyson was elected?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='John R. Tyson';
|
1-1342426-3
|
Name the result for william j. driver
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='William J. Driver';
|
1-1342426-5
|
Name the district for william j. driver
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='William J. Driver';
|
1-1342426-5
|
Name the lowest first elected for chester w. taylor
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT MIN("first_elected") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Chester W. Taylor';
|
1-1342426-5
|
Who were the candidates when Henry Garland Dupré was incumbent?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Henry Garland Dupré';
|
1-1342451-16
|
How many candidates were there when Henry Garland Dupré was the incumbent?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT COUNT("candidates") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Henry Garland Dupré';
|
1-1342451-16
|
What district did James O'Connor belong to?
|
CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
|
SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='James O''Connor';
|
1-1342451-16
|
When did the episode titled "Winterland" air for the first time?
|
CREATE TABLE "table1_13426649_1" (
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
);
|
SELECT "original_air_date" FROM "table1_13426649_1" WHERE "title"='\"Winterland\"';
|
1-13426649-1
|
How many different original air dates did the episode number 6 have?
|
CREATE TABLE "table1_13426649_1" (
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
);
|
SELECT COUNT("original_air_date") FROM "table1_13426649_1" WHERE "num"=6;
|
1-13426649-1
|
Who wrote the episode with production code 1ANJ01?
|
CREATE TABLE "table1_13426649_1" (
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
);
|
SELECT "written_by" FROM "table1_13426649_1" WHERE "production_code"='1ANJ01';
|
1-13426649-1
|
What are the locations with a panthers mascot?
|
CREATE TABLE "table1_13456202_1" (
"school" text,
"location" text,
"founded" real,
"affiliation" text,
"mascot" text,
"division" text
);
|
SELECT "location" FROM "table1_13456202_1" WHERE "mascot"='Panthers';
|
1-13456202-1
|
What are the locations with an eagles macot?
|
CREATE TABLE "table1_13456202_1" (
"school" text,
"location" text,
"founded" real,
"affiliation" text,
"mascot" text,
"division" text
);
|
SELECT "location" FROM "table1_13456202_1" WHERE "mascot"='Eagles';
|
1-13456202-1
|
How many teams have an eagles mascot?
|
CREATE TABLE "table1_13456202_1" (
"school" text,
"location" text,
"founded" real,
"affiliation" text,
"mascot" text,
"division" text
);
|
SELECT COUNT("affiliation") FROM "table1_13456202_1" WHERE "mascot"='Eagles';
|
1-13456202-1
|
How many teams have the titans as a mascot?
|
CREATE TABLE "table1_13456202_1" (
"school" text,
"location" text,
"founded" real,
"affiliation" text,
"mascot" text,
"division" text
);
|
SELECT COUNT("affiliation") FROM "table1_13456202_1" WHERE "mascot"='Titans';
|
1-13456202-1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.