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