question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
How many districts does Ed Jones represent? | CREATE TABLE table_1341718_43 (district VARCHAR, incumbent VARCHAR) | SELECT COUNT(district) FROM table_1341718_43 WHERE incumbent = "Ed Jones" |
What's the year of the first election of the district whose incumbent is Edwin E. Willis? | CREATE TABLE table_1341843_19 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_1341843_19 WHERE incumbent = "Edwin E. Willis" |
What district is F. Edward Hebert the incumbent in? | CREATE TABLE table_1341843_19 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341843_19 WHERE incumbent = "F. Edward Hebert" |
Who were the candidates in the district whose incumbent is Joe Waggonner? | CREATE TABLE table_1341843_19 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341843_19 WHERE incumbent = "Joe Waggonner" |
What's the district that Otto Passman is the incumbent of? | CREATE TABLE table_1341843_19 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341843_19 WHERE incumbent = "Otto Passman" |
What is the district that has a republican? | CREATE TABLE table_1341930_21 (district VARCHAR, party VARCHAR) | SELECT district FROM table_1341930_21 WHERE party = "Republican" |
What party is incumbent thomas j. lane from? | CREATE TABLE table_1341930_21 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341930_21 WHERE incumbent = "Thomas J. Lane" |
What is the last year that someone is first elected in this table? | CREATE TABLE table_1341930_21 (first_elected INTEGER) | SELECT MAX(first_elected) FROM table_1341930_21 |
how many party with candidates being alton lennon (d) 89.0% c. dana malpass (r) 11.0% | CREATE TABLE table_1341930_33 (party VARCHAR, candidates VARCHAR) | SELECT COUNT(party) FROM table_1341930_33 WHERE candidates = "Alton Lennon (D) 89.0% C. Dana Malpass (R) 11.0%" |
how many first elected with district being north carolina 2 | CREATE TABLE table_1341930_33 (first_elected VARCHAR, district VARCHAR) | SELECT COUNT(first_elected) FROM table_1341930_33 WHERE district = "North Carolina 2" |
what's the incumbent with district being north carolina 6 | CREATE TABLE table_1341930_33 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341930_33 WHERE district = "North Carolina 6" |
what's the party with incumbent being herbert covington bonner | CREATE TABLE table_1341930_33 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341930_33 WHERE incumbent = "Herbert Covington Bonner" |
what's the district with incumbent being lawrence h. fountain | CREATE TABLE table_1341930_33 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341930_33 WHERE incumbent = "Lawrence H. Fountain" |
what's the candidates with party being democratic and dbeingtrict being north carolina 1 | CREATE TABLE table_1341930_33 (candidates VARCHAR, party VARCHAR, district VARCHAR) | SELECT candidates FROM table_1341930_33 WHERE party = "Democratic" AND district = "North Carolina 1" |
What was the result of the election of incumbent john shelley? | CREATE TABLE table_1341973_6 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1341973_6 WHERE incumbent = "John Shelley" |
What candidates ran in the election that included john shelley? | CREATE TABLE table_1341973_6 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341973_6 WHERE incumbent = "John Shelley" |
What was the result of the election of the incumbent clyde doyle? | CREATE TABLE table_1341973_6 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1341973_6 WHERE incumbent = "Clyde Doyle" |
What was the result of the election in california 2? | CREATE TABLE table_1341973_6 (result VARCHAR, district VARCHAR) | SELECT result FROM table_1341973_6 WHERE district = "California 2" |
What was the result of the election of the incumbent harry r. sheppard? | CREATE TABLE table_1341973_6 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1341973_6 WHERE incumbent = "Harry R. Sheppard" |
What party did Frank J. Becker represent? | CREATE TABLE table_1342013_31 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1342013_31 WHERE incumbent = "Frank J. Becker" |
What number of party had a candidate resigned when appointed judge democratic hold? | CREATE TABLE table_1342013_31 (party VARCHAR, result VARCHAR) | SELECT COUNT(party) FROM table_1342013_31 WHERE result = "Resigned when appointed judge Democratic hold" |
What district did incumbent Ralph A. Gamble represent? | CREATE TABLE table_1342013_31 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342013_31 WHERE incumbent = "Ralph A. Gamble" |
Who is the incumbent candidate in the election of percy priest (d) 90.8% robert m. donihi (r) 9.2%? | CREATE TABLE table_1342013_41 (incumbent VARCHAR, candidates VARCHAR) | SELECT incumbent FROM table_1342013_41 WHERE candidates = "Percy Priest (D) 90.8% Robert M. Donihi (R) 9.2%" |
What district is tom j. murray from? | CREATE TABLE table_1342013_41 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342013_41 WHERE incumbent = "Tom J. Murray" |
What candidates were in the election when james patrick sutton was incumbent? | CREATE TABLE table_1342013_41 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1342013_41 WHERE incumbent = "James Patrick Sutton" |
What district has Albert Rains as their representative? | CREATE TABLE table_1342149_3 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342149_3 WHERE incumbent = "Albert Rains" |
Carl Elliott is a member of which party? | CREATE TABLE table_1342149_3 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1342149_3 WHERE incumbent = "Carl Elliott" |
How many were first elected when the incumbent was Morgan M. Moulder? | CREATE TABLE table_1342198_25 (first_elected VARCHAR, incumbent VARCHAR) | SELECT COUNT(first_elected) FROM table_1342198_25 WHERE incumbent = "Morgan M. Moulder" |
In what year was Phil J. Welch first elected? | CREATE TABLE table_1342198_25 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_1342198_25 WHERE incumbent = "Phil J. Welch" |
What party was Dewey Short associated with? | CREATE TABLE table_1342198_25 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1342198_25 WHERE incumbent = "Dewey Short" |
What is the district with Republican party in place? | CREATE TABLE table_1342198_25 (district VARCHAR, party VARCHAR) | SELECT district FROM table_1342198_25 WHERE party = "Republican" |
Who ran for office in the Alabama 1 district? | CREATE TABLE table_1342198_3 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1342198_3 WHERE district = "Alabama 1" |
What year was first elected william m. wheeler (d) unopposed? | CREATE TABLE table_1342218_11 (first_elected VARCHAR, candidates VARCHAR) | SELECT first_elected FROM table_1342218_11 WHERE candidates = "William M. Wheeler (D) Unopposed" |
What district does incumbent james c. davis represent? | CREATE TABLE table_1342218_11 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342218_11 WHERE incumbent = "James C. Davis" |
What district is incumbent melvin price from? | CREATE TABLE table_1342233_13 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342233_13 WHERE incumbent = "Melvin Price" |
What district is incumbent sid simpson from? | CREATE TABLE table_1342233_13 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342233_13 WHERE incumbent = "Sid Simpson" |
Who was the candidate in the election in the Tennessee 9 district? | CREATE TABLE table_1342233_42 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1342233_42 WHERE district = "Tennessee 9" |
When was the Tennessee 3 district incumbent first elected? | CREATE TABLE table_1342233_42 (first_elected INTEGER, district VARCHAR) | SELECT MAX(first_elected) FROM table_1342233_42 WHERE district = "Tennessee 3" |
What district was Harold Earthman the incumbent in? | CREATE TABLE table_1342233_42 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342233_42 WHERE incumbent = "Harold Earthman" |
Name the result for new york 1 | CREATE TABLE table_1342249_32 (result VARCHAR, district VARCHAR) | SELECT result FROM table_1342249_32 WHERE district = "New York 1" |
Name the first elected for lost renomination democratic loss | CREATE TABLE table_1342249_32 (first_elected VARCHAR, result VARCHAR) | SELECT first_elected FROM table_1342249_32 WHERE result = "Lost renomination Democratic loss" |
How many results have Jere Cooper as incumbent? | CREATE TABLE table_1342249_42 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1342249_42 WHERE incumbent = "Jere Cooper" |
Who won the election of 1942 in the district Illinois 13? | CREATE TABLE table_1342256_13 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1342256_13 WHERE district = "Illinois 13" |
Who ran for the House in the 1924 election? | CREATE TABLE table_1342256_11 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_1342256_11 WHERE first_elected = 1924 |
What year was Stephen Pace elected? | CREATE TABLE table_1342256_11 (first_elected INTEGER, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_1342256_11 WHERE incumbent = "Stephen Pace" |
How many incumbents were elected in the 1926 election? | CREATE TABLE table_1342256_11 (incumbent VARCHAR, first_elected VARCHAR) | SELECT COUNT(incumbent) FROM table_1342256_11 WHERE first_elected = 1926 |
Who were the candidates when Noble Jones Gregory was incumbent? | CREATE TABLE table_1342270_17 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1342270_17 WHERE incumbent = "Noble Jones Gregory" |
What is the district for harry lane englebright? | CREATE TABLE table_1342338_6 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342338_6 WHERE incumbent = "Harry Lane Englebright" |
What is the result for california 2? | CREATE TABLE table_1342338_6 (result VARCHAR, district VARCHAR) | SELECT result FROM table_1342338_6 WHERE district = "California 2" |
What is the party for richard j. welch? | CREATE TABLE table_1342338_6 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1342338_6 WHERE incumbent = "Richard J. Welch" |
How many winners were there in the race of 1922 | CREATE TABLE table_1342359_23 (incumbent VARCHAR, first_elected VARCHAR) | SELECT COUNT(incumbent) FROM table_1342359_23 WHERE first_elected = 1922 |
Who was the incumbent when henry e. barbour ran? | CREATE TABLE table_1342379_5 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1342379_5 WHERE incumbent = "Henry E. Barbour" |
how many party with incumbent being whitmell p. martin | CREATE TABLE table_1342393_17 (party VARCHAR, incumbent VARCHAR) | SELECT COUNT(party) FROM table_1342393_17 WHERE incumbent = "Whitmell P. Martin" |
who is the the candidates with incumbent being james o'connor | CREATE TABLE table_1342393_17 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1342393_17 WHERE incumbent = "James O'Connor" |
how many incumbent with first elected being 1924 | CREATE TABLE table_1342393_17 (incumbent VARCHAR, first_elected VARCHAR) | SELECT COUNT(incumbent) FROM table_1342393_17 WHERE first_elected = 1924 |
Name the incumbent for kentucky 9 | CREATE TABLE table_1342393_16 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1342393_16 WHERE district = "Kentucky 9" |
Name the party or first elected is 1920 | CREATE TABLE table_1342393_16 (party VARCHAR, first_elected VARCHAR) | SELECT party FROM table_1342393_16 WHERE first_elected = 1920 |
What is the candidates for first elected 1914 | CREATE TABLE table_1342393_16 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_1342393_16 WHERE first_elected = 1914 |
What was the result of the election for incumbent Cordell Hull? | CREATE TABLE table_1342393_41 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1342393_41 WHERE incumbent = "Cordell Hull" |
Cordell Hull is the incumbent in how many districts? | CREATE TABLE table_1342393_41 (district VARCHAR, incumbent VARCHAR) | SELECT COUNT(district) FROM table_1342393_41 WHERE incumbent = "Cordell Hull" |
What was the total number of votes for Tom Connally | CREATE TABLE table_1342393_42 (first_elected INTEGER, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_1342393_42 WHERE incumbent = "Tom Connally" |
What year was incumbent william f. stevenson first elected? | CREATE TABLE table_1342451_38 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_1342451_38 WHERE incumbent = "William F. Stevenson" |
What is the last year on this list someone was first elected? | CREATE TABLE table_1342451_38 (first_elected INTEGER) | SELECT MAX(first_elected) FROM table_1342451_38 |
What candidate was featured in the election for incumbent samuel j. nicholls' seat? | CREATE TABLE table_1342451_38 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1342451_38 WHERE incumbent = "Samuel J. Nicholls" |
What is the last year incumbent frederick h. dominick was first elected? | CREATE TABLE table_1342451_38 (first_elected INTEGER, incumbent VARCHAR) | SELECT MAX(first_elected) FROM table_1342451_38 WHERE incumbent = "Frederick H. Dominick" |
Who were the candidates when the winner was first elected in 1910? | CREATE TABLE table_1346137_4 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_1346137_4 WHERE first_elected = "1910" |
What was the winning party when the incumbent was richard s. whaley? | CREATE TABLE table_1346137_4 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1346137_4 WHERE incumbent = "Richard S. Whaley" |
How many different set of candidates were there when the incumbent was david e. finley? | CREATE TABLE table_1346137_4 (candidates VARCHAR, incumbent VARCHAR) | SELECT COUNT(candidates) FROM table_1346137_4 WHERE incumbent = "David E. Finley" |
What was the winning part in the district of South Carolina 3? | CREATE TABLE table_1346137_4 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1346137_4 WHERE district = "South Carolina 3" |
Who were the candidates in the district of South Carolina 5? | CREATE TABLE table_1346137_4 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1346137_4 WHERE district = "South Carolina 5" |
When was incumbent John N. Tillman first elected? | CREATE TABLE table_1346118_4 (first_elected INTEGER, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_1346118_4 WHERE incumbent = "John N. Tillman" |
What was the location and attendance when the team's record was 16-44? | CREATE TABLE table_13464416_8 (location_attendance VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_13464416_8 WHERE record = "16-44" |
What day was the game at chicago? | CREATE TABLE table_13464416_8 (date VARCHAR, team VARCHAR) | SELECT date FROM table_13464416_8 WHERE team = "Chicago" |
Who were the high point scorers in game 7? | CREATE TABLE table_13464416_4 (high_points VARCHAR, game VARCHAR) | SELECT high_points FROM table_13464416_4 WHERE game = 7 |
Who had the high rebound total against golden state? | CREATE TABLE table_13464416_4 (high_rebounds VARCHAR, team VARCHAR) | SELECT high_rebounds FROM table_13464416_4 WHERE team = "Golden State" |
how many times have there been helps by damon stoudamire (13) | CREATE TABLE table_13464416_6 (record VARCHAR, high_assists VARCHAR) | SELECT COUNT(record) FROM table_13464416_6 WHERE high_assists = "Damon Stoudamire (13)" |
who made the recovers where the score is 12-30 | CREATE TABLE table_13464416_6 (high_rebounds VARCHAR, record VARCHAR) | SELECT high_rebounds FROM table_13464416_6 WHERE record = "12-30" |
tell who made the most scores on new jersey | CREATE TABLE table_13464416_6 (high_points VARCHAR, team VARCHAR) | SELECT high_points FROM table_13464416_6 WHERE team = "New Jersey" |
how many times was the participation at omni coliseum 7,194? | CREATE TABLE table_13464416_6 (game VARCHAR, location_attendance VARCHAR) | SELECT game FROM table_13464416_6 WHERE location_attendance = "Omni Coliseum 7,194" |
The minimum average number of dancers is 34.1 how many times | CREATE TABLE table_1354805_3 (number_of_dances INTEGER, average VARCHAR) | SELECT MIN(number_of_dances) FROM table_1354805_3 WHERE average = "34.1" |
What is the Number of dances is 11 and competition finish is larger than 2.0 total | CREATE TABLE table_1354805_3 (total VARCHAR, number_of_dances VARCHAR, competition_finish VARCHAR) | SELECT total FROM table_1354805_3 WHERE number_of_dances = 11 AND competition_finish > 2.0 |
Who is the club that has 30 points? | CREATE TABLE table_13564637_5 (club VARCHAR, points VARCHAR) | SELECT club FROM table_13564637_5 WHERE points = "30" |
What were all the tries for when the try bonus was 8? | CREATE TABLE table_13564637_5 (tries_for VARCHAR, try_bonus VARCHAR) | SELECT tries_for FROM table_13564637_5 WHERE try_bonus = "8" |
What were the points for when there were 30 tries against? | CREATE TABLE table_13564637_5 (points_for VARCHAR, tries_against VARCHAR) | SELECT points_for FROM table_13564637_5 WHERE tries_against = "30" |
How many numbers were recorded points against when the tries were for 43? | CREATE TABLE table_13564637_5 (points_against VARCHAR, tries_for VARCHAR) | SELECT COUNT(points_against) FROM table_13564637_5 WHERE tries_for = "43" |
What are the tries against when points against 287? | CREATE TABLE table_13564637_5 (tries_against VARCHAR, points_against VARCHAR) | SELECT tries_against FROM table_13564637_5 WHERE points_against = "287" |
What were all the points for Tonyrefail RFC? | CREATE TABLE table_13564637_5 (points_for VARCHAR, club VARCHAR) | SELECT points_for FROM table_13564637_5 WHERE club = "Tonyrefail RFC" |
Pink cytoplasm is seen in a test that specifically stains what? | CREATE TABLE table_13570_1 (specifically_stains VARCHAR, cytoplasm VARCHAR) | SELECT specifically_stains FROM table_13570_1 WHERE cytoplasm = "Pink" |
How many cytoplasms result in a blue nucleus? | CREATE TABLE table_13570_1 (cytoplasm VARCHAR, nucleus VARCHAR) | SELECT COUNT(cytoplasm) FROM table_13570_1 WHERE nucleus = "Blue" |
A nucleus that is blue/black will specifically stain what? | CREATE TABLE table_13570_1 (specifically_stains VARCHAR, nucleus VARCHAR) | SELECT specifically_stains FROM table_13570_1 WHERE nucleus = "Blue/black" |
The pink cytoplasm will have a nucleus of what color? | CREATE TABLE table_13570_1 (nucleus VARCHAR, cytoplasm VARCHAR) | SELECT nucleus FROM table_13570_1 WHERE cytoplasm = "Pink" |
What stain is used commonly for elastic fibers? | CREATE TABLE table_13570_1 (stain VARCHAR, common_use VARCHAR) | SELECT stain FROM table_13570_1 WHERE common_use = "Elastic fibers" |
where is hte second place winner from united kingdom? | CREATE TABLE table_1359212_2 (winner VARCHAR, second_place VARCHAR) | SELECT winner FROM table_1359212_2 WHERE second_place = "United Kingdom" |
how many locations has spain as the winner? | CREATE TABLE table_1359212_2 (location VARCHAR, winner VARCHAR) | SELECT COUNT(location) FROM table_1359212_2 WHERE winner = "Spain" |
who is the artist performing at heineken music hall? | CREATE TABLE table_1359212_2 (artist VARCHAR, venue VARCHAR) | SELECT artist FROM table_1359212_2 WHERE venue = "Heineken Music Hall" |
what amount has spain as second place and the language is russian? | CREATE TABLE table_1359212_2 (margin VARCHAR, second_place VARCHAR, language VARCHAR) | SELECT COUNT(margin) FROM table_1359212_2 WHERE second_place = "Spain" AND language = "Russian" |
how many Curtiss XBTC aircraft are retired? | CREATE TABLE table_13605170_2 (retired VARCHAR, aircraft_type VARCHAR) | SELECT COUNT(retired) FROM table_13605170_2 WHERE aircraft_type = "Curtiss XBTC" |
How many Airspeed Fleet Shadower aircraft are retired? | CREATE TABLE table_13605170_2 (retired VARCHAR, aircraft_type VARCHAR) | SELECT retired FROM table_13605170_2 WHERE aircraft_type = "Airspeed Fleet Shadower" |
What is the origin of aircraft in service in 1943 and retired in 1954? | CREATE TABLE table_13605170_2 (national_origin VARCHAR, retired VARCHAR, in_service VARCHAR) | SELECT national_origin FROM table_13605170_2 WHERE retired = "1954" AND in_service = "1943" |
Who was the winner when the time was 1:24.00? | CREATE TABLE table_1360997_2 (winner_2nd VARCHAR, time VARCHAR) | SELECT winner_2nd FROM table_1360997_2 WHERE time = "1:24.00" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.