question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which Eliminated has a Tag Team of jindrak and cade?
CREATE TABLE table_name_18 (eliminated VARCHAR, tag_team VARCHAR)
SELECT eliminated AS by FROM table_name_18 WHERE tag_team = "jindrak and cade"
what is the minimum average with highest being 2363
CREATE TABLE table_14003020_5 (average INTEGER, highest VARCHAR)
SELECT MIN(average) FROM table_14003020_5 WHERE highest = 2363
What party does joel r. poinsett represent?
CREATE TABLE table_2668264_22 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_2668264_22 WHERE incumbent = "Joel R. Poinsett"
When was steve bartalo picked?
CREATE TABLE table_name_79 (pick INTEGER, player VARCHAR)
SELECT MAX(pick) FROM table_name_79 WHERE player = "steve bartalo"
What Opponent has an Attendance that is 26,880?
CREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_86 WHERE attendance = "26,880"
How many total losses were with less than 51 draws but more than 6 wins?
CREATE TABLE table_name_75 (losses VARCHAR, draw VARCHAR, wins VARCHAR)
SELECT COUNT(losses) FROM table_name_75 WHERE draw < 51 AND wins > 6
What state or district has a charter date of april 17, 2011?
CREATE TABLE table_name_51 (us_state_district VARCHAR, charter_date VARCHAR)
SELECT us_state_district FROM table_name_51 WHERE charter_date = "april 17, 2011"
What is the earliest year that Assists were less than 13 and minutes were under 91?
CREATE TABLE table_name_47 (season INTEGER, assists VARCHAR, minutes VARCHAR)
SELECT MIN(season) FROM table_name_47 WHERE assists < 13 AND minutes < 91
Which opponent led to a 6-3 record?
CREATE TABLE table_name_14 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_14 WHERE record = "6-3"
Name the points for thierry tassin category:articles with hcards
CREATE TABLE table_19001175_1 (points VARCHAR, name VARCHAR)
SELECT points FROM table_19001175_1 WHERE name = "Thierry Tassin Category:Articles with hCards"
Where did Konchesky move to?
CREATE TABLE table_name_34 (moving_to VARCHAR, name VARCHAR)
SELECT moving_to FROM table_name_34 WHERE name = "konchesky"
What was the result of the napoli-roma match?
CREATE TABLE table_name_75 (result VARCHAR, match VARCHAR)
SELECT result FROM table_name_75 WHERE match = "napoli-roma"
What is the power of b-b wheel arrangement, built in 1952?
CREATE TABLE table_name_88 (power_output VARCHAR, wheel_arrangement VARCHAR, build_date VARCHAR)
SELECT power_output FROM table_name_88 WHERE wheel_arrangement = "b-b" AND build_date = "1952"
What is the highest draws when more than 6 are played and the points against are 54?
CREATE TABLE table_name_92 (drawn INTEGER, against VARCHAR, played VARCHAR)
SELECT MAX(drawn) FROM table_name_92 WHERE against = 54 AND played > 6
Where were the Womens Doubles in the 1951/1952 season and who won?
CREATE TABLE table_12266757_1 (womens_doubles VARCHAR, season VARCHAR)
SELECT womens_doubles FROM table_12266757_1 WHERE season = "1951/1952"
What district is Samuel A. Bridges ( D ) assigned to as a successor?
CREATE TABLE table_228439_4 (district VARCHAR, successor VARCHAR)
SELECT district FROM table_228439_4 WHERE successor = "Samuel A. Bridges ( D )"
How many comments are there in the Bethel (CA) Borough area?
CREATE TABLE table_17978052_2 (comment VARCHAR, borough_or_census_area VARCHAR)
SELECT COUNT(comment) FROM table_17978052_2 WHERE borough_or_census_area = "Bethel (CA)"
What is the song with more than 9 points and 44 (11) jury (points)?
CREATE TABLE table_name_55 (song VARCHAR, total_points VARCHAR, jury__points_ VARCHAR)
SELECT song FROM table_name_55 WHERE total_points > 9 AND jury__points_ = "44 (11)"
What is Opponent, when Location is "Boston Garden", when Game is greater than 1, and when Score is "115-105"?
CREATE TABLE table_name_91 (opponent VARCHAR, score VARCHAR, location VARCHAR, game VARCHAR)
SELECT opponent FROM table_name_91 WHERE location = "boston garden" AND game > 1 AND score = "115-105"
What is the primary language used in the film title Nynke?
CREATE TABLE table_name_86 (main_language_s_ VARCHAR, original_title VARCHAR)
SELECT main_language_s_ FROM table_name_86 WHERE original_title = "nynke"
Which song was picked that was originally performed by Marisa Monte?
CREATE TABLE table_27616663_1 (song_choice VARCHAR, original_artist VARCHAR)
SELECT song_choice FROM table_27616663_1 WHERE original_artist = "Marisa Monte"
What was their record on July 22?
CREATE TABLE table_name_58 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_58 WHERE date = "july 22"
Who acquired tom norton?
CREATE TABLE table_name_1 (acquired VARCHAR, player VARCHAR)
SELECT acquired FROM table_name_1 WHERE player = "tom norton"
What position did the player from East Texas State play?
CREATE TABLE table_name_33 (position VARCHAR, school VARCHAR)
SELECT position FROM table_name_33 WHERE school = "east texas state"
What was the record where the opponent was @ Orioles and the loss was to Leal (5-4)?
CREATE TABLE table_name_5 (record VARCHAR, opponent VARCHAR, loss VARCHAR)
SELECT record FROM table_name_5 WHERE opponent = "@ orioles" AND loss = "leal (5-4)"
What is atacama's percentage of solar panels?
CREATE TABLE table_25042332_26 (solar_panel VARCHAR, region VARCHAR)
SELECT solar_panel FROM table_25042332_26 WHERE region = "Atacama"
What is the status of Aden Theobald from the hometown of London?
CREATE TABLE table_name_48 (status VARCHAR, hometown VARCHAR, name VARCHAR)
SELECT status FROM table_name_48 WHERE hometown = "london" AND name = "aden theobald"
What was the Venue in 1986 with an Outcome of 1?
CREATE TABLE table_name_71 (venue VARCHAR, year VARCHAR, outcome VARCHAR)
SELECT venue FROM table_name_71 WHERE year = "1986" AND outcome = "1"
Who won the men's double when Chou Tien-Chen won the men's single?
CREATE TABLE table_12275654_1 (mens_doubles VARCHAR, mens_singles VARCHAR)
SELECT mens_doubles FROM table_12275654_1 WHERE mens_singles = "Chou Tien-chen"
What is the height of the player, Larry Hughes?
CREATE TABLE table_name_71 (height VARCHAR, player VARCHAR)
SELECT height FROM table_name_71 WHERE player = "larry hughes"
Who were the batsmen paired for wicket 7?
CREATE TABLE table_name_83 (batsmen VARCHAR, wicket VARCHAR)
SELECT batsmen FROM table_name_83 WHERE wicket = "7"
What is the USN 2013 ranking with a BW 2013 ranking less than 1000, a Forbes 2011 ranking larger than 17, and a CNN 2011 ranking less than 13?
CREATE TABLE table_name_63 (usn_2013 INTEGER, cnn_2011 VARCHAR, bw_2013 VARCHAR, forbes_2011 VARCHAR)
SELECT SUM(usn_2013) FROM table_name_63 WHERE bw_2013 < 1000 AND forbes_2011 > 17 AND cnn_2011 < 13
Find the number of scientists involved for the projects that require more than 300 hours.
CREATE TABLE assignedto (project VARCHAR); CREATE TABLE projects (name VARCHAR, code VARCHAR, hours INTEGER)
SELECT COUNT(*), T1.name FROM projects AS T1 JOIN assignedto AS T2 ON T1.code = T2.project WHERE T1.hours > 300 GROUP BY T1.name
What was the final score at Heinz Field?
CREATE TABLE table_name_25 (final_score VARCHAR, stadium VARCHAR)
SELECT final_score FROM table_name_25 WHERE stadium = "heinz field"
Who are the runners-up in 1996?
CREATE TABLE table_name_28 (runners_up VARCHAR, year VARCHAR)
SELECT runners_up FROM table_name_28 WHERE year = "1996"
On what day in January was the record 15-29-3?
CREATE TABLE table_27539272_7 (january INTEGER, record VARCHAR)
SELECT MAX(january) FROM table_27539272_7 WHERE record = "15-29-3"
In which series did Lecor Sports participate?
CREATE TABLE table_26400438_1 (series VARCHAR, team VARCHAR)
SELECT series FROM table_26400438_1 WHERE team = "Lecor Sports"
What was the original air date of the episode that had 4.08 million U.S. viewers?
CREATE TABLE table_21304155_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
SELECT original_air_date FROM table_21304155_1 WHERE us_viewers__millions_ = "4.08"
Show all locations and the total number of platforms and passengers for all train stations in each location.
CREATE TABLE station (LOCATION VARCHAR, number_of_platforms INTEGER, total_passengers INTEGER)
SELECT LOCATION, SUM(number_of_platforms), SUM(total_passengers) FROM station GROUP BY LOCATION
What was the score on a clay surface on May 29, 2006?
CREATE TABLE table_name_5 (score VARCHAR, surface VARCHAR, date VARCHAR)
SELECT score FROM table_name_5 WHERE surface = "clay" AND date = "may 29, 2006"
Tell me the runner-up for majorca
CREATE TABLE table_name_30 (runner_up VARCHAR, tournament VARCHAR)
SELECT runner_up FROM table_name_30 WHERE tournament = "majorca"
I want the constructor for winning driver of jim clark, pole position of graham hill and dutch grand prix
CREATE TABLE table_name_34 (constructor VARCHAR, race VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)
SELECT constructor FROM table_name_34 WHERE winning_driver = "jim clark" AND pole_position = "graham hill" AND race = "dutch grand prix"
How many viewers in the UK did episode 50 have?
CREATE TABLE table_30139175_3 (uk_total_viewers VARCHAR, episode_no VARCHAR)
SELECT uk_total_viewers FROM table_30139175_3 WHERE episode_no = 50
Who published the title in the pet-raising simulator genre?
CREATE TABLE table_21458142_1 (publisher VARCHAR, genre VARCHAR)
SELECT publisher FROM table_21458142_1 WHERE genre = "Pet-raising simulator"
What is the win-loss when 2008 has a value of Q1 at Australian Open?
CREATE TABLE table_name_65 (career_win_loss VARCHAR, tournament VARCHAR)
SELECT career_win_loss FROM table_name_65 WHERE 2008 = "q1" AND tournament = "australian open"
Who was the away team at the Football Park match?
CREATE TABLE table_name_18 (away_team VARCHAR, ground VARCHAR)
SELECT away_team FROM table_name_18 WHERE ground = "football park"
What score in the final has november 3, 2002 as the date?
CREATE TABLE table_name_76 (score_in_the_final VARCHAR, date VARCHAR)
SELECT score_in_the_final FROM table_name_76 WHERE date = "november 3, 2002"
What is Equipment, when Position is greater than 28, and when Points is greater than 10?
CREATE TABLE table_name_51 (equipment VARCHAR, position VARCHAR, points VARCHAR)
SELECT equipment FROM table_name_51 WHERE position > 28 AND points > 10
What is the least ties when they played less than 14 games, and a lost less than 8 of them?
CREATE TABLE table_name_7 (draw INTEGER, played VARCHAR, lost VARCHAR)
SELECT MIN(draw) FROM table_name_7 WHERE played < 14 AND lost < 8
When the total was 290 what was the To par?
CREATE TABLE table_name_59 (to_par VARCHAR, total VARCHAR)
SELECT to_par FROM table_name_59 WHERE total = 290
Dave Curry has what Nationality?
CREATE TABLE table_name_56 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_56 WHERE player = "dave curry"
What is the year built for the Fay No. 4?
CREATE TABLE table_name_47 (year_built INTEGER, name VARCHAR)
SELECT MAX(year_built) FROM table_name_47 WHERE name = "fay no. 4"
In Pakistan, what was the total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 1029(96%)?
CREATE TABLE table_15909409_2 (total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)
SELECT total_freshwater_withdrawal__km_3__yr_ FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = "1029(96%)"
What is the highest number of nominations by Taoiseach of the composition with an administrative panel greater than 0 and an industrial and commercial panel less than 1?
CREATE TABLE table_name_11 (nominated_by_the_taoiseach INTEGER, administrative_panel VARCHAR, industrial_and_commercial_panel VARCHAR)
SELECT MAX(nominated_by_the_taoiseach) FROM table_name_11 WHERE administrative_panel > 0 AND industrial_and_commercial_panel < 1
How many times was episode 5 in the series aired on Fox int.?
CREATE TABLE table_25131572_2 (fox_int_channels_air_date VARCHAR, series__number VARCHAR)
SELECT COUNT(fox_int_channels_air_date) FROM table_25131572_2 WHERE series__number = 5
How many trains arrive at 11:00?
CREATE TABLE table_27011761_2 (train_no VARCHAR, arrival VARCHAR)
SELECT COUNT(train_no) FROM table_27011761_2 WHERE arrival = "11:00"
Name the genus/species of accession number bx897699.1
CREATE TABLE table_27155678_2 (genus_species VARCHAR, accession_number VARCHAR)
SELECT genus_species FROM table_27155678_2 WHERE accession_number = "BX897699.1"
Tell me the host for rtl-tvi
CREATE TABLE table_name_6 (host VARCHAR, network VARCHAR)
SELECT host FROM table_name_6 WHERE network = "rtl-tvi"
Which mideast regional state contains the city of Seattle?
CREATE TABLE table_name_53 (state VARCHAR, region VARCHAR, city VARCHAR)
SELECT state FROM table_name_53 WHERE region = "mideast" AND city = "seattle"
what status is the vehicle types of dmbs+tcl+dmcl?
CREATE TABLE table_name_55 (status VARCHAR, vehicle_types VARCHAR)
SELECT status FROM table_name_55 WHERE vehicle_types = "dmbs+tcl+dmcl"
What Country is the John S. McCain Ship from?
CREATE TABLE table_name_47 (country VARCHAR, ship VARCHAR)
SELECT country FROM table_name_47 WHERE ship = "john s. mccain"
Which Record has an Opponent of twins, and a Date of july 25?
CREATE TABLE table_name_10 (record VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT record FROM table_name_10 WHERE opponent = "twins" AND date = "july 25"
What's the size of the cylinders built by Longbottom, Barnsley?
CREATE TABLE table_1157867_2 (cylinders VARCHAR, builder VARCHAR)
SELECT cylinders FROM table_1157867_2 WHERE builder = "Longbottom, Barnsley"
How many field goals did Carter get when he had 0 extra points?
CREATE TABLE table_name_14 (field_goals INTEGER, player VARCHAR, extra_points VARCHAR)
SELECT SUM(field_goals) FROM table_name_14 WHERE player = "carter" AND extra_points < 0
What is the second party that has a conservative first party in the 1834 election?
CREATE TABLE table_name_71 (second_party VARCHAR, first_party VARCHAR, election VARCHAR)
SELECT second_party FROM table_name_71 WHERE first_party = "conservative" AND election = "1834"
Name the gdp world rank for asian rank being 20
CREATE TABLE table_2249029_1 (gdp_world_rank VARCHAR, asian_rank VARCHAR)
SELECT gdp_world_rank FROM table_2249029_1 WHERE asian_rank = 20
Who was the home team when attendance was over 41,846?
CREATE TABLE table_name_16 (home_team VARCHAR, crowd INTEGER)
SELECT home_team FROM table_name_16 WHERE crowd > 41 OFFSET 846
Which Chassis has 0 points?
CREATE TABLE table_name_58 (chassis VARCHAR, points VARCHAR)
SELECT chassis FROM table_name_58 WHERE points = 0
What score did the year 1948 have?
CREATE TABLE table_name_21 (score VARCHAR, year VARCHAR)
SELECT score FROM table_name_21 WHERE year = "1948"
what are all the pole position where date is 26 july
CREATE TABLE table_1137704_2 (pole_position VARCHAR, date VARCHAR)
SELECT pole_position FROM table_1137704_2 WHERE date = "26 July"
What is the language of the film Rosie?
CREATE TABLE table_name_33 (language_s_ VARCHAR, original_title VARCHAR)
SELECT language_s_ FROM table_name_33 WHERE original_title = "rosie"
What winner has royal st george's golf club as the venue, and 1969 as the year?
CREATE TABLE table_name_70 (winner VARCHAR, venue VARCHAR, year VARCHAR)
SELECT winner FROM table_name_70 WHERE venue = "royal st george's golf club" AND year = "1969"
What is the smallest amount of draws when the position is less than 7 and the against is 19?
CREATE TABLE table_name_38 (drawn INTEGER, position VARCHAR, against VARCHAR)
SELECT MIN(drawn) FROM table_name_38 WHERE position < 7 AND against = 19
Name the rank for mikey and melanie
CREATE TABLE table_26375386_22 (rank VARCHAR, couple VARCHAR)
SELECT rank FROM table_26375386_22 WHERE couple = "Mikey and Melanie"
What form factor has capacities at 60/120/180/240?
CREATE TABLE table_name_65 (form_factor VARCHAR, capacities__gb_ VARCHAR)
SELECT form_factor FROM table_name_65 WHERE capacities__gb_ = "60/120/180/240"
What is Pat Burke's Nationality?
CREATE TABLE table_name_34 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_34 WHERE player = "pat burke"
What is the branding for the radio with a frequency of 1150 am?
CREATE TABLE table_name_44 (branding VARCHAR, frequency VARCHAR)
SELECT branding FROM table_name_44 WHERE frequency = "1150 am"
What were the remarks for the coach having a class from 1928 of Cid-21B?
CREATE TABLE table_name_99 (remarks VARCHAR, class_from_1928 VARCHAR)
SELECT remarks FROM table_name_99 WHERE class_from_1928 = "cid-21b"
What is the attendance that has a record of 43-28?
CREATE TABLE table_name_86 (attendance VARCHAR, record VARCHAR)
SELECT attendance FROM table_name_86 WHERE record = "43-28"
In the game where the home team is collingwood, what is the score of the away team?
CREATE TABLE table_name_70 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_70 WHERE home_team = "collingwood"
What series was directed by Frank Tashlin and has the production number, 8053?
CREATE TABLE table_name_28 (series VARCHAR, director VARCHAR, production_num VARCHAR)
SELECT series FROM table_name_28 WHERE director = "frank tashlin" AND production_num = "8053"
What are the descriptions of the service types with product price above 100?
CREATE TABLE Services (Service_Type_Code VARCHAR, Product_Price INTEGER); CREATE TABLE Ref_Service_Types (Service_Type_Description VARCHAR, Service_Type_Code VARCHAR)
SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code WHERE T2.Product_Price > 100
What is the average attendance of the game with 38 opponent and less than 14 Falcons points?
CREATE TABLE table_name_63 (attendance INTEGER, opponents VARCHAR, falcons_points VARCHAR)
SELECT AVG(attendance) FROM table_name_63 WHERE opponents = 38 AND falcons_points < 14
What is the to par of player bunky henry?
CREATE TABLE table_name_5 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_5 WHERE player = "bunky henry"
How much does the champion get for stadthalle dinslaken, dinslaken?
CREATE TABLE table_18828487_1 (champion VARCHAR, venue VARCHAR)
SELECT champion FROM table_18828487_1 WHERE venue = "Stadthalle Dinslaken, Dinslaken"
Who was the home team for the away game that Canvey Island played?
CREATE TABLE table_name_6 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_6 WHERE away_team = "canvey island"
What is the lowest measure number for the measure with a 33.57% yes percentage?
CREATE TABLE table_256286_19 (meas_num INTEGER, _percentage_yes VARCHAR)
SELECT MIN(meas_num) FROM table_256286_19 WHERE _percentage_yes = "33.57%"
What are the average prices and cases of wines produced in the year of 2009 and made of Zinfandel grape?
CREATE TABLE WINE (Price INTEGER, Cases INTEGER, YEAR VARCHAR, Grape VARCHAR)
SELECT AVG(Price), AVG(Cases) FROM WINE WHERE YEAR = 2009 AND Grape = "Zinfandel"
What is the lane number of the swimmer with a time of 55.69?
CREATE TABLE table_name_21 (lane VARCHAR, time VARCHAR)
SELECT lane FROM table_name_21 WHERE time = 55.69
What is Date, when Venue is "Taunton", and when Name is "SC Ganguly"?
CREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR, name VARCHAR)
SELECT date FROM table_name_78 WHERE venue = "taunton" AND name = "sc ganguly"
what couple had a vote percentage of 5.8%?
CREATE TABLE table_26375386_20 (couple VARCHAR, vote_percentage VARCHAR)
SELECT couple FROM table_26375386_20 WHERE vote_percentage = "5.8%"
Which date was a GTS class on the Mosport International Raceway?
CREATE TABLE table_name_98 (date VARCHAR, class VARCHAR, circuit VARCHAR)
SELECT date FROM table_name_98 WHERE class = "gts" AND circuit = "mosport international raceway"
What was the amount of deaths that had a natural growth smaller than 3.4, and a total fertility rate of 1.63?
CREATE TABLE table_name_41 (deaths VARCHAR, natural_growth VARCHAR, total_fertility_rate VARCHAR)
SELECT deaths FROM table_name_41 WHERE natural_growth < 3.4 AND total_fertility_rate = "1.63"
Which Winning driver has a Winning constructor of mercedes, and a Name of elgin trophy?
CREATE TABLE table_name_33 (winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR)
SELECT winning_driver FROM table_name_33 WHERE winning_constructor = "mercedes" AND name = "elgin trophy"
In which year was the Tournament of european indoor championships played where the Extra was 800 m and the Result was 2nd?
CREATE TABLE table_name_95 (year VARCHAR, result VARCHAR, extra VARCHAR, tournament VARCHAR)
SELECT year FROM table_name_95 WHERE extra = "800 m" AND tournament = "european indoor championships" AND result = "2nd"
What is the Score of the game against Philadelphia 76ers?
CREATE TABLE table_name_2 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_2 WHERE opponent = "philadelphia 76ers"
Which season has q145 as its format?
CREATE TABLE table_name_63 (season__number INTEGER, format__number VARCHAR)
SELECT MIN(season__number) FROM table_name_63 WHERE format__number = "q145"
Who has a constituency of 84?
CREATE TABLE table_name_62 (name VARCHAR, constituency_number VARCHAR)
SELECT name FROM table_name_62 WHERE constituency_number = "84"
The game with 13 as the tie no had what as the score?
CREATE TABLE table_name_69 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_69 WHERE tie_no = "13"
What is the cardinal direction of Wednesday p.m. in English?
CREATE TABLE table_name_90 (cardinal_direction VARCHAR, english VARCHAR)
SELECT cardinal_direction FROM table_name_90 WHERE english = "wednesday p.m."