question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 | text stringlengths 114 1.06k |
|---|---|---|---|
Who is the lites 2 race two winning team when #11 Performance Tech is the lites 1 race two winning team? | CREATE TABLE table_26638600_3 (lites_2_race_two_winning_team VARCHAR, lites_1_race_two_winning_team VARCHAR) | SELECT lites_2_race_two_winning_team FROM table_26638600_3 WHERE lites_1_race_two_winning_team = "#11 Performance Tech" | ### Context: CREATE TABLE table_26638600_3 (lites_2_race_two_winning_team VARCHAR, lites_1_race_two_winning_team VARCHAR) ### Question: Who is the lites 2 race two winning team when #11 Performance Tech is the lites 1 race two winning team? ### Answer: SELECT lites_2_race_two_winning_team FROM table_26638600_3 WHERE lites_1_race_two_winning_team = "#11 Performance Tech" |
On which circuit was the lites 1 race one winning team #66 Gunnar Racing? | CREATE TABLE table_26638600_3 (circuit VARCHAR, lites_1_race_one_winning_team VARCHAR) | SELECT circuit FROM table_26638600_3 WHERE lites_1_race_one_winning_team = "#66 Gunnar Racing" | ### Context: CREATE TABLE table_26638600_3 (circuit VARCHAR, lites_1_race_one_winning_team VARCHAR) ### Question: On which circuit was the lites 1 race one winning team #66 Gunnar Racing? ### Answer: SELECT circuit FROM table_26638600_3 WHERE lites_1_race_one_winning_team = "#66 Gunnar Racing" |
On which circuit was the lites race two winning team #13 Inspire Motorsports? | CREATE TABLE table_26638600_3 (circuit VARCHAR, lites_1_race_two_winning_team VARCHAR) | SELECT circuit FROM table_26638600_3 WHERE lites_1_race_two_winning_team = "#13 Inspire Motorsports" | ### Context: CREATE TABLE table_26638600_3 (circuit VARCHAR, lites_1_race_two_winning_team VARCHAR) ### Question: On which circuit was the lites race two winning team #13 Inspire Motorsports? ### Answer: SELECT circuit FROM table_26638600_3 WHERE lites_1_race_two_winning_team = "#13 Inspire Motorsports" |
What date did series number 32 premiere? | CREATE TABLE table_2667438_5 (original_air_date VARCHAR, no_in_series VARCHAR) | SELECT original_air_date FROM table_2667438_5 WHERE no_in_series = 32 | ### Context: CREATE TABLE table_2667438_5 (original_air_date VARCHAR, no_in_series VARCHAR) ### Question: What date did series number 32 premiere? ### Answer: SELECT original_air_date FROM table_2667438_5 WHERE no_in_series = 32 |
WHat is the highest difference? | CREATE TABLE table_26677836_1 (difference INTEGER) | SELECT MAX(difference) FROM table_26677836_1 | ### Context: CREATE TABLE table_26677836_1 (difference INTEGER) ### Question: WHat is the highest difference? ### Answer: SELECT MAX(difference) FROM table_26677836_1 |
What is the highest lost? | CREATE TABLE table_26677836_1 (lost INTEGER) | SELECT MAX(lost) FROM table_26677836_1 | ### Context: CREATE TABLE table_26677836_1 (lost INTEGER) ### Question: What is the highest lost? ### Answer: SELECT MAX(lost) FROM table_26677836_1 |
What is the nation when the place is 2? | CREATE TABLE table_26677836_1 (nation VARCHAR, place VARCHAR) | SELECT nation FROM table_26677836_1 WHERE place = 2 | ### Context: CREATE TABLE table_26677836_1 (nation VARCHAR, place VARCHAR) ### Question: What is the nation when the place is 2? ### Answer: SELECT nation FROM table_26677836_1 WHERE place = 2 |
How many times is the nation [[|]] (19)? | CREATE TABLE table_26677836_1 (against VARCHAR, nation VARCHAR) | SELECT COUNT(against) FROM table_26677836_1 WHERE nation = "[[|]] (19)" | ### Context: CREATE TABLE table_26677836_1 (against VARCHAR, nation VARCHAR) ### Question: How many times is the nation [[|]] (19)? ### Answer: SELECT COUNT(against) FROM table_26677836_1 WHERE nation = "[[|]] (19)" |
Which party does the incumbent Mathias Morris belong to? | CREATE TABLE table_2668169_2 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_2668169_2 WHERE incumbent = "Mathias Morris" | ### Context: CREATE TABLE table_2668169_2 (party VARCHAR, incumbent VARCHAR) ### Question: Which party does the incumbent Mathias Morris belong to? ### Answer: SELECT party FROM table_2668169_2 WHERE incumbent = "Mathias Morris" |
Which district does the incumbent Luther Reily represent? | CREATE TABLE table_2668169_2 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_2668169_2 WHERE incumbent = "Luther Reily" | ### Context: CREATE TABLE table_2668169_2 (district VARCHAR, incumbent VARCHAR) ### Question: Which district does the incumbent Luther Reily represent? ### Answer: SELECT district FROM table_2668169_2 WHERE incumbent = "Luther Reily" |
Who are the candidates for the Pennsylvania 11 district? | CREATE TABLE table_2668169_2 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_2668169_2 WHERE district = "Pennsylvania 11" | ### Context: CREATE TABLE table_2668169_2 (candidates VARCHAR, district VARCHAR) ### Question: Who are the candidates for the Pennsylvania 11 district? ### Answer: SELECT candidates FROM table_2668169_2 WHERE district = "Pennsylvania 11" |
How many people won the election in the Pennsylvania 11 district? | CREATE TABLE table_2668169_2 (candidates VARCHAR, district VARCHAR) | SELECT COUNT(candidates) FROM table_2668169_2 WHERE district = "Pennsylvania 11" | ### Context: CREATE TABLE table_2668169_2 (candidates VARCHAR, district VARCHAR) ### Question: How many people won the election in the Pennsylvania 11 district? ### Answer: SELECT COUNT(candidates) FROM table_2668169_2 WHERE district = "Pennsylvania 11" |
How many times did the incumbent was first elected and then lost re-election anti-masonic gain? | CREATE TABLE table_2668173_4 (first_elected VARCHAR, result VARCHAR) | SELECT COUNT(first_elected) FROM table_2668173_4 WHERE result = "Lost re-election Anti-Masonic gain" | ### Context: CREATE TABLE table_2668173_4 (first_elected VARCHAR, result VARCHAR) ### Question: How many times did the incumbent was first elected and then lost re-election anti-masonic gain? ### Answer: SELECT COUNT(first_elected) FROM table_2668173_4 WHERE result = "Lost re-election Anti-Masonic gain" |
Who were the candidates if the incumbent was Henry Logan? | CREATE TABLE table_2668173_4 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_2668173_4 WHERE incumbent = "Henry Logan" | ### Context: CREATE TABLE table_2668173_4 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who were the candidates if the incumbent was Henry Logan? ### Answer: SELECT candidates FROM table_2668173_4 WHERE incumbent = "Henry Logan" |
What was the district of the incumbent Mathias Morris? | CREATE TABLE table_2668173_4 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_2668173_4 WHERE incumbent = "Mathias Morris" | ### Context: CREATE TABLE table_2668173_4 (district VARCHAR, incumbent VARCHAR) ### Question: What was the district of the incumbent Mathias Morris? ### Answer: SELECT district FROM table_2668173_4 WHERE incumbent = "Mathias Morris" |
How many incumbents was first elected in the Anti-Masonic party? | CREATE TABLE table_2668173_4 (first_elected VARCHAR, party VARCHAR) | SELECT COUNT(first_elected) FROM table_2668173_4 WHERE party = "Anti-Masonic" | ### Context: CREATE TABLE table_2668173_4 (first_elected VARCHAR, party VARCHAR) ### Question: How many incumbents was first elected in the Anti-Masonic party? ### Answer: SELECT COUNT(first_elected) FROM table_2668173_4 WHERE party = "Anti-Masonic" |
Name the incumbent for robert monell (j) 63.6% tilly lynde 36.4% | CREATE TABLE table_2668243_17 (incumbent VARCHAR, candidates VARCHAR) | SELECT incumbent FROM table_2668243_17 WHERE candidates = "Robert Monell (J) 63.6% Tilly Lynde 36.4%" | ### Context: CREATE TABLE table_2668243_17 (incumbent VARCHAR, candidates VARCHAR) ### Question: Name the incumbent for robert monell (j) 63.6% tilly lynde 36.4% ### Answer: SELECT incumbent FROM table_2668243_17 WHERE candidates = "Robert Monell (J) 63.6% Tilly Lynde 36.4%" |
Name the number of first elected for thomas maxwell (j) 60.1% david woodcock (aj) 39.9% | CREATE TABLE table_2668243_17 (first_elected VARCHAR, candidates VARCHAR) | SELECT COUNT(first_elected) FROM table_2668243_17 WHERE candidates = "Thomas Maxwell (J) 60.1% David Woodcock (AJ) 39.9%" | ### Context: CREATE TABLE table_2668243_17 (first_elected VARCHAR, candidates VARCHAR) ### Question: Name the number of first elected for thomas maxwell (j) 60.1% david woodcock (aj) 39.9% ### Answer: SELECT COUNT(first_elected) FROM table_2668243_17 WHERE candidates = "Thomas Maxwell (J) 60.1% David Woodcock (AJ) 39.9%" |
Name the candidates for new york 21 | CREATE TABLE table_2668243_17 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_2668243_17 WHERE district = "New York 21" | ### Context: CREATE TABLE table_2668243_17 (candidates VARCHAR, district VARCHAR) ### Question: Name the candidates for new york 21 ### Answer: SELECT candidates FROM table_2668243_17 WHERE district = "New York 21" |
Name the candidates for selah r. hobbie | CREATE TABLE table_2668243_17 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_2668243_17 WHERE incumbent = "Selah R. Hobbie" | ### Context: CREATE TABLE table_2668243_17 (candidates VARCHAR, incumbent VARCHAR) ### Question: Name the candidates for selah r. hobbie ### Answer: SELECT candidates FROM table_2668243_17 WHERE incumbent = "Selah R. Hobbie" |
Name the result for james lent (j) 52.3% silas wood (aj) 47.7% | CREATE TABLE table_2668243_17 (result VARCHAR, candidates VARCHAR) | SELECT result FROM table_2668243_17 WHERE candidates = "James Lent (J) 52.3% Silas Wood (AJ) 47.7%" | ### Context: CREATE TABLE table_2668243_17 (result VARCHAR, candidates VARCHAR) ### Question: Name the result for james lent (j) 52.3% silas wood (aj) 47.7% ### Answer: SELECT result FROM table_2668243_17 WHERE candidates = "James Lent (J) 52.3% Silas Wood (AJ) 47.7%" |
Who were the candidates in districk Pennsylvania 12? | CREATE TABLE table_2668199_2 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_2668199_2 WHERE district = "Pennsylvania 12" | ### Context: CREATE TABLE table_2668199_2 (candidates VARCHAR, district VARCHAR) ### Question: Who were the candidates in districk Pennsylvania 12? ### Answer: SELECT candidates FROM table_2668199_2 WHERE district = "Pennsylvania 12" |
What is the result for district pennsylvania 6? | CREATE TABLE table_2668199_2 (result VARCHAR, district VARCHAR) | SELECT result FROM table_2668199_2 WHERE district = "Pennsylvania 6" | ### Context: CREATE TABLE table_2668199_2 (result VARCHAR, district VARCHAR) ### Question: What is the result for district pennsylvania 6? ### Answer: SELECT result FROM table_2668199_2 WHERE district = "Pennsylvania 6" |
Who was the incumbent when the candidates were John banks (am) 52.2% samuel power (j) 47.8%? | CREATE TABLE table_2668199_2 (incumbent VARCHAR, candidates VARCHAR) | SELECT incumbent FROM table_2668199_2 WHERE candidates = "John Banks (AM) 52.2% Samuel Power (J) 47.8%" | ### Context: CREATE TABLE table_2668199_2 (incumbent VARCHAR, candidates VARCHAR) ### Question: Who was the incumbent when the candidates were John banks (am) 52.2% samuel power (j) 47.8%? ### Answer: SELECT incumbent FROM table_2668199_2 WHERE candidates = "John Banks (AM) 52.2% Samuel Power (J) 47.8%" |
How many times was the result was re-elected and the party was anti-masonic in the district Pennsylvania 24? | CREATE TABLE table_2668199_2 (first_elected VARCHAR, district VARCHAR, result VARCHAR, party VARCHAR) | SELECT COUNT(first_elected) FROM table_2668199_2 WHERE result = "Re-elected" AND party = "Anti-Masonic" AND district = "Pennsylvania 24" | ### Context: CREATE TABLE table_2668199_2 (first_elected VARCHAR, district VARCHAR, result VARCHAR, party VARCHAR) ### Question: How many times was the result was re-elected and the party was anti-masonic in the district Pennsylvania 24? ### Answer: SELECT COUNT(first_elected) FROM table_2668199_2 WHERE result = "Re-elected" AND party = "Anti-Masonic" AND district = "Pennsylvania 24" |
Who were all the candidates when the results were re-elected, first elected was 1832 and the party was jacksonian? | CREATE TABLE table_2668199_2 (candidates VARCHAR, party VARCHAR, result VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_2668199_2 WHERE result = "Re-elected" AND first_elected = "1832" AND party = "Jacksonian" | ### Context: CREATE TABLE table_2668199_2 (candidates VARCHAR, party VARCHAR, result VARCHAR, first_elected VARCHAR) ### Question: Who were all the candidates when the results were re-elected, first elected was 1832 and the party was jacksonian? ### Answer: SELECT candidates FROM table_2668199_2 WHERE result = "Re-elected" AND first_elected = "1832" AND party = "Jacksonian" |
In Ghent in 2011, what was the rank-qualifying value when the score-qualifying value was 14.850 | CREATE TABLE table_26681728_1 (rank_qualifying INTEGER, score_qualifying VARCHAR, location VARCHAR, year VARCHAR) | SELECT MAX(rank_qualifying) FROM table_26681728_1 WHERE location = "Ghent" AND year = 2011 AND score_qualifying = "14.850" | ### Context: CREATE TABLE table_26681728_1 (rank_qualifying INTEGER, score_qualifying VARCHAR, location VARCHAR, year VARCHAR) ### Question: In Ghent in 2011, what was the rank-qualifying value when the score-qualifying value was 14.850 ### Answer: SELECT MAX(rank_qualifying) FROM table_26681728_1 WHERE location = "Ghent" AND year = 2011 AND score_qualifying = "14.850" |
What was the maximum rank-final score on the floor exercise? | CREATE TABLE table_26681728_1 (rank_final INTEGER, apparatus VARCHAR) | SELECT MAX(rank_final) FROM table_26681728_1 WHERE apparatus = "Floor Exercise" | ### Context: CREATE TABLE table_26681728_1 (rank_final INTEGER, apparatus VARCHAR) ### Question: What was the maximum rank-final score on the floor exercise? ### Answer: SELECT MAX(rank_final) FROM table_26681728_1 WHERE apparatus = "Floor Exercise" |
What was the maximum rank-final value for a score of 14.975? | CREATE TABLE table_26681728_1 (rank_final INTEGER, score_final VARCHAR) | SELECT MAX(rank_final) FROM table_26681728_1 WHERE score_final = "14.975" | ### Context: CREATE TABLE table_26681728_1 (rank_final INTEGER, score_final VARCHAR) ### Question: What was the maximum rank-final value for a score of 14.975? ### Answer: SELECT MAX(rank_final) FROM table_26681728_1 WHERE score_final = "14.975" |
Where did the event with a final score of 15.050 occur? | CREATE TABLE table_26681728_1 (location VARCHAR, score_final VARCHAR) | SELECT location FROM table_26681728_1 WHERE score_final = "15.050" | ### Context: CREATE TABLE table_26681728_1 (location VARCHAR, score_final VARCHAR) ### Question: Where did the event with a final score of 15.050 occur? ### Answer: SELECT location FROM table_26681728_1 WHERE score_final = "15.050" |
how many "Party" are in district south carolina 2? | CREATE TABLE table_2668243_22 (party VARCHAR, district VARCHAR) | SELECT COUNT(party) FROM table_2668243_22 WHERE district = "South Carolina 2" | ### Context: CREATE TABLE table_2668243_22 (party VARCHAR, district VARCHAR) ### Question: how many "Party" are in district south carolina 2? ### Answer: SELECT COUNT(party) FROM table_2668243_22 WHERE district = "South Carolina 2" |
What "party" was re-elected in district South Carolina 7? | CREATE TABLE table_2668243_22 (party VARCHAR, result VARCHAR, district VARCHAR) | SELECT party FROM table_2668243_22 WHERE result = "Re-elected" AND district = "South Carolina 7" | ### Context: CREATE TABLE table_2668243_22 (party VARCHAR, result VARCHAR, district VARCHAR) ### Question: What "party" was re-elected in district South Carolina 7? ### Answer: SELECT party FROM table_2668243_22 WHERE result = "Re-elected" AND district = "South Carolina 7" |
who were the "candidate" of South Carolina 6? | CREATE TABLE table_2668243_22 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_2668243_22 WHERE district = "South Carolina 6" | ### Context: CREATE TABLE table_2668243_22 (candidates VARCHAR, district VARCHAR) ### Question: who were the "candidate" of South Carolina 6? ### Answer: SELECT candidates FROM table_2668243_22 WHERE district = "South Carolina 6" |
Who was the "incumbent" of district south carolina 7? | CREATE TABLE table_2668243_22 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_2668243_22 WHERE district = "South Carolina 7" | ### Context: CREATE TABLE table_2668243_22 (incumbent VARCHAR, district VARCHAR) ### Question: Who was the "incumbent" of district south carolina 7? ### Answer: SELECT incumbent FROM table_2668243_22 WHERE district = "South Carolina 7" |
How many people were first elected when john roane was the incumbent? | CREATE TABLE table_2668243_25 (first_elected VARCHAR, incumbent VARCHAR) | SELECT COUNT(first_elected) FROM table_2668243_25 WHERE incumbent = "John Roane" | ### Context: CREATE TABLE table_2668243_25 (first_elected VARCHAR, incumbent VARCHAR) ### Question: How many people were first elected when john roane was the incumbent? ### Answer: SELECT COUNT(first_elected) FROM table_2668243_25 WHERE incumbent = "John Roane" |
What party did john s. barbour represent? | CREATE TABLE table_2668243_25 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_2668243_25 WHERE incumbent = "John S. Barbour" | ### Context: CREATE TABLE table_2668243_25 (party VARCHAR, incumbent VARCHAR) ### Question: What party did john s. barbour represent? ### Answer: SELECT party FROM table_2668243_25 WHERE incumbent = "John S. Barbour" |
What was the result of the election featuring andrew stevenson (j) 100%? | CREATE TABLE table_2668243_25 (result VARCHAR, candidates VARCHAR) | SELECT result FROM table_2668243_25 WHERE candidates = "Andrew Stevenson (J) 100%" | ### Context: CREATE TABLE table_2668243_25 (result VARCHAR, candidates VARCHAR) ### Question: What was the result of the election featuring andrew stevenson (j) 100%? ### Answer: SELECT result FROM table_2668243_25 WHERE candidates = "Andrew Stevenson (J) 100%" |
What candidate(s) ran for election when nathaniel h. claiborne was the incumbent? | CREATE TABLE table_2668243_25 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_2668243_25 WHERE incumbent = "Nathaniel H. Claiborne" | ### Context: CREATE TABLE table_2668243_25 (candidates VARCHAR, incumbent VARCHAR) ### Question: What candidate(s) ran for election when nathaniel h. claiborne was the incumbent? ### Answer: SELECT candidates FROM table_2668243_25 WHERE incumbent = "Nathaniel H. Claiborne" |
Who was the ran as an incumbent leader first in 1818? | CREATE TABLE table_2668254_17 (incumbent VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_2668254_17 WHERE first_elected = "1818" | ### Context: CREATE TABLE table_2668254_17 (incumbent VARCHAR, first_elected VARCHAR) ### Question: Who was the ran as an incumbent leader first in 1818? ### Answer: SELECT incumbent FROM table_2668254_17 WHERE first_elected = "1818" |
Who were the running candidates when Joshua Sands was the incumbent? | CREATE TABLE table_2668254_17 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_2668254_17 WHERE incumbent = "Joshua Sands" | ### Context: CREATE TABLE table_2668254_17 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who were the running candidates when Joshua Sands was the incumbent? ### Answer: SELECT candidates FROM table_2668254_17 WHERE incumbent = "Joshua Sands" |
What was the result of the election where stephen van rensselaer was the incumbent and the party represented was the adams-clay federalist party? | CREATE TABLE table_2668264_17 (result VARCHAR, party VARCHAR, incumbent VARCHAR) | SELECT result FROM table_2668264_17 WHERE party = "Adams-Clay Federalist" AND incumbent = "Stephen Van Rensselaer" | ### Context: CREATE TABLE table_2668264_17 (result VARCHAR, party VARCHAR, incumbent VARCHAR) ### Question: What was the result of the election where stephen van rensselaer was the incumbent and the party represented was the adams-clay federalist party? ### Answer: SELECT result FROM table_2668264_17 WHERE party = "Adams-Clay Federalist" AND incumbent = "Stephen Van Rensselaer" |
How many district has a candidate that was first elected on 1811? | CREATE TABLE table_2668254_25 (district VARCHAR, first_elected VARCHAR) | SELECT COUNT(district) FROM table_2668254_25 WHERE first_elected = "1811" | ### Context: CREATE TABLE table_2668254_25 (district VARCHAR, first_elected VARCHAR) ### Question: How many district has a candidate that was first elected on 1811? ### Answer: SELECT COUNT(district) FROM table_2668254_25 WHERE first_elected = "1811" |
In what district was the incumbent Charles A. Wickliffe? | CREATE TABLE table_2668254_8 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_2668254_8 WHERE incumbent = "Charles A. Wickliffe" | ### Context: CREATE TABLE table_2668254_8 (district VARCHAR, incumbent VARCHAR) ### Question: In what district was the incumbent Charles A. Wickliffe? ### Answer: SELECT district FROM table_2668254_8 WHERE incumbent = "Charles A. Wickliffe" |
What party did the incumbent Thomas P. Moore belong to? | CREATE TABLE table_2668254_8 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_2668254_8 WHERE incumbent = "Thomas P. Moore" | ### Context: CREATE TABLE table_2668254_8 (party VARCHAR, incumbent VARCHAR) ### Question: What party did the incumbent Thomas P. Moore belong to? ### Answer: SELECT party FROM table_2668254_8 WHERE incumbent = "Thomas P. Moore" |
Who were the candidates in the Kentucky 9 district? | CREATE TABLE table_2668254_8 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_2668254_8 WHERE district = "Kentucky 9" | ### Context: CREATE TABLE table_2668254_8 (candidates VARCHAR, district VARCHAR) ### Question: Who were the candidates in the Kentucky 9 district? ### Answer: SELECT candidates FROM table_2668254_8 WHERE district = "Kentucky 9" |
Who were the candidates in the Kentucky 5 district? | CREATE TABLE table_2668254_8 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_2668254_8 WHERE district = "Kentucky 5" | ### Context: CREATE TABLE table_2668254_8 (candidates VARCHAR, district VARCHAR) ### Question: Who were the candidates in the Kentucky 5 district? ### Answer: SELECT candidates FROM table_2668254_8 WHERE district = "Kentucky 5" |
Who was the incumbent when the candidate was william drayton (j)? | CREATE TABLE table_2668254_22 (incumbent VARCHAR, candidates VARCHAR) | SELECT incumbent FROM table_2668254_22 WHERE candidates = "William Drayton (J)" | ### Context: CREATE TABLE table_2668254_22 (incumbent VARCHAR, candidates VARCHAR) ### Question: Who was the incumbent when the candidate was william drayton (j)? ### Answer: SELECT incumbent FROM table_2668254_22 WHERE candidates = "William Drayton (J)" |
What party did candidate george mcduffie (j) represent? | CREATE TABLE table_2668254_22 (party VARCHAR, candidates VARCHAR) | SELECT party FROM table_2668254_22 WHERE candidates = "George McDuffie (J)" | ### Context: CREATE TABLE table_2668254_22 (party VARCHAR, candidates VARCHAR) ### Question: What party did candidate george mcduffie (j) represent? ### Answer: SELECT party FROM table_2668254_22 WHERE candidates = "George McDuffie (J)" |
What party did robert p. letcher represent? | CREATE TABLE table_2668264_8 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_2668264_8 WHERE incumbent = "Robert P. Letcher" | ### Context: CREATE TABLE table_2668264_8 (party VARCHAR, incumbent VARCHAR) ### Question: What party did robert p. letcher represent? ### Answer: SELECT party FROM table_2668264_8 WHERE incumbent = "Robert P. Letcher" |
What district(s) did henry clay represent? | CREATE TABLE table_2668264_8 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_2668264_8 WHERE incumbent = "Henry Clay" | ### Context: CREATE TABLE table_2668264_8 (district VARCHAR, incumbent VARCHAR) ### Question: What district(s) did henry clay represent? ### Answer: SELECT district FROM table_2668264_8 WHERE incumbent = "Henry Clay" |
Who were the candidates for election that had a result of a retired jacksonian gain? | CREATE TABLE table_2668264_8 (candidates VARCHAR, result VARCHAR) | SELECT candidates FROM table_2668264_8 WHERE result = "Retired Jacksonian gain" | ### Context: CREATE TABLE table_2668264_8 (candidates VARCHAR, result VARCHAR) ### Question: Who were the candidates for election that had a result of a retired jacksonian gain? ### Answer: SELECT candidates FROM table_2668264_8 WHERE result = "Retired Jacksonian gain" |
What ended up happening in the district Virginia 22? | CREATE TABLE table_2668329_25 (result VARCHAR, district VARCHAR) | SELECT result FROM table_2668329_25 WHERE district = "Virginia 22" | ### Context: CREATE TABLE table_2668329_25 (result VARCHAR, district VARCHAR) ### Question: What ended up happening in the district Virginia 22? ### Answer: SELECT result FROM table_2668329_25 WHERE district = "Virginia 22" |
What party won the Virginia 4 district? | CREATE TABLE table_2668329_25 (party VARCHAR, district VARCHAR) | SELECT party FROM table_2668329_25 WHERE district = "Virginia 4" | ### Context: CREATE TABLE table_2668329_25 (party VARCHAR, district VARCHAR) ### Question: What party won the Virginia 4 district? ### Answer: SELECT party FROM table_2668329_25 WHERE district = "Virginia 4" |
How many people won the election in the district of Virginia 4? | CREATE TABLE table_2668329_25 (result VARCHAR, district VARCHAR) | SELECT COUNT(result) FROM table_2668329_25 WHERE district = "Virginia 4" | ### Context: CREATE TABLE table_2668329_25 (result VARCHAR, district VARCHAR) ### Question: How many people won the election in the district of Virginia 4? ### Answer: SELECT COUNT(result) FROM table_2668329_25 WHERE district = "Virginia 4" |
Who is the incumbent in the Virginia 6 district? | CREATE TABLE table_2668329_25 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_2668329_25 WHERE district = "Virginia 6" | ### Context: CREATE TABLE table_2668329_25 (incumbent VARCHAR, district VARCHAR) ### Question: Who is the incumbent in the Virginia 6 district? ### Answer: SELECT incumbent FROM table_2668329_25 WHERE district = "Virginia 6" |
What is Samuel Smith's party? | CREATE TABLE table_2668329_11 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_2668329_11 WHERE incumbent = "Samuel Smith" | ### Context: CREATE TABLE table_2668329_11 (party VARCHAR, incumbent VARCHAR) ### Question: What is Samuel Smith's party? ### Answer: SELECT party FROM table_2668329_11 WHERE incumbent = "Samuel Smith" |
what is Peter Little's party? | CREATE TABLE table_2668329_11 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_2668329_11 WHERE incumbent = "Peter Little" | ### Context: CREATE TABLE table_2668329_11 (party VARCHAR, incumbent VARCHAR) ### Question: what is Peter Little's party? ### Answer: SELECT party FROM table_2668329_11 WHERE incumbent = "Peter Little" |
What was the result of Samuel Smith's race? | CREATE TABLE table_2668329_11 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_2668329_11 WHERE incumbent = "Samuel Smith" | ### Context: CREATE TABLE table_2668329_11 (result VARCHAR, incumbent VARCHAR) ### Question: What was the result of Samuel Smith's race? ### Answer: SELECT result FROM table_2668329_11 WHERE incumbent = "Samuel Smith" |
Name the result for north carolina 9 | CREATE TABLE table_2668329_18 (result VARCHAR, district VARCHAR) | SELECT COUNT(result) FROM table_2668329_18 WHERE district = "North Carolina 9" | ### Context: CREATE TABLE table_2668329_18 (result VARCHAR, district VARCHAR) ### Question: Name the result for north carolina 9 ### Answer: SELECT COUNT(result) FROM table_2668329_18 WHERE district = "North Carolina 9" |
Name the party for hutchins g. burton | CREATE TABLE table_2668329_18 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_2668329_18 WHERE incumbent = "Hutchins G. Burton" | ### Context: CREATE TABLE table_2668329_18 (party VARCHAR, incumbent VARCHAR) ### Question: Name the party for hutchins g. burton ### Answer: SELECT party FROM table_2668329_18 WHERE incumbent = "Hutchins G. Burton" |
Name the result for thomas h. hall (dr) 53.0% william clarke (f) 47.0% | CREATE TABLE table_2668329_18 (result VARCHAR, candidates VARCHAR) | SELECT COUNT(result) FROM table_2668329_18 WHERE candidates = "Thomas H. Hall (DR) 53.0% William Clarke (F) 47.0%" | ### Context: CREATE TABLE table_2668329_18 (result VARCHAR, candidates VARCHAR) ### Question: Name the result for thomas h. hall (dr) 53.0% william clarke (f) 47.0% ### Answer: SELECT COUNT(result) FROM table_2668329_18 WHERE candidates = "Thomas H. Hall (DR) 53.0% William Clarke (F) 47.0%" |
Name the candidates for felix walker | CREATE TABLE table_2668329_18 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_2668329_18 WHERE incumbent = "Felix Walker" | ### Context: CREATE TABLE table_2668329_18 (candidates VARCHAR, incumbent VARCHAR) ### Question: Name the candidates for felix walker ### Answer: SELECT candidates FROM table_2668329_18 WHERE incumbent = "Felix Walker" |
Who are the candidates when the incumbent is john pegram? | CREATE TABLE table_2668336_24 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_2668336_24 WHERE incumbent = "John Pegram" | ### Context: CREATE TABLE table_2668336_24 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who are the candidates when the incumbent is john pegram? ### Answer: SELECT candidates FROM table_2668336_24 WHERE incumbent = "John Pegram" |
Who are the candidates for district virginia 12? | CREATE TABLE table_2668336_24 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_2668336_24 WHERE district = "Virginia 12" | ### Context: CREATE TABLE table_2668336_24 (candidates VARCHAR, district VARCHAR) ### Question: Who are the candidates for district virginia 12? ### Answer: SELECT candidates FROM table_2668336_24 WHERE district = "Virginia 12" |
What is the result when the candidates are alexander smyth (dr) 100% | CREATE TABLE table_2668336_24 (result VARCHAR, candidates VARCHAR) | SELECT result FROM table_2668336_24 WHERE candidates = "Alexander Smyth (DR) 100%" | ### Context: CREATE TABLE table_2668336_24 (result VARCHAR, candidates VARCHAR) ### Question: What is the result when the candidates are alexander smyth (dr) 100% ### Answer: SELECT result FROM table_2668336_24 WHERE candidates = "Alexander Smyth (DR) 100%" |
How many times is the candidates charles f. mercer (f) 100%? | CREATE TABLE table_2668336_24 (incumbent VARCHAR, candidates VARCHAR) | SELECT COUNT(incumbent) FROM table_2668336_24 WHERE candidates = "Charles F. Mercer (F) 100%" | ### Context: CREATE TABLE table_2668336_24 (incumbent VARCHAR, candidates VARCHAR) ### Question: How many times is the candidates charles f. mercer (f) 100%? ### Answer: SELECT COUNT(incumbent) FROM table_2668336_24 WHERE candidates = "Charles F. Mercer (F) 100%" |
how many times was the incumbent is john b. yates? | CREATE TABLE table_2668347_14 (party VARCHAR, incumbent VARCHAR) | SELECT COUNT(party) FROM table_2668347_14 WHERE incumbent = "John B. Yates" | ### Context: CREATE TABLE table_2668347_14 (party VARCHAR, incumbent VARCHAR) ### Question: how many times was the incumbent is john b. yates? ### Answer: SELECT COUNT(party) FROM table_2668347_14 WHERE incumbent = "John B. Yates" |
when was the first elected when the candidates is thomas lawyer (dr) 54.9% william beekman (f) 45.1%? | CREATE TABLE table_2668347_14 (first_elected VARCHAR, candidates VARCHAR) | SELECT first_elected FROM table_2668347_14 WHERE candidates = "Thomas Lawyer (DR) 54.9% William Beekman (F) 45.1%" | ### Context: CREATE TABLE table_2668347_14 (first_elected VARCHAR, candidates VARCHAR) ### Question: when was the first elected when the candidates is thomas lawyer (dr) 54.9% william beekman (f) 45.1%? ### Answer: SELECT first_elected FROM table_2668347_14 WHERE candidates = "Thomas Lawyer (DR) 54.9% William Beekman (F) 45.1%" |
who are the candidates for district new york 10? | CREATE TABLE table_2668347_14 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_2668347_14 WHERE district = "New York 10" | ### Context: CREATE TABLE table_2668347_14 (candidates VARCHAR, district VARCHAR) ### Question: who are the candidates for district new york 10? ### Answer: SELECT candidates FROM table_2668347_14 WHERE district = "New York 10" |
how many times were the candidates thomas h. hubbard (dr) 51.5% simeon ford (f) 48.4%? | CREATE TABLE table_2668347_14 (party VARCHAR, candidates VARCHAR) | SELECT COUNT(party) FROM table_2668347_14 WHERE candidates = "Thomas H. Hubbard (DR) 51.5% Simeon Ford (F) 48.4%" | ### Context: CREATE TABLE table_2668347_14 (party VARCHAR, candidates VARCHAR) ### Question: how many times were the candidates thomas h. hubbard (dr) 51.5% simeon ford (f) 48.4%? ### Answer: SELECT COUNT(party) FROM table_2668347_14 WHERE candidates = "Thomas H. Hubbard (DR) 51.5% Simeon Ford (F) 48.4%" |
what is the district when the party is federalist and first elected is 1814? | CREATE TABLE table_2668347_14 (district VARCHAR, party VARCHAR, first_elected VARCHAR) | SELECT district FROM table_2668347_14 WHERE party = "Federalist" AND first_elected = "1814" | ### Context: CREATE TABLE table_2668347_14 (district VARCHAR, party VARCHAR, first_elected VARCHAR) ### Question: what is the district when the party is federalist and first elected is 1814? ### Answer: SELECT district FROM table_2668347_14 WHERE party = "Federalist" AND first_elected = "1814" |
Name the candidates for pennsylvania 14 | CREATE TABLE table_2668347_17 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_2668347_17 WHERE district = "Pennsylvania 14" | ### Context: CREATE TABLE table_2668347_17 (candidates VARCHAR, district VARCHAR) ### Question: Name the candidates for pennsylvania 14 ### Answer: SELECT candidates FROM table_2668347_17 WHERE district = "Pennsylvania 14" |
Name the incumbent for jacob spangler (dr) 67.1% jacob hay (f) 32.9% | CREATE TABLE table_2668347_17 (incumbent VARCHAR, candidates VARCHAR) | SELECT incumbent FROM table_2668347_17 WHERE candidates = "Jacob Spangler (DR) 67.1% Jacob Hay (F) 32.9%" | ### Context: CREATE TABLE table_2668347_17 (incumbent VARCHAR, candidates VARCHAR) ### Question: Name the incumbent for jacob spangler (dr) 67.1% jacob hay (f) 32.9% ### Answer: SELECT incumbent FROM table_2668347_17 WHERE candidates = "Jacob Spangler (DR) 67.1% Jacob Hay (F) 32.9%" |
Name the most first elected | CREATE TABLE table_2668347_17 (first_elected INTEGER) | SELECT MAX(first_elected) FROM table_2668347_17 | ### Context: CREATE TABLE table_2668347_17 (first_elected INTEGER) ### Question: Name the most first elected ### Answer: SELECT MAX(first_elected) FROM table_2668347_17 |
Name the number of candidates for samuel d. ingham | CREATE TABLE table_2668347_17 (candidates VARCHAR, incumbent VARCHAR) | SELECT COUNT(candidates) FROM table_2668347_17 WHERE incumbent = "Samuel D. Ingham" | ### Context: CREATE TABLE table_2668347_17 (candidates VARCHAR, incumbent VARCHAR) ### Question: Name the number of candidates for samuel d. ingham ### Answer: SELECT COUNT(candidates) FROM table_2668347_17 WHERE incumbent = "Samuel D. Ingham" |
Which district did William A. Burwell (Dr) belong to? | CREATE TABLE table_2668347_22 (district VARCHAR, candidates VARCHAR) | SELECT district FROM table_2668347_22 WHERE candidates = "William A. Burwell (DR)" | ### Context: CREATE TABLE table_2668347_22 (district VARCHAR, candidates VARCHAR) ### Question: Which district did William A. Burwell (Dr) belong to? ### Answer: SELECT district FROM table_2668347_22 WHERE candidates = "William A. Burwell (DR)" |
What was the result in the district represented by Thomas R. Gold? | CREATE TABLE table_2668367_13 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_2668367_13 WHERE incumbent = "Thomas R. Gold" | ### Context: CREATE TABLE table_2668367_13 (result VARCHAR, incumbent VARCHAR) ### Question: What was the result in the district represented by Thomas R. Gold? ### Answer: SELECT result FROM table_2668367_13 WHERE incumbent = "Thomas R. Gold" |
Who is every incumbent when Kentucky 2 is the district? | CREATE TABLE table_2668352_5 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_2668352_5 WHERE district = "Kentucky 2" | ### Context: CREATE TABLE table_2668352_5 (incumbent VARCHAR, district VARCHAR) ### Question: Who is every incumbent when Kentucky 2 is the district? ### Answer: SELECT incumbent FROM table_2668352_5 WHERE district = "Kentucky 2" |
Who is first elected when Kentucky 6 is the district? | CREATE TABLE table_2668352_5 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_2668352_5 WHERE district = "Kentucky 6" | ### Context: CREATE TABLE table_2668352_5 (first_elected VARCHAR, district VARCHAR) ### Question: Who is first elected when Kentucky 6 is the district? ### Answer: SELECT first_elected FROM table_2668352_5 WHERE district = "Kentucky 6" |
What is every district for incumbent Joseph Desha? | CREATE TABLE table_2668352_5 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_2668352_5 WHERE incumbent = "Joseph Desha" | ### Context: CREATE TABLE table_2668352_5 (district VARCHAR, incumbent VARCHAR) ### Question: What is every district for incumbent Joseph Desha? ### Answer: SELECT district FROM table_2668352_5 WHERE incumbent = "Joseph Desha" |
Which party experienced a result of lost re-election democratic-republican hold? | CREATE TABLE table_2668352_16 (party VARCHAR, result VARCHAR) | SELECT party FROM table_2668352_16 WHERE result = "Lost re-election Democratic-Republican hold" | ### Context: CREATE TABLE table_2668352_16 (party VARCHAR, result VARCHAR) ### Question: Which party experienced a result of lost re-election democratic-republican hold? ### Answer: SELECT party FROM table_2668352_16 WHERE result = "Lost re-election Democratic-Republican hold" |
How many districts have John C. Calhoun as the incumbent? | CREATE TABLE table_2668352_16 (district VARCHAR, incumbent VARCHAR) | SELECT COUNT(district) FROM table_2668352_16 WHERE incumbent = "John C. Calhoun" | ### Context: CREATE TABLE table_2668352_16 (district VARCHAR, incumbent VARCHAR) ### Question: How many districts have John C. Calhoun as the incumbent? ### Answer: SELECT COUNT(district) FROM table_2668352_16 WHERE incumbent = "John C. Calhoun" |
Who was the incumbent in the Kentucky 8 district? | CREATE TABLE table_2668367_7 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_2668367_7 WHERE district = "Kentucky 8" | ### Context: CREATE TABLE table_2668367_7 (incumbent VARCHAR, district VARCHAR) ### Question: Who was the incumbent in the Kentucky 8 district? ### Answer: SELECT incumbent FROM table_2668367_7 WHERE district = "Kentucky 8" |
What was the result in the election in the Kentucky 8 district? | CREATE TABLE table_2668367_7 (result VARCHAR, district VARCHAR) | SELECT result FROM table_2668367_7 WHERE district = "Kentucky 8" | ### Context: CREATE TABLE table_2668367_7 (result VARCHAR, district VARCHAR) ### Question: What was the result in the election in the Kentucky 8 district? ### Answer: SELECT result FROM table_2668367_7 WHERE district = "Kentucky 8" |
What was the result in the election in the Kentucky 1 district? | CREATE TABLE table_2668367_7 (result VARCHAR, district VARCHAR) | SELECT result FROM table_2668367_7 WHERE district = "Kentucky 1" | ### Context: CREATE TABLE table_2668367_7 (result VARCHAR, district VARCHAR) ### Question: What was the result in the election in the Kentucky 1 district? ### Answer: SELECT result FROM table_2668367_7 WHERE district = "Kentucky 1" |
What district had an election with incumbent john smilie? | CREATE TABLE table_2668374_13 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_2668374_13 WHERE incumbent = "John Smilie" | ### Context: CREATE TABLE table_2668374_13 (district VARCHAR, incumbent VARCHAR) ### Question: What district had an election with incumbent john smilie? ### Answer: SELECT district FROM table_2668374_13 WHERE incumbent = "John Smilie" |
How many districts first elected someone in 1808 and had george smith as the incumbent? | CREATE TABLE table_2668374_13 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR) | SELECT COUNT(district) FROM table_2668374_13 WHERE first_elected = "1808" AND incumbent = "George Smith" | ### Context: CREATE TABLE table_2668374_13 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR) ### Question: How many districts first elected someone in 1808 and had george smith as the incumbent? ### Answer: SELECT COUNT(district) FROM table_2668374_13 WHERE first_elected = "1808" AND incumbent = "George Smith" |
Who was the incumbent in Virginia 3? | CREATE TABLE table_2668374_18 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_2668374_18 WHERE district = "Virginia 3" | ### Context: CREATE TABLE table_2668374_18 (incumbent VARCHAR, district VARCHAR) ### Question: Who was the incumbent in Virginia 3? ### Answer: SELECT incumbent FROM table_2668374_18 WHERE district = "Virginia 3" |
What incumbent was a federalist that was first elected in 1803? | CREATE TABLE table_2668374_18 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_2668374_18 WHERE party = "Federalist" AND first_elected = "1803" | ### Context: CREATE TABLE table_2668374_18 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR) ### Question: What incumbent was a federalist that was first elected in 1803? ### Answer: SELECT incumbent FROM table_2668374_18 WHERE party = "Federalist" AND first_elected = "1803" |
How many parties were first elected in 1805? | CREATE TABLE table_2668374_18 (party VARCHAR, first_elected VARCHAR) | SELECT COUNT(party) FROM table_2668374_18 WHERE first_elected = "1805" | ### Context: CREATE TABLE table_2668374_18 (party VARCHAR, first_elected VARCHAR) ### Question: How many parties were first elected in 1805? ### Answer: SELECT COUNT(party) FROM table_2668374_18 WHERE first_elected = "1805" |
What district was John Dawson from? | CREATE TABLE table_2668374_18 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_2668374_18 WHERE incumbent = "John Dawson" | ### Context: CREATE TABLE table_2668374_18 (district VARCHAR, incumbent VARCHAR) ### Question: What district was John Dawson from? ### Answer: SELECT district FROM table_2668374_18 WHERE incumbent = "John Dawson" |
Who were the running candidates when Samuel Riker was the incumbent? | CREATE TABLE table_2668374_10 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_2668374_10 WHERE incumbent = "Samuel Riker" | ### Context: CREATE TABLE table_2668374_10 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who were the running candidates when Samuel Riker was the incumbent? ### Answer: SELECT candidates FROM table_2668374_10 WHERE incumbent = "Samuel Riker" |
Who were the candidates in the district where the incumbent was Nathaniel Macon? | CREATE TABLE table_2668367_14 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_2668367_14 WHERE incumbent = "Nathaniel Macon" | ### Context: CREATE TABLE table_2668367_14 (candidates VARCHAR, incumbent VARCHAR) ### Question: Who were the candidates in the district where the incumbent was Nathaniel Macon? ### Answer: SELECT candidates FROM table_2668367_14 WHERE incumbent = "Nathaniel Macon" |
What party did the incumbent Joseph Pearson belong to? | CREATE TABLE table_2668367_14 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_2668367_14 WHERE incumbent = "Joseph Pearson" | ### Context: CREATE TABLE table_2668367_14 (party VARCHAR, incumbent VARCHAR) ### Question: What party did the incumbent Joseph Pearson belong to? ### Answer: SELECT party FROM table_2668367_14 WHERE incumbent = "Joseph Pearson" |
How many incumbents are there in Pennsylvania 5? | CREATE TABLE table_2668401_12 (incumbent VARCHAR, district VARCHAR) | SELECT COUNT(incumbent) FROM table_2668401_12 WHERE district = "Pennsylvania 5" | ### Context: CREATE TABLE table_2668401_12 (incumbent VARCHAR, district VARCHAR) ### Question: How many incumbents are there in Pennsylvania 5? ### Answer: SELECT COUNT(incumbent) FROM table_2668401_12 WHERE district = "Pennsylvania 5" |
What are the parties listed for Pennsylvania 8? | CREATE TABLE table_2668401_12 (party VARCHAR, district VARCHAR) | SELECT party FROM table_2668401_12 WHERE district = "Pennsylvania 8" | ### Context: CREATE TABLE table_2668401_12 (party VARCHAR, district VARCHAR) ### Question: What are the parties listed for Pennsylvania 8? ### Answer: SELECT party FROM table_2668401_12 WHERE district = "Pennsylvania 8" |
Name the incumbent for candidates Joseph Hiester (dr) 83.2% Roswell Wells (f) 16.8%. | CREATE TABLE table_2668401_12 (incumbent VARCHAR, candidates VARCHAR) | SELECT incumbent FROM table_2668401_12 WHERE candidates = "Joseph Hiester (DR) 83.2% Roswell Wells (F) 16.8%" | ### Context: CREATE TABLE table_2668401_12 (incumbent VARCHAR, candidates VARCHAR) ### Question: Name the incumbent for candidates Joseph Hiester (dr) 83.2% Roswell Wells (f) 16.8%. ### Answer: SELECT incumbent FROM table_2668401_12 WHERE candidates = "Joseph Hiester (DR) 83.2% Roswell Wells (F) 16.8%" |
What was the result for Andrew Gregg? | CREATE TABLE table_2668401_12 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_2668401_12 WHERE incumbent = "Andrew Gregg" | ### Context: CREATE TABLE table_2668401_12 (result VARCHAR, incumbent VARCHAR) ### Question: What was the result for Andrew Gregg? ### Answer: SELECT result FROM table_2668401_12 WHERE incumbent = "Andrew Gregg" |
What was the result for Pennsylvania 8? | CREATE TABLE table_2668401_12 (result VARCHAR, district VARCHAR) | SELECT result FROM table_2668401_12 WHERE district = "Pennsylvania 8" | ### Context: CREATE TABLE table_2668401_12 (result VARCHAR, district VARCHAR) ### Question: What was the result for Pennsylvania 8? ### Answer: SELECT result FROM table_2668401_12 WHERE district = "Pennsylvania 8" |
What party did the incumbent from the Virginia 5 district who was re-elected and was first elected in 1797 belong to? | CREATE TABLE table_2668401_17 (party VARCHAR, district VARCHAR, result VARCHAR, first_elected VARCHAR) | SELECT party FROM table_2668401_17 WHERE result = "Re-elected" AND first_elected = "1797" AND district = "Virginia 5" | ### Context: CREATE TABLE table_2668401_17 (party VARCHAR, district VARCHAR, result VARCHAR, first_elected VARCHAR) ### Question: What party did the incumbent from the Virginia 5 district who was re-elected and was first elected in 1797 belong to? ### Answer: SELECT party FROM table_2668401_17 WHERE result = "Re-elected" AND first_elected = "1797" AND district = "Virginia 5" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.