question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which party has a first elected number bigger than 1939.0?
CREATE TABLE table_1342233_5 (party VARCHAR, first_elected INTEGER)
SELECT party FROM table_1342233_5 WHERE first_elected > 1939.0
How many incumbents had a district of Arkansas 3?
CREATE TABLE table_1342233_5 (incumbent VARCHAR, district VARCHAR)
SELECT COUNT(incumbent) FROM table_1342233_5 WHERE district = "Arkansas 3"
What party did the incumbent from the Arkansas 5 district belong to?
CREATE TABLE table_1342249_5 (party VARCHAR, district VARCHAR)
SELECT party FROM table_1342249_5 WHERE district = "Arkansas 5"
What party did the incumbent of the Arkansas 6 district belong to?
CREATE TABLE table_1342249_5 (party VARCHAR, district VARCHAR)
SELECT party FROM table_1342249_5 WHERE district = "Arkansas 6"
What is the earliest years any of the incumbents were first elected?
CREATE TABLE table_1342249_5 (first_elected INTEGER)
SELECT MIN(first_elected) FROM table_1342249_5
What party did incumbent Brooks Hays belong to?
CREATE TABLE table_1342249_5 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1342249_5 WHERE incumbent = "Brooks Hays"
What kind of party is the district in Alabama 1?
CREATE TABLE table_1342338_3 (party VARCHAR, district VARCHAR)
SELECT party FROM table_1342338_3 WHERE district = "Alabama 1"
How many in lost renomination results were elected first?
CREATE TABLE table_1342338_3 (first_elected VARCHAR, result VARCHAR)
SELECT first_elected FROM table_1342338_3 WHERE result = "Lost renomination"
How many in total were elected first in lost renomination?
CREATE TABLE table_1342338_3 (first_elected VARCHAR, result VARCHAR)
SELECT COUNT(first_elected) FROM table_1342338_3 WHERE result = "Lost renomination"
In what district was John E. Miller the incumbent?
CREATE TABLE table_1342338_5 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342338_5 WHERE incumbent = "John E. Miller"
In how many districts was the incumbent David Delano Glover?
CREATE TABLE table_1342338_5 (district VARCHAR, incumbent VARCHAR)
SELECT COUNT(district) FROM table_1342338_5 WHERE incumbent = "David Delano Glover"
What year was incumbent Claude Fuller first elected?
CREATE TABLE table_1342338_5 (first_elected VARCHAR, incumbent VARCHAR)
SELECT first_elected FROM table_1342338_5 WHERE incumbent = "Claude Fuller"
Who ran in the election where Claude Fuller was the incumbent?
CREATE TABLE table_1342338_5 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342338_5 WHERE incumbent = "Claude Fuller"
What is the result for thomas s. mcmillan?
CREATE TABLE table_1342359_39 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1342359_39 WHERE incumbent = "Thomas S. McMillan"
Name the candidate for south carolina 1?
CREATE TABLE table_1342359_39 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1342359_39 WHERE district = "South Carolina 1"
What is the party for south carolina 3?
CREATE TABLE table_1342359_39 (party VARCHAR, district VARCHAR)
SELECT party FROM table_1342359_39 WHERE district = "South Carolina 3"
What is the result for south carolina 4?
CREATE TABLE table_1342359_39 (result VARCHAR, district VARCHAR)
SELECT result FROM table_1342359_39 WHERE district = "South Carolina 4"
what's the district with incumbent being richard j. welch
CREATE TABLE table_1342359_5 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342359_5 WHERE incumbent = "Richard J. Welch"
what's the districtwith party being democratic
CREATE TABLE table_1342359_5 (district VARCHAR, party VARCHAR)
SELECT district FROM table_1342359_5 WHERE party = "Democratic"
what's the district with candidates being harry lane englebright (r) unopposed
CREATE TABLE table_1342359_5 (district VARCHAR, candidates VARCHAR)
SELECT district FROM table_1342359_5 WHERE candidates = "Harry Lane Englebright (R) Unopposed"
how many candidates with district being california 7
CREATE TABLE table_1342359_5 (candidates VARCHAR, district VARCHAR)
SELECT COUNT(candidates) FROM table_1342359_5 WHERE district = "California 7"
what's the party with incumbent being william e. evans
CREATE TABLE table_1342359_5 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1342359_5 WHERE incumbent = "William E. Evans"
What was the result of the election featuring william madison whittington?
CREATE TABLE table_1342370_23 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1342370_23 WHERE incumbent = "William Madison Whittington"
what is the total number of results where the district is south carolina 5?
CREATE TABLE table_1342370_39 (result VARCHAR, district VARCHAR)
SELECT COUNT(result) FROM table_1342370_39 WHERE district = "South Carolina 5"
who is the candidate in district south carolina 2?
CREATE TABLE table_1342370_39 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1342370_39 WHERE district = "South Carolina 2"
what year was william francis stevenson first elected?
CREATE TABLE table_1342370_39 (first_elected VARCHAR, incumbent VARCHAR)
SELECT first_elected FROM table_1342370_39 WHERE incumbent = "William Francis Stevenson"
What political party for burton e. sweet?
CREATE TABLE table_1342451_13 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1342451_13 WHERE incumbent = "Burton E. Sweet"
how many locations have a record of 14-38?
CREATE TABLE table_13464416_7 (location_attendance VARCHAR, record VARCHAR)
SELECT COUNT(location_attendance) FROM table_13464416_7 WHERE record = "14-38"
Who wrote the episode that received 1.83 million U.S. viewers?
CREATE TABLE table_13477468_3 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT written_by FROM table_13477468_3 WHERE us_viewers__millions_ = "1.83"
What is the original air date of the episode directed by Jeff Melman?
CREATE TABLE table_13477468_3 (original_air_date VARCHAR, directed_by VARCHAR)
SELECT original_air_date FROM table_13477468_3 WHERE directed_by = "Jeff Melman"
Which launch date involved the Driade?
CREATE TABLE table_13537940_1 (launched VARCHAR, name VARCHAR)
SELECT launched FROM table_13537940_1 WHERE name = "Driade"
What is the median household income of sacramento?
CREATE TABLE table_1356555_2 (median_household_income VARCHAR, county VARCHAR)
SELECT median_household_income FROM table_1356555_2 WHERE county = "Sacramento"
What is the per capita income of shasta?
CREATE TABLE table_1356555_2 (per_capita_income VARCHAR, county VARCHAR)
SELECT per_capita_income FROM table_1356555_2 WHERE county = "Shasta"
Name the median family income for riverside
CREATE TABLE table_1356555_2 (median_family_income VARCHAR, county VARCHAR)
SELECT median_family_income FROM table_1356555_2 WHERE county = "Riverside"
What is the median household income of butte?
CREATE TABLE table_1356555_2 (median_household_income VARCHAR, county VARCHAR)
SELECT median_household_income FROM table_1356555_2 WHERE county = "Butte"
What club got 239 points against?
CREATE TABLE table_13564702_4 (club VARCHAR, points_against VARCHAR)
SELECT club FROM table_13564702_4 WHERE points_against = "239"
What is the value of the points column when the value of the column lost is "lost"
CREATE TABLE table_13564702_4 (points VARCHAR)
SELECT points FROM table_13564702_4 WHERE "lost" = "lost"
How many tries against got the club with 62 tries for?
CREATE TABLE table_13564702_4 (tries_against VARCHAR, tries_for VARCHAR)
SELECT tries_against FROM table_13564702_4 WHERE tries_for = "62"
What group info is available for the 56.5 kg weight?
CREATE TABLE table_1358608_2 (group VARCHAR, weight__kg_ VARCHAR)
SELECT group FROM table_1358608_2 WHERE weight__kg_ = "56.5"
What was the result for the railway stakes race?
CREATE TABLE table_1358608_2 (result VARCHAR, race VARCHAR)
SELECT result FROM table_1358608_2 WHERE race = "Railway Stakes"
What district is incument terry kilgore from?
CREATE TABLE table_13618584_2 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_13618584_2 WHERE incumbent = "Terry Kilgore"
How many times was incumbent onzlee ware elected?
CREATE TABLE table_13618584_2 (elected VARCHAR, incumbent VARCHAR)
SELECT COUNT(elected) FROM table_13618584_2 WHERE incumbent = "Onzlee Ware"
How many election results are there from the 19th district?
CREATE TABLE table_13618584_2 (district VARCHAR)
SELECT COUNT(2007 AS _result) FROM table_13618584_2 WHERE district = "19th"
What was the last year someone was elected to the 14th district?
CREATE TABLE table_13618584_2 (elected INTEGER, district VARCHAR)
SELECT MAX(elected) FROM table_13618584_2 WHERE district = "14th"
What was the score against san antonio?
CREATE TABLE table_13619053_4 (score VARCHAR, team VARCHAR)
SELECT score FROM table_13619053_4 WHERE team = "San Antonio"
How many games did the team play when they were 1-3?
CREATE TABLE table_13619053_4 (score VARCHAR, record VARCHAR)
SELECT COUNT(score) FROM table_13619053_4 WHERE record = "1-3"
Who was the opposing team for game 53?
CREATE TABLE table_13619135_6 (team VARCHAR, game VARCHAR)
SELECT team FROM table_13619135_6 WHERE game = 53
How many games were played when the record was 26-21?
CREATE TABLE table_13619135_6 (game VARCHAR, record VARCHAR)
SELECT COUNT(game) FROM table_13619135_6 WHERE record = "26-21"
How many people had the high assists @ minnesota?
CREATE TABLE table_13619135_7 (high_assists VARCHAR, team VARCHAR)
SELECT COUNT(high_assists) FROM table_13619135_7 WHERE team = "@ Minnesota"
Who was the high rebounder against charlotte?
CREATE TABLE table_13619135_7 (high_rebounds VARCHAR, team VARCHAR)
SELECT high_rebounds FROM table_13619135_7 WHERE team = "Charlotte"
Where did the team play and what was the attendance against new jersey?
CREATE TABLE table_13619135_7 (location_attendance VARCHAR, team VARCHAR)
SELECT location_attendance FROM table_13619135_7 WHERE team = "New Jersey"
What day was the attendance at the staples center 18,176?
CREATE TABLE table_13619135_7 (date VARCHAR, location_attendance VARCHAR)
SELECT date FROM table_13619135_7 WHERE location_attendance = "Staples Center 18,176"
what's the turing complete with numeral system being decimal
CREATE TABLE table_13636_1 (turing_complete VARCHAR, numeral_system VARCHAR)
SELECT turing_complete FROM table_13636_1 WHERE numeral_system = "Decimal"
what's the computing mechanbeingm with name being atanasoff–berry computer (us)
CREATE TABLE table_13636_1 (computing_mechanism VARCHAR, name VARCHAR)
SELECT computing_mechanism FROM table_13636_1 WHERE name = "Atanasoff–Berry Computer (US)"
what's the name with first operational being march 1945
CREATE TABLE table_13636_1 (name VARCHAR, first_operational VARCHAR)
SELECT name FROM table_13636_1 WHERE first_operational = "March 1945"
what's the computing mechanbeingm with first operational being february 1944
CREATE TABLE table_13636_1 (computing_mechanism VARCHAR, first_operational VARCHAR)
SELECT computing_mechanism FROM table_13636_1 WHERE first_operational = "February 1944"
what's the turing complete with name being atanasoff–berry computer (us)
CREATE TABLE table_13636_1 (turing_complete VARCHAR, name VARCHAR)
SELECT turing_complete FROM table_13636_1 WHERE name = "Atanasoff–Berry Computer (US)"
what's the first operational with programming being not programmable—single purpose
CREATE TABLE table_13636_1 (first_operational VARCHAR, programming VARCHAR)
SELECT first_operational FROM table_13636_1 WHERE programming = "Not programmable—single purpose"
What country has a 5.5 mark for security?
CREATE TABLE table_13677808_1 (rank VARCHAR, security VARCHAR)
SELECT rank FROM table_13677808_1 WHERE security = "5.5"
How many times is denmark ranked in technology?
CREATE TABLE table_13677808_1 (technology VARCHAR, rank VARCHAR)
SELECT COUNT(technology) FROM table_13677808_1 WHERE rank = "Denmark"
What is the environment rating of the country with an overall average rating of 4.7?
CREATE TABLE table_13677808_1 (environment VARCHAR, overall__average_ VARCHAR)
SELECT environment FROM table_13677808_1 WHERE overall__average_ = "4.7"
What is the migration rating when trade is 5.7?
CREATE TABLE table_13677808_1 (migration VARCHAR, trade VARCHAR)
SELECT migration FROM table_13677808_1 WHERE trade = "5.7"
What is the lowest PF?
CREATE TABLE table_1370559_1 (pf INTEGER)
SELECT MIN(pf) FROM table_1370559_1
What is the PA when the PF is 77?
CREATE TABLE table_1370559_1 (pa VARCHAR, pf VARCHAR)
SELECT pa FROM table_1370559_1 WHERE pf = 77
what's the won with try bonus being 8
CREATE TABLE table_13758945_3 (won VARCHAR, try_bonus VARCHAR)
SELECT won FROM table_13758945_3 WHERE try_bonus = "8"
what's the club with losing bonus being 1
CREATE TABLE table_13758945_3 (club VARCHAR, losing_bonus VARCHAR)
SELECT club FROM table_13758945_3 WHERE losing_bonus = "1"
how many losing bonus with won being 10 and points against being 283
CREATE TABLE table_13758945_3 (losing_bonus VARCHAR, won VARCHAR, points_against VARCHAR)
SELECT COUNT(losing_bonus) FROM table_13758945_3 WHERE won = "10" AND points_against = "283"
how many points against with tries for being 43
CREATE TABLE table_13758945_3 (points_against VARCHAR, tries_for VARCHAR)
SELECT COUNT(points_against) FROM table_13758945_3 WHERE tries_for = "43"
what's the points with tries for being 64
CREATE TABLE table_13758945_3 (points VARCHAR, tries_for VARCHAR)
SELECT points FROM table_13758945_3 WHERE tries_for = "64"
what's the won with points against being 597
CREATE TABLE table_13758945_3 (won VARCHAR, points_against VARCHAR)
SELECT won FROM table_13758945_3 WHERE points_against = "597"
What is the type of the player whose transfer fee was €20m?
CREATE TABLE table_13770460_3 (type VARCHAR, transfer_fee VARCHAR)
SELECT type FROM table_13770460_3 WHERE transfer_fee = "€20M"
What is the EU status of ESP?
CREATE TABLE table_13770460_3 (eu VARCHAR, country VARCHAR)
SELECT eu FROM table_13770460_3 WHERE country = "ESp"
How many numbers are ending in 1 year?
CREATE TABLE table_13770460_3 (COUnT VARCHAR, ends VARCHAR)
SELECT COUnT AS n FROM table_13770460_3 WHERE ends = "1 year"
what is the nme of the song performed by billy vaughn?
CREATE TABLE table_13804825_2 (song_title VARCHAR, artist VARCHAR)
SELECT song_title FROM table_13804825_2 WHERE artist = "Billy Vaughn"
What is highest place reached by artist Ray Adams?
CREATE TABLE table_13805773_2 (position INTEGER, artist VARCHAR)
SELECT MAX(position) FROM table_13805773_2 WHERE artist = "Ray Adams"
What is the title of the song that received 259 points?
CREATE TABLE table_13805773_2 (song_title VARCHAR, points VARCHAR)
SELECT song_title FROM table_13805773_2 WHERE points = 259
how heavy is the maximum
CREATE TABLE table_13950065_1 (per_lift INTEGER)
SELECT MAX(per_lift) FROM table_13950065_1
how many channels were gained in 1997
CREATE TABLE table_1397655_1 (other_programming_sources VARCHAR, year_acquired VARCHAR)
SELECT COUNT(other_programming_sources) FROM table_1397655_1 WHERE year_acquired = 1997
how any were gained as the chan
CREATE TABLE table_1397655_1 (year_acquired VARCHAR, station VARCHAR)
SELECT COUNT(year_acquired) FROM table_1397655_1 WHERE station = "CHAN"
how many is the minimum for citv
CREATE TABLE table_1397655_1 (year_acquired INTEGER, station VARCHAR)
SELECT MIN(year_acquired) FROM table_1397655_1 WHERE station = "CITV"
where is citv located
CREATE TABLE table_1397655_1 (city VARCHAR, station VARCHAR)
SELECT city FROM table_1397655_1 WHERE station = "CITV"
which station is located in edmonton
CREATE TABLE table_1397655_1 (station VARCHAR, city VARCHAR)
SELECT station FROM table_1397655_1 WHERE city = "Edmonton"
What was the outcome for the match in 1989?
CREATE TABLE table_1399994_5 (outcome VARCHAR, year VARCHAR)
SELECT outcome FROM table_1399994_5 WHERE year = "1989"
How many locations hosted Claudia Kohde-Kilsch Eva Pfaff?
CREATE TABLE table_1399994_5 (location VARCHAR, opponents VARCHAR)
SELECT COUNT(location) FROM table_1399994_5 WHERE opponents = "Claudia Kohde-Kilsch Eva Pfaff"
Who were all of the opponents in 1984?
CREATE TABLE table_1399994_5 (opponents VARCHAR, year VARCHAR)
SELECT opponents FROM table_1399994_5 WHERE year = "1984"
How many partners were there in 1988?
CREATE TABLE table_1399994_5 (partner VARCHAR, year VARCHAR)
SELECT COUNT(partner) FROM table_1399994_5 WHERE year = "1988"
How tall is Maksim Botin?
CREATE TABLE table_14038363_1 (height VARCHAR, player VARCHAR)
SELECT height FROM table_14038363_1 WHERE player = "Maksim Botin"
What is Maksim Botin's position?
CREATE TABLE table_14038363_1 (position VARCHAR, player VARCHAR)
SELECT position FROM table_14038363_1 WHERE player = "Maksim Botin"
What is Roman Bragin's position?
CREATE TABLE table_14038363_1 (position VARCHAR, player VARCHAR)
SELECT position FROM table_14038363_1 WHERE player = "Roman Bragin"
How many position does Teodor Salparov play on?
CREATE TABLE table_14038363_1 (position VARCHAR, player VARCHAR)
SELECT COUNT(position) FROM table_14038363_1 WHERE player = "Teodor Salparov"
what is the minimum points with goals for/against being 8-5
CREATE TABLE table_14181578_1 (points INTEGER, goals_for_against VARCHAR)
SELECT MIN(points) FROM table_14181578_1 WHERE goals_for_against = "8-5"
what's the w-l-d with position being 1
CREATE TABLE table_14181578_1 (w_l_d VARCHAR, position VARCHAR)
SELECT w_l_d FROM table_14181578_1 WHERE position = 1
who is the the club (city/town) with goals for/against being 14-2
CREATE TABLE table_14181578_1 (club__city_town_ VARCHAR, goals_for_against VARCHAR)
SELECT club__city_town_ FROM table_14181578_1 WHERE goals_for_against = "14-2"
what's the goals for/against with w-l-d being 3-1-1
CREATE TABLE table_14181578_1 (goals_for_against VARCHAR, w_l_d VARCHAR)
SELECT goals_for_against FROM table_14181578_1 WHERE w_l_d = "3-1-1"
what is the minimum games played with goals for/against being 7-5
CREATE TABLE table_14181578_1 (games_played INTEGER, goals_for_against VARCHAR)
SELECT MIN(games_played) FROM table_14181578_1 WHERE goals_for_against = "7-5"
What is the nationality of the player whose college/junior/club team (league) is Seattle Thunderbirds (WHL)?
CREATE TABLE table_14209245_9 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)
SELECT nationality FROM table_14209245_9 WHERE college_junior_club_team__league_ = "Seattle Thunderbirds (WHL)"
What is the college/junior/club team (league) of the player who was pick number 130?
CREATE TABLE table_14209245_9 (college_junior_club_team__league_ VARCHAR, pick__number VARCHAR)
SELECT college_junior_club_team__league_ FROM table_14209245_9 WHERE pick__number = "130"
What is the pick number for round 2?
CREATE TABLE table_14209245_9 (pick__number VARCHAR, round VARCHAR)
SELECT pick__number FROM table_14209245_9 WHERE round = 2
what time is mon may 26 and fri may 30 is 18' 28.27 122.599mph?
CREATE TABLE table_14209455_1 (mon_26_may VARCHAR, fri_30_may VARCHAR)
SELECT mon_26_may FROM table_14209455_1 WHERE fri_30_may = "18' 28.27 122.599mph"
what tims is wed may 28 and mon may 26 is 17' 58.34 125.960mph?
CREATE TABLE table_14209455_1 (wed_28_may VARCHAR, mon_26_may VARCHAR)
SELECT wed_28_may FROM table_14209455_1 WHERE mon_26_may = "17' 58.34 125.960mph"