answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT visiting_team FROM table_name_22 WHERE stadium = "cleveland browns stadium"
What team visited the Cleveland Browns Stadium?
CREATE TABLE table_name_22 (visiting_team VARCHAR, stadium VARCHAR)
SELECT MAX(san_javier_municipality___percentage_) FROM table_19998428_3 WHERE language = "Aymara simi"
For language Aymara Simi, what was the maximum San Javier municipality percentage?
CREATE TABLE table_19998428_3 (san_javier_municipality___percentage_ INTEGER, language VARCHAR)
SELECT works_no FROM table_name_69 WHERE class = "15th" AND year = "1940"
Which works number has a class of 15th and year of 1940?
CREATE TABLE table_name_69 (works_no VARCHAR, class VARCHAR, year VARCHAR)
SELECT COUNT(solo) FROM table_18064020_21 WHERE name = "Jake Flaherty"
How many players named jake flaherty?
CREATE TABLE table_18064020_21 (solo VARCHAR, name VARCHAR)
SELECT MIN(draws) FROM table_name_60 WHERE result = "runner-up" AND losses > 1
What is the smallest Draws with a Result of runner-up, and Losses larger than 1?
CREATE TABLE table_name_60 (draws INTEGER, result VARCHAR, losses VARCHAR)
SELECT nationality FROM table_name_65 WHERE school_club_team = "barton cc (ks)"
What is the nationality of school/club team of barton cc (ks)?
CREATE TABLE table_name_65 (nationality VARCHAR, school_club_team VARCHAR)
SELECT to_par FROM table_name_9 WHERE place = "4"
What is the To par of the 4 Place Player?
CREATE TABLE table_name_9 (to_par VARCHAR, place VARCHAR)
SELECT COUNT(weeks_on_peak) FROM table_1160304_2 WHERE chart = "Ireland Albums Top 75"
What was the total number of weeks on peak for the Ireland Albums Top 75 chart?
CREATE TABLE table_1160304_2 (weeks_on_peak VARCHAR, chart VARCHAR)
SELECT 2004 FROM table_name_34 WHERE 2003 = "1r" AND tournament = "wimbledon"
Which in 2004 has a 2003 of 1r and Wimbledon Tournament
CREATE TABLE table_name_34 (tournament VARCHAR)
SELECT high_assists FROM table_17060277_5 WHERE game = 12
Who all had the most assists in game 12?
CREATE TABLE table_17060277_5 (high_assists VARCHAR, game VARCHAR)
SELECT COUNT(points) FROM table_name_85 WHERE goals_conceded = 27 AND lost = 5 AND place > 2
How many points were in a game that had a lost of 5, greater than place 2, and 27 goals conceded?
CREATE TABLE table_name_85 (points VARCHAR, place VARCHAR, goals_conceded VARCHAR, lost VARCHAR)
SELECT COUNT(decile) FROM table_name_68 WHERE years = "9–13"
How many deciles have Years of 9–13?
CREATE TABLE table_name_68 (decile VARCHAR, years VARCHAR)
SELECT date FROM table_name_85 WHERE result = "w 28–7"
On what date was the result w 28–7?
CREATE TABLE table_name_85 (date VARCHAR, result VARCHAR)
SELECT years_of_operation FROM table_13150274_1 WHERE area_of_operation = "Field 103"
When was the operation in Field 103 executed?
CREATE TABLE table_13150274_1 (years_of_operation VARCHAR, area_of_operation VARCHAR)
SELECT location FROM table_name_35 WHERE points = 80
Where was the game where the senators scored 80 points?
CREATE TABLE table_name_35 (location VARCHAR, points VARCHAR)
SELECT main_campus_location FROM table_name_61 WHERE founded = 1967
What college was founded in 1967?
CREATE TABLE table_name_61 (main_campus_location VARCHAR, founded VARCHAR)
SELECT runner_s__up FROM table_11570261_2 WHERE margin_of_victory = "11 strokes"
Who were the runner(s)-up when Tiger won by 11 strokes?
CREATE TABLE table_11570261_2 (runner_s__up VARCHAR, margin_of_victory VARCHAR)
SELECT nationality FROM table_2886617_4 WHERE nhl_team = "Vancouver Canucks"
What country does the player who joined the Vancouver Canucks originally hail from?
CREATE TABLE table_2886617_4 (nationality VARCHAR, nhl_team VARCHAR)
SELECT Box AS score FROM table_name_39 WHERE home_team = "adelaide 36ers"
What was the box score during a home game of the Adelaide 36ers?
CREATE TABLE table_name_39 (Box VARCHAR, home_team VARCHAR)
SELECT record FROM table_23346983_1 WHERE game = 3
What was the Orangemen record during game 3?
CREATE TABLE table_23346983_1 (record VARCHAR, game VARCHAR)
SELECT stadium FROM table_name_70 WHERE team = "nk zagreb"
What is the stadium of the NK Zagreb?
CREATE TABLE table_name_70 (stadium VARCHAR, team VARCHAR)
SELECT COUNT(district) FROM table_1342270_42 WHERE incumbent = "Estes Kefauver"
In how many districts was the incumbent Estes Kefauver?
CREATE TABLE table_1342270_42 (district VARCHAR, incumbent VARCHAR)
SELECT MIN(rnd) FROM table_1140080_2 WHERE race = "Italian Grand Prix"
what's the minimum rnd with race  italian grand prix
CREATE TABLE table_1140080_2 (rnd INTEGER, race VARCHAR)
SELECT 2011 FROM table_name_73 WHERE position = "male sports rep"
Who held the Male Sports Rep position in 2011?
CREATE TABLE table_name_73 (position VARCHAR)
SELECT winner FROM table_name_89 WHERE points_classification = "adriano baffi" AND intergiro_classification = "ján svorada" AND stage = "13"
Name the winner for adriano baffi and integiro classification of ján svorada for stage of 13
CREATE TABLE table_name_89 (winner VARCHAR, stage VARCHAR, points_classification VARCHAR, intergiro_classification VARCHAR)
SELECT SUM(matches) FROM table_name_87 WHERE balls < 224 AND average > 38.25 AND s_rate > 139.09
How many Matches have Balls smaller than 224, and an Average larger than 38.25, and an S/Rate larger than 139.09?
CREATE TABLE table_name_87 (matches INTEGER, s_rate VARCHAR, balls VARCHAR, average VARCHAR)
SELECT record FROM table_name_92 WHERE date = "january 19"
What is the record for the game on January 19?
CREATE TABLE table_name_92 (record VARCHAR, date VARCHAR)
SELECT team FROM table_name_58 WHERE high_points = "rashard lewis (18)"
What is Team, when High Points is "Rashard Lewis (18)"?
CREATE TABLE table_name_58 (team VARCHAR, high_points VARCHAR)
SELECT opponent FROM table_14563349_11 WHERE location = "Riverfront Stadium"
Who was the opposing team played at Riverfront Stadium?
CREATE TABLE table_14563349_11 (opponent VARCHAR, location VARCHAR)
SELECT home_team AS score FROM table_name_55 WHERE venue = "princes park"
Who was home at Princes Park?
CREATE TABLE table_name_55 (home_team VARCHAR, venue VARCHAR)
SELECT COUNT(DISTINCT POSITION) FROM player
how many different positions are there?
CREATE TABLE player (POSITION VARCHAR)
SELECT SUM(game) FROM table_name_32 WHERE november = 22
Which Game has a November of 22?
CREATE TABLE table_name_32 (game INTEGER, november VARCHAR)
SELECT DISTINCT product_color FROM Products
Show all product colors.
CREATE TABLE Products (product_color VARCHAR)
SELECT document_type_description FROM Ref_document_types WHERE document_type_name = "Film"
What is the document type description for document type named Film?
CREATE TABLE Ref_document_types (document_type_description VARCHAR, document_type_name VARCHAR)
SELECT date FROM table_11381701_3 WHERE bada = "0.05%"
On which dates was the value of Bada 0.05%?
CREATE TABLE table_11381701_3 (date VARCHAR, bada VARCHAR)
SELECT COUNT(title) FROM table_26493520_1 WHERE written_by = "Alexander Woo" AND directed_by = "Scott Winant"
How many episodes were written by Alexander Woo and directed by Scott Winant?
CREATE TABLE table_26493520_1 (title VARCHAR, written_by VARCHAR, directed_by VARCHAR)
SELECT opponent FROM table_name_51 WHERE record = "45–21–4"
Which Opponent has a Record of 45–21–4?
CREATE TABLE table_name_51 (opponent VARCHAR, record VARCHAR)
SELECT COUNT(golden_tickets) FROM table_22897967_1 WHERE callback_venue = "Rosen Shingle Creek Resort"
Name the total number of golden tickets being rosen shingle creek resort
CREATE TABLE table_22897967_1 (golden_tickets VARCHAR, callback_venue VARCHAR)
SELECT director FROM table_name_12 WHERE title = "clean pastures"
Who was the director of Clean Pastures?
CREATE TABLE table_name_12 (director VARCHAR, title VARCHAR)
SELECT drawn FROM table_name_78 WHERE played = "20" AND club = "rhigos rfc"
Which Drawn has a Played of 20, and a Club of rhigos rfc?
CREATE TABLE table_name_78 (drawn VARCHAR, played VARCHAR, club VARCHAR)
SELECT stuffit FROM table_name_75 WHERE gzip = "yes" AND iso_cd_image = "no" AND lha_lzh = "no"
What is the Stuffit ability that has a gzip of yes, ISO/CD images of no and LHA/LZH of no?
CREATE TABLE table_name_75 (stuffit VARCHAR, lha_lzh VARCHAR, gzip VARCHAR, iso_cd_image VARCHAR)
SELECT allergy, allergytype FROM Allergy_type
Show all allergies and their types.
CREATE TABLE Allergy_type (allergy VARCHAR, allergytype VARCHAR)
SELECT school_club_team FROM table_name_92 WHERE round = 3
What is the schoo/club team of the player in round 3?
CREATE TABLE table_name_92 (school_club_team VARCHAR, round VARCHAR)
SELECT attendance FROM table_name_95 WHERE runner_up = "livingston"
How many people were watching when Livingston was the runner-up?
CREATE TABLE table_name_95 (attendance VARCHAR, runner_up VARCHAR)
SELECT years FROM table_name_85 WHERE roll = 33
What years does the school have with a roll of 33?
CREATE TABLE table_name_85 (years VARCHAR, roll VARCHAR)
SELECT speed FROM table_name_36 WHERE rank > 2 AND team = "500cc norton manx"
What is the speed when the rank is larger than 2, and team is 500cc norton manx?
CREATE TABLE table_name_36 (speed VARCHAR, rank VARCHAR, team VARCHAR)
SELECT power__kw_ FROM table_19215259_1 WHERE location = "Cebu"
What is the power at the cebu station?
CREATE TABLE table_19215259_1 (power__kw_ VARCHAR, location VARCHAR)
SELECT player FROM table_name_32 WHERE rank < 2
Who's ranked less than 2?
CREATE TABLE table_name_32 (player VARCHAR, rank INTEGER)
SELECT position FROM table_name_68 WHERE competition = "olympic games" AND year = 2008
What was the position of the Olympic Games in the year 2008?
CREATE TABLE table_name_68 (position VARCHAR, competition VARCHAR, year VARCHAR)
SELECT 2004 FROM table_name_74 WHERE 2005 = "2r" AND 2006 = "1r"
What is 2004, when 2005 is "2R", and when 2006 is "1R"
CREATE TABLE table_name_74 (Id VARCHAR)
SELECT partner FROM table_name_94 WHERE opponents_in_the_final = "serena williams venus williams"
Who was the partner that played against Serena Williams Venus Williams?
CREATE TABLE table_name_94 (partner VARCHAR, opponents_in_the_final VARCHAR)
SELECT COUNT(location_attendance) FROM table_27733909_10 WHERE date = "April 8"
How many locations did the game that was on April 8 take place at?
CREATE TABLE table_27733909_10 (location_attendance VARCHAR, date VARCHAR)
SELECT group FROM table_14981555_1 WHERE race = "3yo Hcp Restricted Maiden"
What is the group name when 3yo hcp restricted maiden was raced?
CREATE TABLE table_14981555_1 (group VARCHAR, race VARCHAR)
SELECT i_o_bus FROM table_name_65 WHERE release_price___usd__ = "$657"
What is the I/O bus entry for the processor with a release price of $657?
CREATE TABLE table_name_65 (i_o_bus VARCHAR, release_price___usd__ VARCHAR)
SELECT date FROM table_name_31 WHERE opponent = "norway" AND results¹ = "1:1"
What was the date of the game against Norway with a 1:1 result?
CREATE TABLE table_name_31 (date VARCHAR, opponent VARCHAR, results¹ VARCHAR)
SELECT country FROM table_name_43 WHERE money___$__ = 600
Which Country that has 600?
CREATE TABLE table_name_43 (country VARCHAR, money___$__ VARCHAR)
SELECT result FROM table_2668352_14 WHERE district = "Pennsylvania 8"
Name the result for pennsylvania 8
CREATE TABLE table_2668352_14 (result VARCHAR, district VARCHAR)
SELECT race_title FROM table_name_26 WHERE year = 1948
Which race happened in 1948?
CREATE TABLE table_name_26 (race_title VARCHAR, year VARCHAR)
SELECT score FROM table_15872814_3 WHERE team = "Washington"
Name the score for washington
CREATE TABLE table_15872814_3 (score VARCHAR, team VARCHAR)
SELECT driver FROM table_name_64 WHERE laps < 65 AND team = "sigma autosport"
Which driver had less than 65 laps for Sigma Autosport?
CREATE TABLE table_name_64 (driver VARCHAR, laps VARCHAR, team VARCHAR)
SELECT MAX(average) FROM table_29633639_1 WHERE chinese_title = "魚躍在花見"
what is the number of the average of the drama titled 魚躍在花見
CREATE TABLE table_29633639_1 (average INTEGER, chinese_title VARCHAR)
SELECT score FROM table_name_49 WHERE venue = "olympic stadium tokyo, japan"
What's the score at Olympic Stadium Tokyo, Japan?
CREATE TABLE table_name_49 (score VARCHAR, venue VARCHAR)
SELECT attribute FROM table_name_62 WHERE type = "datasetcomplete"
Let's say Type is of datasetcomplete, what is the Attribute?
CREATE TABLE table_name_62 (attribute VARCHAR, type VARCHAR)
SELECT location FROM table_22669375_1 WHERE race_name = "Trenton 300"
Name the location for trenton 300
CREATE TABLE table_22669375_1 (location VARCHAR, race_name VARCHAR)
SELECT time FROM table_18438494_3 WHERE wrestler = "Cena"
What was the time for the match with Cena?
CREATE TABLE table_18438494_3 (time VARCHAR, wrestler VARCHAR)
SELECT SUM(introduced) FROM table_name_94 WHERE manufacturer = "fokker" AND quantity = 5 AND retired > 1999
How many in the introduced section had Fokker as a manufacturer, a quantity of 5, and retired later than 1999?
CREATE TABLE table_name_94 (introduced INTEGER, retired VARCHAR, manufacturer VARCHAR, quantity VARCHAR)
SELECT foreign_players__max_2_ FROM table_14015965_1 WHERE town = "Ekaterinburg"
Who are the foreign players representing Ekaterinburg?
CREATE TABLE table_14015965_1 (foreign_players__max_2_ VARCHAR, town VARCHAR)
SELECT surface FROM table_name_5 WHERE outcome = "runner-up" AND year = 2007
What was the surface played on when they were a runner-up in 2007?
CREATE TABLE table_name_5 (surface VARCHAR, outcome VARCHAR, year VARCHAR)
SELECT cfl_team FROM table_20170644_1 WHERE player = "Simeon Rottier"
What CFL team did simeon rottier play for?
CREATE TABLE table_20170644_1 (cfl_team VARCHAR, player VARCHAR)
SELECT COUNT(nickname) FROM table_16383772_1 WHERE school = "St. Bonaventure University"
Name the total number of nicknames for st. bonaventure university
CREATE TABLE table_16383772_1 (nickname VARCHAR, school VARCHAR)
SELECT player_name FROM table_name_64 WHERE position = "linebacker" AND college = "tennessee"
Who was a linebacker at Tennessee?
CREATE TABLE table_name_64 (player_name VARCHAR, position VARCHAR, college VARCHAR)
SELECT AVG(total_points) FROM table_name_29 WHERE rider = "dennis gavros" AND bonus_pts < 31
What was the average number of points with bonus pts less than 31 with the rider dennis gavros?
CREATE TABLE table_name_29 (total_points INTEGER, rider VARCHAR, bonus_pts VARCHAR)
SELECT original_title FROM table_18162883_1 WHERE film_title_used_in_nomination = "Run for Money"
What was the original title of Run for Money?
CREATE TABLE table_18162883_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT MAX(lost) FROM table_name_43 WHERE played < 1
What is the highest number of losses when there are under 1 games played?
CREATE TABLE table_name_43 (lost INTEGER, played INTEGER)
SELECT pc_intro FROM table_2490289_1 WHERE amiga_intro = "4k0 (Polka Brothers)"
What won est pc intro when 4k0 (polka brothers) won best amiga intro?
CREATE TABLE table_2490289_1 (pc_intro VARCHAR, amiga_intro VARCHAR)
SELECT result FROM table_name_53 WHERE week = 15
What's the Result for week 15?
CREATE TABLE table_name_53 (result VARCHAR, week VARCHAR)
SELECT royal_house FROM table_name_94 WHERE name = "shaokang"
What royal house did Shaokang belong to?
CREATE TABLE table_name_94 (royal_house VARCHAR, name VARCHAR)
SELECT AVG(goals) FROM table_name_45 WHERE club = "iserlohn roosters" AND games < 56
What is the average Goals, when Club is Iserlohn Roosters, and when Games is less than 56?
CREATE TABLE table_name_45 (goals INTEGER, club VARCHAR, games VARCHAR)
SELECT MAX(game) FROM table_16710829_2 WHERE attendance = 54774
Name the max game for attendance being 54774
CREATE TABLE table_16710829_2 (game INTEGER, attendance VARCHAR)
SELECT CLASS FROM race GROUP BY CLASS HAVING COUNT(*) >= 2
List the race class with at least two races.
CREATE TABLE race (CLASS VARCHAR)
SELECT nationality FROM table_name_19 WHERE position = "forward" AND school_club_team = "depaul"
What is the nationality of the player that plays forward and is from depaul?
CREATE TABLE table_name_19 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT MIN(grid) FROM table_name_65 WHERE time = "+13.999"
Which Grid has a Time of +13.999?
CREATE TABLE table_name_65 (grid INTEGER, time VARCHAR)
SELECT home_team FROM table_name_26 WHERE tie_no = "11"
Who was the home team for tie number 11?
CREATE TABLE table_name_26 (home_team VARCHAR, tie_no VARCHAR)
SELECT bowl_game FROM table_name_47 WHERE season > 2008 AND location = "new orleans, louisiana"
Which bowl game has a season greater than 2008, with new orleans, Louisiana as the location?
CREATE TABLE table_name_47 (bowl_game VARCHAR, season VARCHAR, location VARCHAR)
SELECT MAX(pick) FROM table_name_25 WHERE hometown_school = "stamford, ct"
What is the Pick of the Player from Stamford, CT?
CREATE TABLE table_name_25 (pick INTEGER, hometown_school VARCHAR)
SELECT COUNT(season) FROM table_27631002_1 WHERE position = "2nd"
How many season are shown for the 2nd position?
CREATE TABLE table_27631002_1 (season VARCHAR, position VARCHAR)
SELECT MAX(ties) FROM table_name_57 WHERE team = "montreal victorias" AND goals_against < 24
How many ties did the Montreal Victorias have with a GA of less than 24?
CREATE TABLE table_name_57 (ties INTEGER, team VARCHAR, goals_against VARCHAR)
SELECT nationality FROM table_name_95 WHERE school_club_team = "duke"
What is the nationality of Duke?
CREATE TABLE table_name_95 (nationality VARCHAR, school_club_team VARCHAR)
SELECT goals_against FROM table_name_75 WHERE minutes = 2520
What is the goals against for the goalkeeper with 2520 minutes?
CREATE TABLE table_name_75 (goals_against VARCHAR, minutes VARCHAR)
SELECT MIN(total) FROM table_name_84 WHERE nation = "austria" AND gold > 3
What was Austria's lowest total when the gold was more than 3?
CREATE TABLE table_name_84 (total INTEGER, nation VARCHAR, gold VARCHAR)
SELECT MIN(area__acres__) FROM table_30120556_1 WHERE townland = "Derrynanool"
What is the fewest area in Derrynanool townland?
CREATE TABLE table_30120556_1 (area__acres__ INTEGER, townland VARCHAR)
SELECT circuit FROM table_name_5 WHERE race = "german grand prix"
What circuit was for the german grand prix?
CREATE TABLE table_name_5 (circuit VARCHAR, race VARCHAR)
SELECT winning__percentage FROM table_name_98 WHERE years = "2006-11"
what is the winning % for the years 2006-11?
CREATE TABLE table_name_98 (winning__percentage VARCHAR, years VARCHAR)
SELECT engine FROM table_name_65 WHERE team = "team lemans" AND driver = "hiroaki ishiura"
Which engine is used by Team Lemans with Hiroaki Ishiura driving?
CREATE TABLE table_name_65 (engine VARCHAR, team VARCHAR, driver VARCHAR)
SELECT competition FROM table_name_14 WHERE date = "16 january 1996"
what is the competition when the date is 16 january 1996?
CREATE TABLE table_name_14 (competition VARCHAR, date VARCHAR)
SELECT gender FROM table_name_90 WHERE decile = 8 AND area = "taradale" AND years = "1–13"
Which gender has a Decile of 8, an Area of taradale, and Years of 1–13?
CREATE TABLE table_name_90 (gender VARCHAR, years VARCHAR, decile VARCHAR, area VARCHAR)
SELECT meet FROM table_name_95 WHERE time = "3:50.65"
Which Meet has a Time of 3:50.65?
CREATE TABLE table_name_95 (meet VARCHAR, time VARCHAR)
SELECT away_team FROM table_name_52 WHERE match_no = "9"
What is the away team of match 9?
CREATE TABLE table_name_52 (away_team VARCHAR, match_no VARCHAR)
SELECT assists_per_game FROM table_2761641_1 WHERE points_per_game = "6.8"
How many assists per game did he have when he had 6.8 points per game?
CREATE TABLE table_2761641_1 (assists_per_game VARCHAR, points_per_game VARCHAR)
SELECT place FROM table_name_13 WHERE date = "4 august 2012"
What is the Place that has a Date of 4 august 2012?
CREATE TABLE table_name_13 (place VARCHAR, date VARCHAR)