question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Who is Dean Whitehead's manager?
CREATE TABLE table_name_92 (manager VARCHAR, captain VARCHAR)
SELECT manager FROM table_name_92 WHERE captain = "dean whitehead"
What is the date of the finale where Holly Bell was runner-up?
CREATE TABLE table_28962227_1 (finale VARCHAR, runners_up VARCHAR)
SELECT finale FROM table_28962227_1 WHERE runners_up = "Holly Bell"
What is the date of the Outback Steakhouse Pro-Am Tournament?
CREATE TABLE table_name_94 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_94 WHERE tournament = "outback steakhouse pro-am"
what row is the population of Latin America/Caribbean when Asia is 4,894 (46.1%)?
CREATE TABLE table_19017269_5 (latin_america_caribbean VARCHAR, asia VARCHAR)
SELECT COUNT(latin_america_caribbean) FROM table_19017269_5 WHERE asia = "4,894 (46.1%)"
which regimen was in the arkansas county
CREATE TABLE table_29458735_5 (regiment VARCHAR, county VARCHAR)
SELECT regiment FROM table_29458735_5 WHERE county = "Arkansas"
What was the date of the game in week 14?
CREATE TABLE table_13023925_2 (date VARCHAR, week VARCHAR)
SELECT date FROM table_13023925_2 WHERE week = 14
What is the original air date for episode 17 in the season?
CREATE TABLE table_15431251_1 (original_air_date VARCHAR, no_in_season VARCHAR)
SELECT original_air_date FROM table_15431251_1 WHERE no_in_season = 17
What was the score on October 31?
CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_93 WHERE date = "october 31"
What is the highest rank that has 5 silvers, less than 5 golds, and less than 7 total medals?
CREATE TABLE table_name_83 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT MAX(rank) FROM table_name_83 WHERE silver = 5 AND gold < 5 AND total < 7
What is the sum of losses for teams with under 10 matches?
CREATE TABLE table_name_5 (lost INTEGER, match INTEGER)
SELECT SUM(lost) FROM table_name_5 WHERE match < 10
What is the kickoff time for the game in week of 17?
CREATE TABLE table_name_92 (kickoff_time VARCHAR, week VARCHAR)
SELECT kickoff_time FROM table_name_92 WHERE week = 17
What is the rank of the gatchaman Jinpei?
CREATE TABLE table_name_38 (rank VARCHAR, gatchaman VARCHAR)
SELECT rank FROM table_name_38 WHERE gatchaman = "jinpei"
Who lost the game with a record of 20-13?
CREATE TABLE table_name_41 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_41 WHERE record = "20-13"
Which entrant scored less than 8 points and used a Maserati chassis?
CREATE TABLE table_name_91 (entrant VARCHAR, points VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_91 WHERE points < 8 AND chassis = "maserati"
What is the time/retired with 22 laps and a grid of 29?
CREATE TABLE table_name_80 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_80 WHERE laps = 22 AND grid = 29
What is the field of the game on July 22?
CREATE TABLE table_name_7 (field VARCHAR, date VARCHAR)
SELECT field FROM table_name_7 WHERE date = "july 22"
Name the high assists for 1-2 series
CREATE TABLE table_23284271_11 (high_assists VARCHAR, series VARCHAR)
SELECT high_assists FROM table_23284271_11 WHERE series = "1-2"
What was the result for the 1966 fifa world cup qualification in mexico city, mexico and a goal over 8?
CREATE TABLE table_name_41 (result VARCHAR, goal VARCHAR, venue VARCHAR, competition VARCHAR)
SELECT result FROM table_name_41 WHERE venue = "mexico city, mexico" AND competition = "1966 fifa world cup qualification" AND goal > 8
What was the tournament where Japan was the home team and Mexico was the away team?
CREATE TABLE table_name_21 (tournament VARCHAR, away_team VARCHAR, home_team VARCHAR)
SELECT tournament FROM table_name_21 WHERE away_team = "mexico" AND home_team = "japan"
Who had high rebounds when the date was march 25?
CREATE TABLE table_27756314_10 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_27756314_10 WHERE date = "March 25"
Which Bask has an Indoor track of 0, and a Swimming of 5?
CREATE TABLE table_name_73 (bask INTEGER, indoor_track VARCHAR, swimming VARCHAR)
SELECT MIN(bask) FROM table_name_73 WHERE indoor_track = "0" AND swimming = "5"
What is the lowest ranking team in Australia?
CREATE TABLE table_name_57 (rank INTEGER, country VARCHAR)
SELECT MIN(rank) FROM table_name_57 WHERE country = "australia"
What was the production code for the episode directed by Michael Morris?
CREATE TABLE table_23793770_1 (production_code INTEGER, directed_by VARCHAR)
SELECT MIN(production_code) FROM table_23793770_1 WHERE directed_by = "Michael Morris"
What is the date for a week before 9, and a opponent of dallas cowboys?
CREATE TABLE table_name_18 (date VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_18 WHERE week < 9 AND opponent = "dallas cowboys"
What country was the game in when the player was Craig Stadler?
CREATE TABLE table_name_20 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_20 WHERE player = "craig stadler"
What are the names of shops in ascending order of open year?
CREATE TABLE shop (Shop_Name VARCHAR, Open_Year VARCHAR)
SELECT Shop_Name FROM shop ORDER BY Open_Year
What is the sum of the years with bus conner as the BSU head coach?
CREATE TABLE table_name_24 (year INTEGER, bsu_head_coach VARCHAR)
SELECT SUM(year) FROM table_name_24 WHERE bsu_head_coach = "bus conner"
What label has brol 34531 as it's catalogue?
CREATE TABLE table_name_31 (label VARCHAR, catalogue VARCHAR)
SELECT label FROM table_name_31 WHERE catalogue = "brol 34531"
Find the least value of attendance?
CREATE TABLE table_14656147_2 (attendance INTEGER)
SELECT MIN(attendance) FROM table_14656147_2
When abba is the artist what is the album?
CREATE TABLE table_18442691_2 (album VARCHAR, artist VARCHAR)
SELECT album FROM table_18442691_2 WHERE artist = "ABBA"
Who were the Runner(s)-up with the winning score of −16 (66-68-70-68=272)?
CREATE TABLE table_name_74 (runner_s__up VARCHAR, winning_score VARCHAR)
SELECT runner_s__up FROM table_name_74 WHERE winning_score = −16(66 - 68 - 70 - 68 = 272)
How long is track number 8?
CREATE TABLE table_11839306_2 (track VARCHAR)
SELECT track AS time FROM table_11839306_2 WHERE track = 8
What is the enrollment at the school of Hamilton community?
CREATE TABLE table_name_3 (enrollment INTEGER, school VARCHAR)
SELECT AVG(enrollment) FROM table_name_3 WHERE school = "hamilton community"
Name the high assists for december 9
CREATE TABLE table_22669044_7 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_22669044_7 WHERE date = "December 9"
Which year opened is located in west mifflin, pennsylvania?
CREATE TABLE table_name_50 (year_opened VARCHAR, location VARCHAR)
SELECT year_opened FROM table_name_50 WHERE location = "west mifflin, pennsylvania"
What are the number of Ties for games with Goals Against smaller than 33?
CREATE TABLE table_name_23 (ties VARCHAR, goals_against INTEGER)
SELECT ties FROM table_name_23 WHERE goals_against < 33
Name the team nickname for enrollment more than 42,326
CREATE TABLE table_name_21 (team_nickname VARCHAR, enrollment INTEGER)
SELECT team_nickname FROM table_name_21 WHERE enrollment > 42 OFFSET 326
What's the fencing score of the player with 9:40.31 (1080 pts) in running?
CREATE TABLE table_12407546_1 (fencing VARCHAR, running VARCHAR)
SELECT fencing FROM table_12407546_1 WHERE running = "9:40.31 (1080 pts)"
What is the operator for peak 90, in startup year 2010 for the project named Aosp expansion 1 (jackpine ph 1a)?
CREATE TABLE table_name_89 (operator VARCHAR, project_name VARCHAR, peak VARCHAR, year_startup VARCHAR)
SELECT operator FROM table_name_89 WHERE peak = "90" AND year_startup = "2010" AND project_name = "aosp expansion 1 (jackpine ph 1a)"
What is the home of fc st. gallen (asl) geust?
CREATE TABLE table_name_52 (home VARCHAR, geust VARCHAR)
SELECT home FROM table_name_52 WHERE geust = "fc st. gallen (asl)"
How many dollars is the purse when the margin of victory is 8 strokes?
CREATE TABLE table_1529260_2 (purse___us VARCHAR, margin_of_victory VARCHAR)
SELECT COUNT(purse___us) AS $__ FROM table_1529260_2 WHERE margin_of_victory = "8 strokes"
What year was the timber trade?
CREATE TABLE table_name_61 (year INTEGER, theme VARCHAR)
SELECT SUM(year) FROM table_name_61 WHERE theme = "timber trade"
What is the build date of the model with PRR Class brs24?
CREATE TABLE table_name_56 (build_date VARCHAR, prr_class VARCHAR)
SELECT build_date FROM table_name_56 WHERE prr_class = "brs24"
What is the highest rank of Great Britain who has less than 16 bronze?
CREATE TABLE table_name_11 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT MAX(rank) FROM table_name_11 WHERE nation = "great britain" AND bronze < 16
What was the total number of Top Division Titles where the year founded was prior to 1975 and the location was in Chaguaramas?
CREATE TABLE table_name_90 (top_division_titles INTEGER, founded VARCHAR, location VARCHAR)
SELECT SUM(top_division_titles) FROM table_name_90 WHERE founded < 1975 AND location = "chaguaramas"
Which host team won on a final scoreline of 13-10?
CREATE TABLE table_name_55 (host_team VARCHAR, final_score VARCHAR)
SELECT host_team FROM table_name_55 WHERE final_score = "13-10"
What's the ratings of TBS of Episode 10 and had a Japanese title of Scandal?
CREATE TABLE table_name_76 (average_ratings VARCHAR, japanese_title VARCHAR, tv_station VARCHAR, episodes VARCHAR)
SELECT average_ratings FROM table_name_76 WHERE tv_station = "tbs" AND episodes = "10" AND japanese_title = "scandal"
Which Mascot has an Enrollment of 640?
CREATE TABLE table_name_63 (mascot VARCHAR, enrollment VARCHAR)
SELECT mascot FROM table_name_63 WHERE enrollment = 640
WHich Regular Season Champions has a Year of 1943–44?
CREATE TABLE table_name_70 (regular_season_champion_s_ VARCHAR, year VARCHAR)
SELECT regular_season_champion_s_ FROM table_name_70 WHERE year = "1943–44"
find the total percentage share of all channels owned by CCTV.
CREATE TABLE channel (Share_in_percent INTEGER, OWNER VARCHAR)
SELECT SUM(Share_in_percent) FROM channel WHERE OWNER = 'CCTV'
What is the average lane with Netherlands Antilles Nationality?
CREATE TABLE table_name_37 (lane INTEGER, nationality VARCHAR)
SELECT AVG(lane) FROM table_name_37 WHERE nationality = "netherlands antilles"
What age group has a time of 6:37.73 at the 200m breaststroke?
CREATE TABLE table_name_75 (age_group VARCHAR, event VARCHAR, time VARCHAR)
SELECT age_group FROM table_name_75 WHERE event = "200m breaststroke" AND time = "6:37.73"
Which Thickness has a Diameter of 21.9mm?
CREATE TABLE table_name_56 (thickness VARCHAR, diameter VARCHAR)
SELECT thickness FROM table_name_56 WHERE diameter = "21.9mm"
What country is new orleans in?
CREATE TABLE table_28005160_2 (country VARCHAR, city VARCHAR)
SELECT country FROM table_28005160_2 WHERE city = "New Orleans"
When the final position/round is group stage, when is the last match?
CREATE TABLE table_name_60 (last_match VARCHAR, final_position___round VARCHAR)
SELECT last_match FROM table_name_60 WHERE final_position___round = "group stage"
What is the lowest pick of player paul stasiuk from a round greater than 12?
CREATE TABLE table_name_45 (pick INTEGER, player VARCHAR, round VARCHAR)
SELECT MIN(pick) FROM table_name_45 WHERE player = "paul stasiuk" AND round > 12
What sport did the National Team play in the 1968 mexico City Games?
CREATE TABLE table_name_58 (sport VARCHAR, name VARCHAR, games VARCHAR)
SELECT sport FROM table_name_58 WHERE name = "national team" AND games = "1968 mexico city"
Who was the EP winning team when the FM winning team was Brabham - Ford and the HM winning team was Osca?
CREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, fm_winning_team VARCHAR, hm_winning_team VARCHAR)
SELECT ep_winning_team FROM table_29225103_2 WHERE fm_winning_team = "Brabham - Ford" AND hm_winning_team = "Osca"
How many rounds does Colby Robak have with a position of (d)?
CREATE TABLE table_name_20 (round VARCHAR, position VARCHAR, player VARCHAR)
SELECT round FROM table_name_20 WHERE position = "(d)" AND player = "colby robak"
What losses consist of the team of japan?
CREATE TABLE table_name_13 (losses VARCHAR, team VARCHAR)
SELECT losses FROM table_name_13 WHERE team = "japan"
Which state was Dai from?
CREATE TABLE table_name_9 (state VARCHAR, name VARCHAR)
SELECT state FROM table_name_9 WHERE name = "dai"
what's the season with regionalliga west/südwest being arminia bielefeld
CREATE TABLE table_14242137_11 (season VARCHAR, regionalliga_west_südwest VARCHAR)
SELECT season FROM table_14242137_11 WHERE regionalliga_west_südwest = "Arminia Bielefeld"
How many laps were completed in grid 18?
CREATE TABLE table_name_20 (laps INTEGER, grid VARCHAR)
SELECT SUM(laps) FROM table_name_20 WHERE grid = 18
How many bookings do we have?
CREATE TABLE BOOKINGS (Id VARCHAR)
SELECT COUNT(*) FROM BOOKINGS
Name the travel time for porta nolana - nola - baiano
CREATE TABLE table_2385460_1 (travel_time VARCHAR, route VARCHAR)
SELECT travel_time FROM table_2385460_1 WHERE route = "Porta Nolana - Nola - Baiano"
What is the total amount of points when the played number was less than 12?
CREATE TABLE table_name_93 (points INTEGER, played INTEGER)
SELECT SUM(points) FROM table_name_93 WHERE played < 12
If the opponent is the Stampeders, what is the record?
CREATE TABLE table_23916539_3 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_23916539_3 WHERE opponent = "Stampeders"
What is the Plyff team that plays the Billings Outlaws?
CREATE TABLE table_name_21 (plyff VARCHAR, opponent VARCHAR)
SELECT plyff FROM table_name_21 WHERE opponent = "billings outlaws"
Name the most margin for nco party and p. ramachandran won
CREATE TABLE table_22754310_1 (margin INTEGER, party VARCHAR, winner VARCHAR)
SELECT MAX(margin) FROM table_22754310_1 WHERE party = "NCO" AND winner = "P. Ramachandran"
What was the date of the Capitals game when Columbus was the home team?
CREATE TABLE table_name_28 (date VARCHAR, home VARCHAR)
SELECT date FROM table_name_28 WHERE home = "columbus"
What is the top speed of the model 1.8 20v t?
CREATE TABLE table_name_84 (top_speed__km_h_ INTEGER, model VARCHAR)
SELECT SUM(top_speed__km_h_) FROM table_name_84 WHERE model = "1.8 20v t"
What's the number of verbal nouns with the basic stem (root) -bil-?
CREATE TABLE table_12784134_1 (verbal_noun VARCHAR, basic_stem__root_ VARCHAR)
SELECT COUNT(verbal_noun) FROM table_12784134_1 WHERE basic_stem__root_ = "-bil-"
What is the score when the opposition is mid canterbury?
CREATE TABLE table_26847237_3 (score VARCHAR, opposition VARCHAR)
SELECT score FROM table_26847237_3 WHERE opposition = "Mid Canterbury"
Who is the driver whose Constructor was Era, and whose entrant was T.A.S.O. Mathieson?
CREATE TABLE table_name_94 (driver VARCHAR, constructor VARCHAR, entrant VARCHAR)
SELECT driver FROM table_name_94 WHERE constructor = "era" AND entrant = "t.a.s.o. mathieson"
List the record from the game where Wildcats had 48 points.
CREATE TABLE table_24561550_1 (record VARCHAR, wildcats_points VARCHAR)
SELECT record FROM table_24561550_1 WHERE wildcats_points = 48
Which competition had an opponent of Police at the Selayang Stadium?
CREATE TABLE table_name_31 (competition VARCHAR, opponent VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_31 WHERE opponent = "police" AND venue = "selayang stadium"
What is the highest capacity in Aslantepe in 2002-2005?
CREATE TABLE table_name_97 (capacity INTEGER, location VARCHAR, year VARCHAR)
SELECT MAX(capacity) FROM table_name_97 WHERE location = "aslantepe" AND year = "2002-2005"
What is the lowest game number when the team is Houston?
CREATE TABLE table_17326036_7 (game INTEGER, team VARCHAR)
SELECT MIN(game) FROM table_17326036_7 WHERE team = "Houston"
what is the song that has 17 points?
CREATE TABLE table_name_38 (song VARCHAR, points VARCHAR)
SELECT song FROM table_name_38 WHERE points = 17
Who won the FIS Nordic World Ski Championships in 1972?
CREATE TABLE table_name_4 (winner VARCHAR, fis_nordic_world_ski_championships VARCHAR)
SELECT winner FROM table_name_4 WHERE fis_nordic_world_ski_championships = "1972"
Where is every location with specialization of textile engineering?
CREATE TABLE table_2112260_1 (location VARCHAR, specialization VARCHAR)
SELECT location FROM table_2112260_1 WHERE specialization = "Textile engineering"
What is the date deng (20) had high points?
CREATE TABLE table_11960610_10 (date VARCHAR, high_points VARCHAR)
SELECT date FROM table_11960610_10 WHERE high_points = "Deng (20)"
What was the minimum pick by the Florida Panthers?
CREATE TABLE table_2781227_11 (pick INTEGER, nhl_team VARCHAR)
SELECT MIN(pick) FROM table_2781227_11 WHERE nhl_team = "Florida Panthers"
Which Multi 1 has a Frequency of 2300mhz, and a Release date of q3 2008 and a Model number of turion x2 ultra zm-84?
CREATE TABLE table_name_7 (multi_1 VARCHAR, model_number VARCHAR, frequency VARCHAR, release_date VARCHAR)
SELECT multi_1 FROM table_name_7 WHERE frequency = "2300mhz" AND release_date = "q3 2008" AND model_number = "turion x2 ultra zm-84"
Name the finish for lee janzen
CREATE TABLE table_name_94 (finish VARCHAR, player VARCHAR)
SELECT finish FROM table_name_94 WHERE player = "lee janzen"
What is the highest latitude when there are more than 0.518 square miles of water, a longitude less than -99.830606, and a population of 18?
CREATE TABLE table_name_69 (latitude INTEGER, pop__2010_ VARCHAR, water__sqmi_ VARCHAR, longitude VARCHAR)
SELECT MAX(latitude) FROM table_name_69 WHERE water__sqmi_ > 0.518 AND longitude < -99.830606 AND pop__2010_ = 18
What is the transcription for the English word March?
CREATE TABLE table_name_11 (transcription VARCHAR, english_name VARCHAR)
SELECT transcription FROM table_name_11 WHERE english_name = "march"
What is the Hanja/Kanji of the Province with a Kana of ちゅうせいほくどう?
CREATE TABLE table_name_10 (hanja___kanji VARCHAR, kana VARCHAR)
SELECT hanja___kanji FROM table_name_10 WHERE kana = "ちゅうせいほくどう"
Name the chassis for 1970 and tyres of d
CREATE TABLE table_name_12 (chassis VARCHAR, tyres VARCHAR, year VARCHAR)
SELECT chassis FROM table_name_12 WHERE tyres = "d" AND year = 1970
How many directors directed an episode that reached 2.48 million viewers?
CREATE TABLE table_27047554_1 (directed_by VARCHAR, us_viewers__in_millions_ VARCHAR)
SELECT COUNT(directed_by) FROM table_27047554_1 WHERE us_viewers__in_millions_ = "2.48"
What was the date of the game number 22?
CREATE TABLE table_name_25 (date VARCHAR, game VARCHAR)
SELECT date FROM table_name_25 WHERE game = 22
For the matches with home captain Graham Gooch played on the dates 3,4,5,6,7 June 1993, what was the result?
CREATE TABLE table_name_24 (result VARCHAR, home_captain VARCHAR, date VARCHAR)
SELECT result FROM table_name_24 WHERE home_captain = "graham gooch" AND date = "3,4,5,6,7 june 1993"
How many U.S. viewers watched the episode directed by Frank Waldeck?
CREATE TABLE table_21634403_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
SELECT us_viewers__millions_ FROM table_21634403_2 WHERE directed_by = "Frank Waldeck"
On what date was Mike Jackson a handler at the Indianapolis Boat, Sport & Travel Show?
CREATE TABLE table_name_56 (date VARCHAR, handler VARCHAR, event VARCHAR)
SELECT date FROM table_name_56 WHERE handler = "mike jackson" AND event = "indianapolis boat, sport & travel show"
Which Outcome has a Score of 6–2, 6–2?
CREATE TABLE table_name_20 (outcome VARCHAR, score VARCHAR)
SELECT outcome FROM table_name_20 WHERE score = "6–2, 6–2"
What is the maximum capacity of the Otkrytie Arena stadium?
CREATE TABLE table_10601843_2 (capacity INTEGER, stadium VARCHAR)
SELECT MAX(capacity) FROM table_10601843_2 WHERE stadium = "Otkrytie Arena"
Who directed the episode that had 0.57 million U.S. viewers?
CREATE TABLE table_26914076_4 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT directed_by FROM table_26914076_4 WHERE us_viewers__millions_ = "0.57"
Tell me the pick for canada centre
CREATE TABLE table_name_74 (pick VARCHAR, position VARCHAR, nationality VARCHAR)
SELECT pick FROM table_name_74 WHERE position = "centre" AND nationality = "canada"
Where was the tournament where the score was 1–6, 6–3, 3–6?
CREATE TABLE table_name_66 (tournament VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_66 WHERE score = "1–6, 6–3, 3–6"
Which website was founded before 1897, and is located in Adaminaby?
CREATE TABLE table_name_82 (website VARCHAR, founded VARCHAR, suburb_town VARCHAR)
SELECT website FROM table_name_82 WHERE founded < 1897 AND suburb_town = "adaminaby"