answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT candidates FROM table_1342331_43 WHERE incumbent = "James P. Buchanan"
CREATE TABLE table_1342331_43 (candidates VARCHAR, incumbent VARCHAR)
What is the name of the candidate where the incumbent is named James P. Buchanan?
SELECT party FROM table_1342331_43 WHERE incumbent = "Oliver H. Cross"
CREATE TABLE table_1342331_43 (party VARCHAR, incumbent VARCHAR)
What party is incumbent Oliver H. Cross?
SELECT district FROM table_1342331_5 WHERE incumbent = "William J. Driver"
CREATE TABLE table_1342331_5 (district VARCHAR, incumbent VARCHAR)
what's the district with incumbent being william j. driver
SELECT district FROM table_1342331_5 WHERE incumbent = "John E. Miller"
CREATE TABLE table_1342331_5 (district VARCHAR, incumbent VARCHAR)
what's the district with incumbent being john e. miller
SELECT COUNT(incumbent) FROM table_1342331_5 WHERE first_elected = 1932
CREATE TABLE table_1342331_5 (incumbent VARCHAR, first_elected VARCHAR)
how many incumbent with first elected being 1932
SELECT incumbent FROM table_1342331_5 WHERE district = "Arkansas 1"
CREATE TABLE table_1342331_5 (incumbent VARCHAR, district VARCHAR)
who is the the incumbent with dbeingtrict being arkansas 1
SELECT COUNT(district) FROM table_1342331_5 WHERE incumbent = "David Delano Glover"
CREATE TABLE table_1342331_5 (district VARCHAR, incumbent VARCHAR)
how many district  with incumbent being david delano glover
SELECT incumbent FROM table_1342331_5 WHERE candidates = "Ben Cravens (D) Unopposed"
CREATE TABLE table_1342331_5 (incumbent VARCHAR, candidates VARCHAR)
who is the the incumbent with candidates being ben cravens (d) unopposed
SELECT result FROM table_1342331_6 WHERE incumbent = "Denver S. Church"
CREATE TABLE table_1342331_6 (result VARCHAR, incumbent VARCHAR)
What was the result in the election in which the incumbent was Denver S. Church?
SELECT result FROM table_1342331_6 WHERE incumbent = "Ralph R. Eltse"
CREATE TABLE table_1342331_6 (result VARCHAR, incumbent VARCHAR)
What was the result in the election in which Ralph R. Eltse was the incumbent?
SELECT candidates FROM table_1342331_6 WHERE first_elected = 1932 AND district = "California 8"
CREATE TABLE table_1342331_6 (candidates VARCHAR, first_elected VARCHAR, district VARCHAR)
Who was the candidate in the election in the California 8 district where the incumbent was first elected in 1932?
SELECT party FROM table_1342359_15 WHERE district = "Kansas 1"
CREATE TABLE table_1342359_15 (party VARCHAR, district VARCHAR)
what are all the party with district being kansas 1
SELECT result FROM table_1342359_15 WHERE district = "Kansas 1"
CREATE TABLE table_1342359_15 (result VARCHAR, district VARCHAR)
what's the result with district being kansas 1
SELECT candidates FROM table_1342359_15 WHERE district = "Kansas 4"
CREATE TABLE table_1342359_15 (candidates VARCHAR, district VARCHAR)
who are the candidates with district being kansas 4
SELECT result FROM table_1342359_15 WHERE first_elected = 1922
CREATE TABLE table_1342359_15 (result VARCHAR, first_elected VARCHAR)
what's the result with first elected being 1922
SELECT candidates FROM table_1342359_15 WHERE district = "Kansas 5"
CREATE TABLE table_1342359_15 (candidates VARCHAR, district VARCHAR)
who is the the candidates with dbeingtrict being kansas 5
SELECT COUNT(first_elected) FROM table_1342359_15 WHERE district = "Kansas 3"
CREATE TABLE table_1342359_15 (first_elected VARCHAR, district VARCHAR)
how many first elected with district is kansas 3
SELECT result FROM table_1342359_4 WHERE district = "Arkansas 2"
CREATE TABLE table_1342359_4 (result VARCHAR, district VARCHAR)
What was the result of the election in the Arkansas 2 district?
SELECT result FROM table_1342359_4 WHERE district = "Arkansas 4"
CREATE TABLE table_1342359_4 (result VARCHAR, district VARCHAR)
What was the result of the election in the Arkansas 4 district?
SELECT COUNT(candidates) FROM table_1342359_4 WHERE district = "Arkansas 4"
CREATE TABLE table_1342359_4 (candidates VARCHAR, district VARCHAR)
How many candidates ran in the election in the Arkansas 4 district?
SELECT COUNT(district) FROM table_1342359_2 WHERE incumbent = "William B. Oliver"
CREATE TABLE table_1342359_2 (district VARCHAR, incumbent VARCHAR)
How many districts does william b. oliver represent?
SELECT MAX(first_elected) FROM table_1342359_2
CREATE TABLE table_1342359_2 (first_elected INTEGER)
What is the last year that someone is first elected?
SELECT COUNT(candidates) FROM table_1342359_17 WHERE first_elected = 1929
CREATE TABLE table_1342359_17 (candidates VARCHAR, first_elected VARCHAR)
How many people were elected in 1929
SELECT COUNT(district) FROM table_1342359_17 WHERE first_elected = 1914
CREATE TABLE table_1342359_17 (district VARCHAR, first_elected VARCHAR)
how many people won in 1914
SELECT incumbent FROM table_1342359_17 WHERE first_elected = 1927
CREATE TABLE table_1342359_17 (incumbent VARCHAR, first_elected VARCHAR)
Who won in 1927
SELECT COUNT(incumbent) FROM table_1342359_42 WHERE district = "Texas 12"
CREATE TABLE table_1342359_42 (incumbent VARCHAR, district VARCHAR)
Name the number of incumbents for texas 12
SELECT COUNT(party) FROM table_1342370_10 WHERE incumbent = "Charles R. Crisp"
CREATE TABLE table_1342370_10 (party VARCHAR, incumbent VARCHAR)
How many parties were represented for Charles R. Crisp?
SELECT district FROM table_1342370_10 WHERE first_elected = 1916
CREATE TABLE table_1342370_10 (district VARCHAR, first_elected VARCHAR)
In what district was the representative first elected in 1916?
SELECT candidates FROM table_1342370_12 WHERE first_elected = 1922
CREATE TABLE table_1342370_12 (candidates VARCHAR, first_elected VARCHAR)
Who were the candidates in the 1922 entry?
SELECT district FROM table_1342370_17 WHERE incumbent = "James O'Connor"
CREATE TABLE table_1342370_17 (district VARCHAR, incumbent VARCHAR)
In which district is James O'Connor the incumbent?
SELECT party FROM table_1342370_17 WHERE incumbent = "Riley Joseph Wilson"
CREATE TABLE table_1342370_17 (party VARCHAR, incumbent VARCHAR)
To which party does Riley Joseph Wilson belong?
SELECT COUNT(first_elected) FROM table_1342370_42 WHERE result = "Re-elected" AND incumbent = "Hatton W. Sumners"
CREATE TABLE table_1342370_42 (first_elected VARCHAR, result VARCHAR, incumbent VARCHAR)
How many of the first elected were listed when Hatton W. Sumners was incumbent and re-elected?
SELECT result FROM table_1342370_41 WHERE incumbent = "Finis J. Garrett"
CREATE TABLE table_1342370_41 (result VARCHAR, incumbent VARCHAR)
What was the result in the election where the incumbent was Finis J. Garrett?
SELECT district FROM table_1342370_41 WHERE incumbent = "Cordell Hull"
CREATE TABLE table_1342370_41 (district VARCHAR, incumbent VARCHAR)
In what district was the incumbent Cordell hull?
SELECT candidates FROM table_1342370_41 WHERE district = "Tennessee 9"
CREATE TABLE table_1342370_41 (candidates VARCHAR, district VARCHAR)
Who were the candidates in the election in the Tennessee 9 district?
SELECT result FROM table_1342379_20 WHERE candidates = "James A. Gallivan (D) Unopposed"
CREATE TABLE table_1342379_20 (result VARCHAR, candidates VARCHAR)
What was the result of the election featuring james a. gallivan (d) unopposed?
SELECT COUNT(district) FROM table_1342379_20 WHERE incumbent = "John J. Douglass"
CREATE TABLE table_1342379_20 (district VARCHAR, incumbent VARCHAR)
How many districts does john j. douglass represent?
SELECT COUNT(district) FROM table_1342379_10 WHERE first_elected = 1912
CREATE TABLE table_1342379_10 (district VARCHAR, first_elected VARCHAR)
how many areas were in the election in 1912
SELECT party FROM table_1342379_10 WHERE incumbent = "Charles H. Brand"
CREATE TABLE table_1342379_10 (party VARCHAR, incumbent VARCHAR)
what is the affiliation of charles h. brand
SELECT candidates FROM table_1342370_5 WHERE incumbent = "Harry Lane Englebright"
CREATE TABLE table_1342370_5 (candidates VARCHAR, incumbent VARCHAR)
What candidates ran in the election that featured harry lane englebright?
SELECT MAX(first_elected) FROM table_1342379_2 WHERE incumbent = "William B. Oliver"
CREATE TABLE table_1342379_2 (first_elected INTEGER, incumbent VARCHAR)
When was incumbent William B. Oliver first elected?
SELECT incumbent FROM table_1342379_23 WHERE candidates = "Percy E. Quin (D) Unopposed"
CREATE TABLE table_1342379_23 (incumbent VARCHAR, candidates VARCHAR)
who is the the incumbent with candidates being percy e. quin (d) unopposed
SELECT district FROM table_1342379_23 WHERE candidates = "John E. Rankin (D) Unopposed"
CREATE TABLE table_1342379_23 (district VARCHAR, candidates VARCHAR)
what's the district with candidates being john e. rankin (d) unopposed
SELECT candidates FROM table_1342379_23 WHERE district = "Mississippi 4"
CREATE TABLE table_1342379_23 (candidates VARCHAR, district VARCHAR)
who is the the candidates with district being mississippi 4
SELECT incumbent FROM table_1342379_23 WHERE district = "Mississippi 4"
CREATE TABLE table_1342379_23 (incumbent VARCHAR, district VARCHAR)
who is the incumbent for district mississippi 4
SELECT result FROM table_1342379_23 WHERE incumbent = "Bill G. Lowrey"
CREATE TABLE table_1342379_23 (result VARCHAR, incumbent VARCHAR)
what's the result with incumbent being bill g. lowrey
SELECT district FROM table_1342379_23 WHERE candidates = "William Madison Whittington (D) Unopposed"
CREATE TABLE table_1342379_23 (district VARCHAR, candidates VARCHAR)
what's the district  with candidates being william madison whittington (d) unopposed
SELECT MAX(first_elected) FROM table_1342379_45 WHERE incumbent = "Joseph T. Deal"
CREATE TABLE table_1342379_45 (first_elected INTEGER, incumbent VARCHAR)
What was the last year that incumbent joseph t. deal was first elected?
SELECT MIN(first_elected) FROM table_1342379_45
CREATE TABLE table_1342379_45 (first_elected INTEGER)
What year was someone first elected?
SELECT district FROM table_1342379_41 WHERE incumbent = "Edward Everett Eslick"
CREATE TABLE table_1342379_41 (district VARCHAR, incumbent VARCHAR)
What district does edward everett eslick represent?
SELECT COUNT(first_elected) FROM table_1342379_41 WHERE incumbent = "Cordell Hull"
CREATE TABLE table_1342379_41 (first_elected VARCHAR, incumbent VARCHAR)
How many times was incumbent cordell hull first elected?
SELECT COUNT(result) FROM table_1342379_41 WHERE candidates = "Joseph W. Byrns, Sr. (D) Unopposed"
CREATE TABLE table_1342379_41 (result VARCHAR, candidates VARCHAR)
How many times was the election joseph w. byrns, sr. (d) unopposed?
SELECT MIN(first_elected) FROM table_1342393_23 WHERE incumbent = "Jeff Busby"
CREATE TABLE table_1342393_23 (first_elected INTEGER, incumbent VARCHAR)
What is the least first elected for jeff busby?
SELECT party FROM table_1342393_23 WHERE first_elected = 1923
CREATE TABLE table_1342393_23 (party VARCHAR, first_elected VARCHAR)
What was the party for first elected 1923?
SELECT COUNT(result) FROM table_1342393_23 WHERE district = "Mississippi 4"
CREATE TABLE table_1342393_23 (result VARCHAR, district VARCHAR)
Name the total number of result for mississippi 4?
SELECT district FROM table_1342393_10 WHERE incumbent = "Gordon Lee"
CREATE TABLE table_1342393_10 (district VARCHAR, incumbent VARCHAR)
what is the section where gordon lee ran
SELECT district FROM table_1342393_10 WHERE incumbent = "Frank Park"
CREATE TABLE table_1342393_10 (district VARCHAR, incumbent VARCHAR)
what section did frank park run in
SELECT incumbent FROM table_1342393_10 WHERE district = "Georgia 5"
CREATE TABLE table_1342393_10 (incumbent VARCHAR, district VARCHAR)
who won in the race in the section georgia 5
SELECT COUNT(candidates) FROM table_1342426_18 WHERE incumbent = "John N. Sandlin"
CREATE TABLE table_1342426_18 (candidates VARCHAR, incumbent VARCHAR)
How many candidates won the election of john n. sandlin?
SELECT incumbent FROM table_1342426_18 WHERE candidates = "Henry Garland Dupré (D) Unopposed"
CREATE TABLE table_1342426_18 (incumbent VARCHAR, candidates VARCHAR)
Who was the incumbent in the election of henry garland dupré (d) unopposed?
SELECT result FROM table_1342426_3 WHERE incumbent = "John R. Tyson"
CREATE TABLE table_1342426_3 (result VARCHAR, incumbent VARCHAR)
What was the result when incumbent John R. Tyson was elected?
SELECT result FROM table_1342426_5 WHERE incumbent = "William J. Driver"
CREATE TABLE table_1342426_5 (result VARCHAR, incumbent VARCHAR)
Name the result for william j. driver
SELECT district FROM table_1342426_5 WHERE incumbent = "William J. Driver"
CREATE TABLE table_1342426_5 (district VARCHAR, incumbent VARCHAR)
Name the district for william j. driver
SELECT MIN(first_elected) FROM table_1342426_5 WHERE incumbent = "Chester W. Taylor"
CREATE TABLE table_1342426_5 (first_elected INTEGER, incumbent VARCHAR)
Name the lowest first elected for chester w. taylor
SELECT candidates FROM table_1342451_16 WHERE incumbent = "Henry Garland Dupré"
CREATE TABLE table_1342451_16 (candidates VARCHAR, incumbent VARCHAR)
Who were the candidates when Henry Garland Dupré was incumbent?
SELECT COUNT(candidates) FROM table_1342451_16 WHERE incumbent = "Henry Garland Dupré"
CREATE TABLE table_1342451_16 (candidates VARCHAR, incumbent VARCHAR)
How many candidates were there when Henry Garland Dupré was the incumbent?
SELECT district FROM table_1342451_16 WHERE incumbent = "James O'Connor"
CREATE TABLE table_1342451_16 (district VARCHAR, incumbent VARCHAR)
What district did James O'Connor belong to?
SELECT COUNT(original_air_date) FROM table_13426649_1 WHERE _number = 6
CREATE TABLE table_13426649_1 (original_air_date VARCHAR, _number VARCHAR)
How many different original air dates did the episode number 6 have?
SELECT written_by FROM table_13426649_1 WHERE production_code = "1ANJ01"
CREATE TABLE table_13426649_1 (written_by VARCHAR, production_code VARCHAR)
Who wrote the episode with production code 1ANJ01?
SELECT location FROM table_13456202_1 WHERE mascot = "Panthers"
CREATE TABLE table_13456202_1 (location VARCHAR, mascot VARCHAR)
What are the locations with a panthers mascot?
SELECT location FROM table_13456202_1 WHERE mascot = "Eagles"
CREATE TABLE table_13456202_1 (location VARCHAR, mascot VARCHAR)
What are the locations with an eagles macot?
SELECT COUNT(affiliation) FROM table_13456202_1 WHERE mascot = "Eagles"
CREATE TABLE table_13456202_1 (affiliation VARCHAR, mascot VARCHAR)
How many teams have an eagles mascot?
SELECT COUNT(affiliation) FROM table_13456202_1 WHERE mascot = "Titans"
CREATE TABLE table_13456202_1 (affiliation VARCHAR, mascot VARCHAR)
How many teams have the titans as a mascot?
SELECT MAX(founded) FROM table_13456202_1 WHERE school = "North College Hill High school"
CREATE TABLE table_13456202_1 (founded INTEGER, school VARCHAR)
WHat year was north college hill high school founded?
SELECT incumbent FROM table_1346118_2 WHERE candidates = "William B. Oliver (D) Unopposed"
CREATE TABLE table_1346118_2 (incumbent VARCHAR, candidates VARCHAR)
Who was the incumbent when ran william b. oliver (d) unopposed?
SELECT COUNT(party) FROM table_1346118_5 WHERE candidates = "Henry E. Barbour (R) 52.1% Henry Hawson (D) 47.9%"
CREATE TABLE table_1346118_5 (party VARCHAR, candidates VARCHAR)
Which party was the incumbent from when the cadidates were henry e. barbour (r) 52.1% henry hawson (d) 47.9%? Answer: Democratic
SELECT district FROM table_1346118_5 WHERE candidates = "John I. Nolan (R) 87% Thomas F. Feeley (S) 13%"
CREATE TABLE table_1346118_5 (district VARCHAR, candidates VARCHAR)
Which district was the race between john i. nolan (r) 87% thomas f. feeley (s) 13%?
SELECT result FROM table_1346118_5 WHERE candidates = "John A. Elston (R) 88.4% Luella Twining (S) 11.6%"
CREATE TABLE table_1346118_5 (result VARCHAR, candidates VARCHAR)
What was the net seat gain in the race john a. elston (r) 88.4% luella twining (s) 11.6%?
SELECT COUNT(district) FROM table_1346118_5 WHERE incumbent = "Julius Kahn"
CREATE TABLE table_1346118_5 (district VARCHAR, incumbent VARCHAR)
Which District was the incumbent Julius Kahn from? Answer: California 4th district
SELECT result FROM table_1346118_5 WHERE incumbent = "Clarence F. Lea"
CREATE TABLE table_1346118_5 (result VARCHAR, incumbent VARCHAR)
What was the result of the election when Clarence F. Lea was the incumbent?
SELECT team FROM table_13464416_5 WHERE game = 20
CREATE TABLE table_13464416_5 (team VARCHAR, game VARCHAR)
Which team played in game 20?
SELECT height__ft_ FROM table_13463790_2 WHERE name = "Leadenhall Building"
CREATE TABLE table_13463790_2 (height__ft_ VARCHAR, name VARCHAR)
what's the height (ft) with name being leadenhall building
SELECT height__ft_ FROM table_13463790_2 WHERE name = "52-54 Lime Street"
CREATE TABLE table_13463790_2 (height__ft_ VARCHAR, name VARCHAR)
what's the height (ft) with name being 52-54 lime street
SELECT COUNT(city) FROM table_13463790_2 WHERE name = "Providence Tower"
CREATE TABLE table_13463790_2 (city VARCHAR, name VARCHAR)
how many city with name being providence tower
SELECT format FROM table_134729_3 WHERE call_sign = "K213CL"
CREATE TABLE table_134729_3 (format VARCHAR, call_sign VARCHAR)
What station has the call number K213cl
SELECT target_city__market FROM table_134729_3 WHERE city_of_license = "Wessington Springs"
CREATE TABLE table_134729_3 (target_city__market VARCHAR, city_of_license VARCHAR)
What market is Wessington Springs in
SELECT format FROM table_134729_3 WHERE owner = "Moody Bible Institute"
CREATE TABLE table_134729_3 (format VARCHAR, owner VARCHAR)
What station owns Moody Bible Institute
SELECT COUNT(date) FROM table_13480122_5 WHERE score = "W 113–87"
CREATE TABLE table_13480122_5 (date VARCHAR, score VARCHAR)
how many date with score being w 113–87
SELECT game FROM table_13480122_5 WHERE record = "29–3"
CREATE TABLE table_13480122_5 (game VARCHAR, record VARCHAR)
what's the game with record being 29–3
SELECT high_rebounds FROM table_13480122_5 WHERE high_assists = "Scottie Pippen (9)"
CREATE TABLE table_13480122_5 (high_rebounds VARCHAR, high_assists VARCHAR)
who is the the high rebounds with high assbeingts being scottie pippen (9)
SELECT high_points FROM table_13480122_5 WHERE score = "W 117–93"
CREATE TABLE table_13480122_5 (high_points VARCHAR, score VARCHAR)
who is the the high points with score being w 117–93
SELECT record FROM table_13480122_5 WHERE date = "January 13"
CREATE TABLE table_13480122_5 (record VARCHAR, date VARCHAR)
what's the record with date being january 13
SELECT record FROM table_13480122_5 WHERE date = "January 21"
CREATE TABLE table_13480122_5 (record VARCHAR, date VARCHAR)
what are all the record where date is january 21
SELECT name FROM table_134987_3 WHERE city_of_license = "Rapid City" AND format = "Adult Contemporary"
CREATE TABLE table_134987_3 (name VARCHAR, city_of_license VARCHAR, format VARCHAR)
What is the name of Rapid City's Adult Contemporary station?
SELECT target_city__market FROM table_134987_3 WHERE city_of_license = "Rapid City" AND format = "Alternative"
CREATE TABLE table_134987_3 (target_city__market VARCHAR, city_of_license VARCHAR, format VARCHAR)
What are the market city/market(s) for Rapid City Alternative format?
SELECT frequency FROM table_134987_3 WHERE format = "Christian KAWZ-FM translator"
CREATE TABLE table_134987_3 (frequency VARCHAR, format VARCHAR)
What is the frequency for the Christian Kawz-fm Translator station?
SELECT target_city__market FROM table_134987_3 WHERE frequency = "97.9 FM"
CREATE TABLE table_134987_3 (target_city__market VARCHAR, frequency VARCHAR)
What is the target market for the station on 97.9 fm?
SELECT frequency FROM table_134987_3 WHERE format = "Classic Country KRKI-FM booster"
CREATE TABLE table_134987_3 (frequency VARCHAR, format VARCHAR)
What is the frequency of the Classic Country Krki-fm booster station?
SELECT target_city__market FROM table_134987_3 WHERE call_sign = "KFXS"
CREATE TABLE table_134987_3 (target_city__market VARCHAR, call_sign VARCHAR)
What is the target market of the station with call sign KFXS?
SELECT season AS Finale FROM table_1348989_2 WHERE viewers__in_millions_ = "10.29"
CREATE TABLE table_1348989_2 (season VARCHAR, viewers__in_millions_ VARCHAR)
What year did the season finale have a total of 10.29 million viewers?