question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
What is the incumbent for 1974? | 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"=1974; | 1-1341577-22 |
To what party does Cardiss Collins 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"='Cardiss Collins'; | 1-1341577-14 |
Who was the candidate in the Virginia 3 district 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"='Virginia 3'; | 1-1341577-47 |
What was the result of the election in the Virginia 3 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"='Virginia 3'; | 1-1341577-47 |
Who were the candidates when Lamar S. Smith 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"='Lamar S. Smith'; | 1-1341577-44 |
What party did Beau Boulter represent? | 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"='Beau Boulter'; | 1-1341577-44 |
Who were the candidates when Jack Fields 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"='Jack Fields'; | 1-1341577-44 |
What was the final result for Les Aspin? | 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"='Les Aspin'; | 1-1341577-50 |
Who were the candidates that ran when Jim Moody was up for reelection after 1982? | 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"=1982; | 1-1341577-50 |
In the district called Tennessee 6, how many in total of first elected are there? | 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"='Tennessee 6'; | 1-1341577-43 |
Which party is associated with the person who was first elected in 1982? | 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"=1982; | 1-1341577-43 |
How many candidates are listed all together for the incumbent named bob clement? | 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"='Bob Clement'; | 1-1341577-43 |
What was the results for the candidates listed as bart gordon (d) 76.5% wallace embry (r) 23.5%? | 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"='Bart Gordon (D) 76.5% Wallace Embry (R) 23.5%'; | 1-1341577-43 |
Who is the incumbent that is listed with the candidates listed as marilyn lloyd (d) 57.4% harold w. coker (r) 42.6%? | 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"='Marilyn Lloyd (D) 57.4% Harold W. Coker (R) 42.6%'; | 1-1341577-43 |
In what district would you find the candidates listed as jim cooper (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"='Jim Cooper (D) Unopposed'; | 1-1341577-43 |
who is the incumbent with candidates being bud shuster (r) 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"='Bud Shuster (R) Unopposed'; | 1-1341586-39 |
who is the incumbent with candidates being tom ridge (r) 80.9% joylyn blackwell (d) 19.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 "candidates"='Tom Ridge (R) 80.9% Joylyn Blackwell (D) 19.1%'; | 1-1341586-39 |
what's district with candidates being curt weldon (r) 61.3% bill spingler (d) 38.7% | 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"='Curt Weldon (R) 61.3% Bill Spingler (D) 38.7%'; | 1-1341586-39 |
what's party with district being pennsylvania 21 | 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"='Pennsylvania 21'; | 1-1341586-39 |
what is the maximum first elected with incumbent being gus yatron | 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"='Gus Yatron'; | 1-1341586-39 |
what's the district with first elected being 1972 | 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"=1972; | 1-1341586-39 |
how many district with incumbent being lindy boggs | 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"='Lindy Boggs'; | 1-1341586-19 |
what's the result with candidates being billy tauzin (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"='Billy Tauzin (D) Unopposed'; | 1-1341586-19 |
how many candidates with result being retired to run for u. s. senate republican hold | 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 "result"='Retired to run for U. S. Senate Republican hold'; | 1-1341586-19 |
what's the result with district being louisiana 2 | 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"='Louisiana 2'; | 1-1341586-19 |
who is the the candidates with first elected being 1977 | 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"=1977; | 1-1341586-19 |
What happened to the incombent who was elected in 1980? | 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"=1980; | 1-1341586-14 |
How did the election end for Terry L. Bruce? | 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"='Terry L. Bruce'; | 1-1341586-14 |
What party was Tony P. Hall affiliated with? | 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"='Tony P. Hall'; | 1-1341586-36 |
Name number first elected for tennessee 2? | 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"='Tennessee 2'; | 1-1341586-43 |
Name the candidates in 1964 | 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"=1964; | 1-1341586-43 |
How many districts have Mac Sweeney 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("candidates") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Mac Sweeney'; | 1-1341586-44 |
Who are all the candidates vying for Henry B. Gonzalez' seat? | 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 B. Gonzalez'; | 1-1341586-44 |
Name all the candidates vying for Albert Bustamante's seat. | 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"='Albert Bustamante'; | 1-1341586-44 |
In what district was the incumbent Michael Bilirakis? | 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"='Michael Bilirakis'; | 1-1341598-10 |
Who is the candidate in election where the incumbent was first elected in 1980? | 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"=1980; | 1-1341598-10 |
What party does incumbent Charles Edward Bennett belong to? | 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 Edward Bennett'; | 1-1341598-10 |
What was the result of the election in the Florida 18 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"='Florida 18'; | 1-1341598-10 |
In what district is the incumbent Lawrence J. Smith? | 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"='Lawrence J. Smith'; | 1-1341598-10 |
where is the district where the incumbent is del latta? | 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"='Del Latta'; | 1-1341598-36 |
what is the party for district ohio 11? | 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"='Ohio 11'; | 1-1341598-36 |
who were the candidates for district ohio 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"='Ohio 6'; | 1-1341598-36 |
What is the party for District Georgia 9? | 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"='Georgia 9'; | 1-1341598-11 |
Which district shows a first elected of 1980? | 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"=1980; | 1-1341598-11 |
What is the party for the incumbent Wyche Fowler? | 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"='Wyche Fowler'; | 1-1341598-11 |
Who are shown as candidates when George Darden 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"='George Darden'; | 1-1341598-11 |
What district has Dan Crane as 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"='Dan Crane'; | 1-1341598-14 |
In which district is Robert W. Edgar 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"='Robert W. Edgar'; | 1-1341598-39 |
To which party does Robert W. Edgar 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"='Robert W. Edgar'; | 1-1341598-39 |
What district is incumbent jack hightower from? | 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"='Jack Hightower'; | 1-1341598-44 |
What year were the election results tom loeffler (r) 80.6% joe sullivan (d) 19.4%? | 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 "candidates"='Tom Loeffler (R) 80.6% Joe Sullivan (D) 19.4%'; | 1-1341598-44 |
What incumbent won the district of texas 22? | 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"='Texas 22'; | 1-1341598-44 |
Who's the incumbent of the Louisiana 1 district? | 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"='Louisiana 1'; | 1-1341604-19 |
Who were the candidates in the Louisiana 4 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"='Louisiana 4'; | 1-1341604-19 |
Who's the incumbent in the district first elected in 1976? | 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"=1976; | 1-1341604-19 |
what's the incumbent with district being massachusetts 2 | CREATE TABLE "table1_1341604_22" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "incumbent" FROM "table1_1341604_22" WHERE "district"='Massachusetts 2'; | 1-1341604-22 |
what's the party with candidates being silvio conte (r) unopposed | CREATE TABLE "table1_1341604_22" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "party" FROM "table1_1341604_22" WHERE "candidates"='Silvio Conte (R) Unopposed'; | 1-1341604-22 |
what's the first elected with incumbent being joseph d. early | CREATE TABLE "table1_1341604_22" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "first_elected" FROM "table1_1341604_22" WHERE "incumbent"='Joseph D. Early'; | 1-1341604-22 |
who is the the incumbent with dbeingtrict being massachusetts 2 | CREATE TABLE "table1_1341604_22" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "incumbent" FROM "table1_1341604_22" WHERE "district"='Massachusetts 2'; | 1-1341604-22 |
what's the party with dbeingtrict being massachusetts 3 | CREATE TABLE "table1_1341604_22" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "party" FROM "table1_1341604_22" WHERE "district"='Massachusetts 3'; | 1-1341604-22 |
How many candidates won the election in the district whose incumbent is Bud Shuster? | CREATE TABLE "table1_1341604_39" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT COUNT("candidates") FROM "table1_1341604_39" WHERE "incumbent"='Bud Shuster'; | 1-1341604-39 |
What are the candidates in the district whose incumbent is Gus Yatron? | CREATE TABLE "table1_1341604_39" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "candidates" FROM "table1_1341604_39" WHERE "incumbent"='Gus Yatron'; | 1-1341604-39 |
What's the winning party in the Pennsylvania 6 district? | CREATE TABLE "table1_1341604_39" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "party" FROM "table1_1341604_39" WHERE "district"='Pennsylvania 6'; | 1-1341604-39 |
What candidate is a member of the Republican party? | 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 "party"='Republican'; | 1-1341640-39 |
What district is Ray Musto the incumbent of? | 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"='Ray Musto'; | 1-1341640-39 |
How many parties does the incumbent Donald A. Bailey a member of? | 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"='Donald A. Bailey'; | 1-1341640-39 |
What was the outcome of the election in Pennsylvania 6 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"='Pennsylvania 6'; | 1-1341640-39 |
Where was Al Gore elected | 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"='Al Gore'; | 1-1341640-43 |
Election results of 1976 | 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"=1976; | 1-1341640-43 |
What was the incumbent for missouri 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"='Missouri 1'; | 1-1341640-26 |
What was the result of the election when someone was first elected in 1960? | 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"=1960; | 1-1341640-14 |
What year was incumbent phil crane first elected? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "first_elected" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Phil Crane'; | 1-1341640-14 |
What candidates were featured in the 1974 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 "first_elected"=1974; | 1-1341640-14 |
What year was Jerry Huckaby first elected? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "first_elected" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Jerry Huckaby'; | 1-1341663-19 |
What other cadidate ran against Dave Treen? | 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"='Dave Treen'; | 1-1341663-19 |
What year was the earliest 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-1341663-19 |
What district did Dave Treen serve? | 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"='Dave Treen'; | 1-1341663-19 |
How many sitting politicians were originally elected in 1972? | 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"=1972; | 1-1341663-11 |
In the Georgia 6 district, what is the elected party? | 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"='Georgia 6'; | 1-1341663-11 |
In the race involving Billy Lee Evans as the seated Representative, was he elected again? | 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"='Billy Lee Evans'; | 1-1341663-11 |
Which district has Ronald "bo" Ginn as the seated Representative? | 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"='Ronald \"Bo\" Ginn'; | 1-1341663-11 |
How many parties are there in races involving Dawson Mathis? | 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"='Dawson Mathis'; | 1-1341663-11 |
Which district is republican? | 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 "party"='Republican'; | 1-1341663-44 |
Name the result when the incumbent was george h. mahon | 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"='George H. Mahon'; | 1-1341663-44 |
What was the incumbent of texas 3? | 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"='Texas 3'; | 1-1341663-44 |
What was the incumbent for texas 19? | 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"='Texas 19'; | 1-1341663-44 |
Which district has candidates is dick gephardt (d) 81.9% lee buchschacher (r) 18.1%? | 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"='Dick Gephardt (D) 81.9% Lee Buchschacher (R) 18.1%'; | 1-1341663-26 |
What is the result for the district missouri 2? | 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"='Missouri 2'; | 1-1341663-26 |
When was the first elected for district missouri 7? | 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 "district"='Missouri 7'; | 1-1341663-26 |
When was the earliest first election? | 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-1341663-26 |
How many times was the candidates dick gephardt (d) 81.9% lee buchschacher (r) 18.1%? | 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 "candidates"='Dick Gephardt (D) 81.9% Lee Buchschacher (R) 18.1%'; | 1-1341663-26 |
What district did S. William Green belong to? | CREATE TABLE "table1_1341663_33" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "district" FROM "table1_1341663_33" WHERE "incumbent"='S. William Green'; | 1-1341663-33 |
What district did the Democratic party incumbent Stephen J. Solarz get first elected to in 1974? | CREATE TABLE "table1_1341663_33" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "district" FROM "table1_1341663_33" WHERE "party"='Democratic' AND "first_elected"=1974 AND "incumbent"='Stephen J. Solarz'; | 1-1341663-33 |
When was Stephen J. Solarz first elected? | CREATE TABLE "table1_1341663_33" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT MIN("first_elected") FROM "table1_1341663_33" WHERE "incumbent"='Stephen J. Solarz'; | 1-1341663-33 |
Who were the candidates when Shirley Chisholm was the incumbent? | CREATE TABLE "table1_1341663_33" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "candidates" FROM "table1_1341663_33" WHERE "incumbent"='Shirley Chisholm'; | 1-1341663-33 |
What is the district that has Bob Wilson as an incumbent? | CREATE TABLE "table1_1341663_6" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "district" FROM "table1_1341663_6" WHERE "incumbent"='Bob Wilson'; | 1-1341663-6 |
How many outcomes were there in the elections in California 38? | CREATE TABLE "table1_1341663_6" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT COUNT("result") FROM "table1_1341663_6" WHERE "district"='California 38'; | 1-1341663-6 |
What district is Charles H. Wilson the incumbent of? | CREATE TABLE "table1_1341663_6" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "district" FROM "table1_1341663_6" WHERE "incumbent"='Charles H. Wilson'; | 1-1341663-6 |
What party was the winning one in the elections in the California 30 district? | CREATE TABLE "table1_1341663_6" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "party" FROM "table1_1341663_6" WHERE "district"='California 30'; | 1-1341663-6 |
How many times did an election feature the result robert l. leggett (d) 50.2% albert dehr (r) 49.8%? | 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"='Robert L. Leggett (D) 50.2% Albert Dehr (R) 49.8%'; | 1-1341672-6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.