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