text stringlengths 114 1.06k |
|---|
### 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" ### context: CREATE TABLE table_26638600_3 (lites_2_race_two_winning_... |
### 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" ### context: CREATE TABLE table_26638600_3 (circuit VARCHAR, lites_1_race_one_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" ### context: CREATE TABLE table_26638600_3 (circuit VARCHAR, lites_1_race_two_winning_team VARCHAR) |
### question: What date did series number 32 premiere? ### answer: 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 is the highest difference? ### answer: SELECT MAX(difference) FROM table_26677836_1 ### context: CREATE TABLE table_26677836_1 (difference INTEGER) |
### question: What is the highest lost? ### answer: SELECT MAX(lost) FROM table_26677836_1 ### context: CREATE TABLE table_26677836_1 (lost INTEGER) |
### question: What is the nation when the place is 2? ### answer: SELECT nation FROM table_26677836_1 WHERE place = 2 ### context: CREATE TABLE table_26677836_1 (nation VARCHAR, place VARCHAR) |
### question: How many times is the nation [[|]] (19)? ### answer: SELECT COUNT(against) FROM table_26677836_1 WHERE nation = "[[|]] (19)" ### context: CREATE TABLE table_26677836_1 (against VARCHAR, nation VARCHAR) |
### question: Which party does the incumbent Mathias Morris belong to? ### answer: SELECT party FROM table_2668169_2 WHERE incumbent = "Mathias Morris" ### context: CREATE TABLE table_2668169_2 (party VARCHAR, incumbent VARCHAR) |
### question: Which district does the incumbent Luther Reily represent? ### answer: SELECT district FROM table_2668169_2 WHERE incumbent = "Luther Reily" ### context: CREATE TABLE table_2668169_2 (district VARCHAR, incumbent VARCHAR) |
### question: Who are the candidates for the Pennsylvania 11 district? ### answer: SELECT 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" ### context: CREATE TABLE table_2668169_2 (candidates VARCHAR, district 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" ### context: CREATE TABLE table_2668173_4 (first_elected VARCHAR, result VARCHAR) |
### question: Who were the candidates if the incumbent was Henry Logan? ### answer: SELECT candidates FROM table_2668173_4 WHERE incumbent = "Henry Logan" ### context: CREATE TABLE table_2668173_4 (candidates VARCHAR, incumbent VARCHAR) |
### question: What was the district of the incumbent Mathias Morris? ### answer: SELECT district FROM table_2668173_4 WHERE incumbent = "Mathias Morris" ### context: CREATE TABLE table_2668173_4 (district VARCHAR, incumbent 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" ### context: CREATE TABLE table_2668173_4 (first_elected VARCHAR, party 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%" ### context: CREATE TABLE table_2668243_17 (incumbent 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%" ### context: CREATE TABLE table_2668243_17 (first_elected VARCHAR, candidates VARCHA... |
### question: Name the candidates for new york 21 ### answer: 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 selah r. hobbie ### answer: SELECT candidates FROM table_2668243_17 WHERE incumbent = "Selah R. Hobbie" ### context: CREATE TABLE table_2668243_17 (candidates VARCHAR, incumbent 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%" ### context: CREATE TABLE table_2668243_17 (result VARCHAR, candidates VARCHAR) |
### question: Who were the candidates in districk Pennsylvania 12? ### answer: SELECT candidates FROM table_2668199_2 WHERE district = "Pennsylvania 12" ### context: CREATE TABLE table_2668199_2 (candidates VARCHAR, district VARCHAR) |
### question: What is the result for district pennsylvania 6? ### answer: SELECT result FROM table_2668199_2 WHERE district = "Pennsylvania 6" ### context: CREATE TABLE table_2668199_2 (result VARCHAR, district 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%" ### context: CREATE TABLE table_2668199_2 (incumbent VARCHAR, candidates 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" ### context: CREATE TABLE table_2668199_2 (first... |
### 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" ### context: CREATE TABLE table_2668199_2 (candidates VARCHA... |
### 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" ### context: CREATE TABLE table_26681728_1 (rank_qualifying INTEGER, score_... |
### 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" ### context: CREATE TABLE table_26681728_1 (rank_final INTEGER, apparatus 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" ### context: CREATE TABLE table_26681728_1 (rank_final INTEGER, 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" ### context: CREATE TABLE table_26681728_1 (location VARCHAR, score_final VARCHAR) |
### question: how many "Party" are in district south carolina 2? ### answer: SELECT COUNT(party) FROM table_2668243_22 WHERE district = "South Carolina 2" ### context: CREATE TABLE table_2668243_22 (party 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" ### context: CREATE TABLE table_2668243_22 (party VARCHAR, result VARCHAR, district VARCHAR) |
### question: who were the "candidate" of South Carolina 6? ### answer: SELECT candidates FROM table_2668243_22 WHERE district = "South Carolina 6" ### context: CREATE TABLE table_2668243_22 (candidates 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" ### context: CREATE TABLE table_2668243_22 (incumbent VARCHAR, district 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" ### context: CREATE TABLE table_2668243_25 (first_elected VARCHAR, incumbent VARCHAR) |
### question: What party did john s. barbour represent? ### answer: SELECT party FROM table_2668243_25 WHERE incumbent = "John S. Barbour" ### context: CREATE TABLE table_2668243_25 (party VARCHAR, incumbent 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%" ### context: CREATE TABLE table_2668243_25 (result VARCHAR, candidates 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" ### context: CREATE TABLE table_2668243_25 (candidates VARCHAR, incumbent VARCHAR) |
### question: Who was the ran as an incumbent leader first in 1818? ### answer: SELECT incumbent FROM table_2668254_17 WHERE first_elected = "1818" ### context: CREATE TABLE table_2668254_17 (incumbent VARCHAR, first_elected VARCHAR) |
### question: Who were the running candidates when Joshua Sands was the incumbent? ### answer: SELECT candidates FROM table_2668254_17 WHERE incumbent = "Joshua Sands" ### context: CREATE TABLE table_2668254_17 (candidates 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" ### context: CREATE TABLE table_2... |
### 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" ### context: CREATE TABLE table_2668254_25 (district VARCHAR, first_elected VARCHAR) |
### question: In what district was the incumbent Charles A. Wickliffe? ### answer: SELECT district FROM table_2668254_8 WHERE incumbent = "Charles A. Wickliffe" ### context: CREATE TABLE table_2668254_8 (district 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" ### context: CREATE TABLE table_2668254_8 (party VARCHAR, incumbent VARCHAR) |
### question: Who were the candidates in the Kentucky 9 district? ### answer: 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 5 district? ### answer: SELECT candidates FROM table_2668254_8 WHERE district = "Kentucky 5" ### context: CREATE TABLE table_2668254_8 (candidates VARCHAR, district 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)" ### context: CREATE TABLE table_2668254_22 (incumbent VARCHAR, candidates VARCHAR) |
### question: What party did candidate george mcduffie (j) represent? ### answer: 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 robert p. letcher represent? ### answer: SELECT party FROM table_2668264_8 WHERE incumbent = "Robert P. Letcher" ### context: CREATE TABLE table_2668264_8 (party VARCHAR, incumbent VARCHAR) |
### question: What district(s) did henry clay represent? ### answer: SELECT district FROM table_2668264_8 WHERE incumbent = "Henry Clay" ### context: CREATE TABLE table_2668264_8 (district VARCHAR, incumbent 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" ### context: CREATE TABLE table_2668264_8 (candidates VARCHAR, result VARCHAR) |
### question: What ended up happening in the district Virginia 22? ### answer: SELECT result FROM table_2668329_25 WHERE district = "Virginia 22" ### context: CREATE TABLE table_2668329_25 (result VARCHAR, district VARCHAR) |
### question: What party won the Virginia 4 district? ### answer: SELECT party FROM table_2668329_25 WHERE district = "Virginia 4" ### context: CREATE TABLE table_2668329_25 (party 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" ### context: CREATE TABLE table_2668329_25 (result VARCHAR, district VARCHAR) |
### question: Who is the incumbent in the Virginia 6 district? ### answer: SELECT incumbent FROM table_2668329_25 WHERE district = "Virginia 6" ### context: CREATE TABLE table_2668329_25 (incumbent VARCHAR, district VARCHAR) |
### question: What is Samuel Smith's party? ### answer: SELECT party FROM table_2668329_11 WHERE incumbent = "Samuel Smith" ### 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" ### context: CREATE TABLE table_2668329_11 (party VARCHAR, incumbent VARCHAR) |
### question: What was the result of Samuel Smith's race? ### answer: SELECT result FROM table_2668329_11 WHERE incumbent = "Samuel Smith" ### context: CREATE TABLE table_2668329_11 (result VARCHAR, incumbent VARCHAR) |
### question: Name the result for north carolina 9 ### answer: 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 party for hutchins g. burton ### answer: SELECT party FROM table_2668329_18 WHERE incumbent = "Hutchins G. Burton" ### context: CREATE TABLE table_2668329_18 (party VARCHAR, incumbent 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%" ### context: CREATE TABLE table_2668329_18 (result VARCHAR, candidates VARCHAR) |
### question: Name the candidates for felix walker ### answer: SELECT candidates FROM table_2668329_18 WHERE incumbent = "Felix Walker" ### context: CREATE TABLE table_2668329_18 (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" ### context: CREATE TABLE table_2668336_24 (candidates VARCHAR, incumbent VARCHAR) |
### question: Who are the candidates for district virginia 12? ### answer: SELECT candidates FROM table_2668336_24 WHERE district = "Virginia 12" ### context: CREATE TABLE table_2668336_24 (candidates VARCHAR, district 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%" ### context: CREATE TABLE table_2668336_24 (result 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%" ### context: CREATE TABLE table_2668336_24 (incumbent VARCHAR, candidates 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" ### context: CREATE TABLE table_2668347_14 (party VARCHAR, incumbent 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%" ### context: CREATE TABLE table_2668347_14 (first_elected VARCHAR, candidate... |
### question: who are the candidates for district new york 10? ### answer: SELECT candidates FROM table_2668347_14 WHERE district = "New York 10" ### context: CREATE TABLE table_2668347_14 (candidates VARCHAR, district 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%" ### context: CREATE TABLE table_2668347_14 (party VARCHAR, candidates 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" ### context: CREATE TABLE table_2668347_14 (district VARCHAR, party VARCHAR, first_elected VARCHAR) |
### question: Name the candidates for pennsylvania 14 ### answer: SELECT candidates FROM table_2668347_17 WHERE district = "Pennsylvania 14" ### context: CREATE TABLE table_2668347_17 (candidates VARCHAR, district 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%" ### context: CREATE TABLE table_2668347_17 (incumbent VARCHAR, candidates VARCHAR) |
### question: Name the most first elected ### answer: SELECT MAX(first_elected) FROM table_2668347_17 ### context: CREATE TABLE table_2668347_17 (first_elected INTEGER) |
### question: Name the number of candidates for samuel d. ingham ### answer: SELECT COUNT(candidates) FROM table_2668347_17 WHERE incumbent = "Samuel D. Ingham" ### context: CREATE TABLE table_2668347_17 (candidates VARCHAR, incumbent VARCHAR) |
### question: Which district did William A. Burwell (Dr) belong to? ### answer: SELECT district FROM table_2668347_22 WHERE candidates = "William A. Burwell (DR)" ### context: CREATE TABLE table_2668347_22 (district VARCHAR, candidates 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" ### context: CREATE TABLE table_2668367_13 (result VARCHAR, incumbent VARCHAR) |
### question: Who is every incumbent when Kentucky 2 is the district? ### answer: SELECT incumbent FROM table_2668352_5 WHERE district = "Kentucky 2" ### context: CREATE TABLE table_2668352_5 (incumbent 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" ### context: CREATE TABLE table_2668352_5 (first_elected VARCHAR, district VARCHAR) |
### question: What is every district for incumbent Joseph Desha? ### answer: SELECT district FROM table_2668352_5 WHERE incumbent = "Joseph Desha" ### context: CREATE TABLE table_2668352_5 (district VARCHAR, incumbent 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" ### context: CREATE TABLE table_2668352_16 (party VARCHAR, result 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" ### context: CREATE TABLE table_2668352_16 (district VARCHAR, incumbent VARCHAR) |
### question: Who was the incumbent in the Kentucky 8 district? ### answer: SELECT incumbent FROM table_2668367_7 WHERE district = "Kentucky 8" ### context: CREATE TABLE table_2668367_7 (incumbent 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" ### 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" ### context: CREATE TABLE table_2668367_7 (result VARCHAR, district VARCHAR) |
### question: What district had an election with incumbent john smilie? ### answer: SELECT district FROM table_2668374_13 WHERE incumbent = "John Smilie" ### context: CREATE TABLE table_2668374_13 (district 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" ### context: CREATE TABLE table_2668374_13 (district VARCHAR, first_elected VARCHAR, incumbent VARCHA... |
### question: Who was the incumbent in Virginia 3? ### answer: SELECT incumbent FROM table_2668374_18 WHERE district = "Virginia 3" ### context: CREATE TABLE table_2668374_18 (incumbent VARCHAR, district 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" ### context: CREATE TABLE table_2668374_18 (incumbent VARCHAR, 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" ### context: CREATE TABLE table_2668374_18 (party VARCHAR, first_elected VARCHAR) |
### question: What district was John Dawson from? ### answer: SELECT district FROM table_2668374_18 WHERE incumbent = "John Dawson" ### context: CREATE TABLE table_2668374_18 (district 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" ### context: CREATE TABLE table_2668374_10 (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" ### context: CREATE TABLE table_2668367_14 (candidates VARCHAR, incumbent VARCHAR) |
### question: What party did the incumbent Joseph Pearson belong to? ### answer: SELECT party FROM table_2668367_14 WHERE incumbent = "Joseph Pearson" ### context: CREATE TABLE table_2668367_14 (party VARCHAR, incumbent VARCHAR) |
### question: How many incumbents are there in Pennsylvania 5? ### answer: SELECT COUNT(incumbent) FROM table_2668401_12 WHERE district = "Pennsylvania 5" ### context: CREATE TABLE table_2668401_12 (incumbent VARCHAR, district VARCHAR) |
### question: What are the parties listed for Pennsylvania 8? ### answer: SELECT party FROM table_2668401_12 WHERE district = "Pennsylvania 8" ### context: CREATE TABLE table_2668401_12 (party VARCHAR, district 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%" ### context: CREATE TABLE table_2668401_12 (incumbent VARCHAR, candidates VARCHAR) |
### question: What was the result for Andrew Gregg? ### answer: 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 Pennsylvania 8? ### answer: SELECT result FROM table_2668401_12 WHERE district = "Pennsylvania 8" ### context: CREATE TABLE table_2668401_12 (result VARCHAR, district 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" ### context: CREATE TABLE table_2668401_17 (party VARCHAR,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.