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