question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the lineup that resulted in 1-0 AET W?
CREATE TABLE table_name_29 (lineup VARCHAR, result VARCHAR)
SELECT lineup FROM table_name_29 WHERE result = "1-0 aet w"
What was the Location/Attendance on Dec 2?
CREATE TABLE table_name_29 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_name_29 WHERE date = "dec 2"
Which location was in China, and played on a hard court?
CREATE TABLE table_name_69 (location VARCHAR, court_surface VARCHAR, country VARCHAR)
SELECT location FROM table_name_69 WHERE court_surface = "hard" AND country = "china"
Name the mosst finals apps
CREATE TABLE table_21220720_1 (finals_apps INTEGER)
SELECT MAX(finals_apps) FROM table_21220720_1
What was Week 11 when Week 10 had Nebraska (7-1)?
CREATE TABLE table_name_99 (week_11_nov_6 VARCHAR, week_10_oct_30 VARCHAR)
SELECT week_11_nov_6 FROM table_name_99 WHERE week_10_oct_30 = "nebraska (7-1)"
What city is the bucharest tower center (btc) located in?
CREATE TABLE table_name_47 (city VARCHAR, building VARCHAR)
SELECT city FROM table_name_47 WHERE building = "bucharest tower center (btc)"
What was the rank for the finish time of 1:42.054?
CREATE TABLE table_name_38 (rank INTEGER, time VARCHAR)
SELECT AVG(rank) FROM table_name_38 WHERE time = "1:42.054"
I want the average lose for lost point more than 16 and goal difference less than 37 and point less than 43
CREATE TABLE table_name_96 (lose INTEGER, point VARCHAR, lost_point VARCHAR, goal_difference VARCHAR)
SELECT AVG(lose) FROM table_name_96 WHERE lost_point > 16 AND goal_difference < 37 AND point < 43
What swimsuit score did the state of Virginia contestant achieve?
CREATE TABLE table_12338595_1 (swimsuit VARCHAR, state VARCHAR)
SELECT COUNT(swimsuit) FROM table_12338595_1 WHERE state = "Virginia"
How many titles were directed in series 79?
CREATE TABLE table_11411026_2 (directed_by VARCHAR, no_in_series VARCHAR)
SELECT COUNT(directed_by) FROM table_11411026_2 WHERE no_in_series = 79
What is the sum of total pounds of purchase in year 2018 for all branches in London?
CREATE TABLE purchase (branch_id VARCHAR, year VARCHAR); CREATE TABLE branch (branch_id VARCHAR, city VARCHAR)
SELECT SUM(total_pounds) FROM purchase AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id WHERE T2.city = 'London' AND T1.year = 2018
What is the ERP W for the frequency of 91.3MHz?
CREATE TABLE table_name_18 (erp_w VARCHAR, frequency_mhz VARCHAR)
SELECT erp_w FROM table_name_18 WHERE frequency_mhz = 91.3
What is the SFC when the specific impulse is 453?
CREATE TABLE table_15944_5 (sfc_in_g__kn·s_ VARCHAR, specific_impulse__s_ VARCHAR)
SELECT sfc_in_g__kn·s_ FROM table_15944_5 WHERE specific_impulse__s_ = 453
Which Total has Gold of 2?
CREATE TABLE table_name_60 (total INTEGER, gold VARCHAR)
SELECT MAX(total) FROM table_name_60 WHERE gold = 2
What was the Record on Game 50?
CREATE TABLE table_name_68 (record VARCHAR, game VARCHAR)
SELECT record FROM table_name_68 WHERE game = 50
What is the distance when brisbane is $5.20?
CREATE TABLE table_2923917_4 (distance VARCHAR, brisbane VARCHAR)
SELECT distance FROM table_2923917_4 WHERE brisbane = "$5.20"
Who are all providers with destination of Liverpool?
CREATE TABLE table_3005999_1 (provider VARCHAR, destination VARCHAR)
SELECT provider FROM table_3005999_1 WHERE destination = "Liverpool"
Which clubs have players with height 2.14m?
CREATE TABLE table_23670057_5 (current_club VARCHAR, height__m_ VARCHAR)
SELECT current_club FROM table_23670057_5 WHERE height__m_ = "2.14"
How many faculty is there in total in the year of 2002?
CREATE TABLE faculty (faculty INTEGER, YEAR VARCHAR)
SELECT SUM(faculty) FROM faculty WHERE YEAR = 2002
How many million viewers watched the episode with a run time of 25:22?
CREATE TABLE table_2108684_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)
SELECT viewers__in_millions_ FROM table_2108684_1 WHERE run_time = "25:22"
Can you tell me the Chassis that has the Points of 13, and the Year of 1975, and the Entrant of scuderia citta del mille?
CREATE TABLE table_name_5 (chassis VARCHAR, entrant VARCHAR, points VARCHAR, year VARCHAR)
SELECT chassis FROM table_name_5 WHERE points = 13 AND year = 1975 AND entrant = "scuderia citta del mille"
What is Date, when Championship is Mackay?
CREATE TABLE table_name_72 (date VARCHAR, championship VARCHAR)
SELECT date FROM table_name_72 WHERE championship = "mackay"
When fr2.0 9 is the series who is the winning team?
CREATE TABLE table_25572118_1 (winning_team VARCHAR, series VARCHAR)
SELECT winning_team FROM table_25572118_1 WHERE series = "FR2.0 9"
how many number of english when kunrei-shiki is otya
CREATE TABLE table_26263954_1 (english VARCHAR, kunrei_shiki VARCHAR)
SELECT COUNT(english) FROM table_26263954_1 WHERE kunrei_shiki = "otya"
Which team drafted Travis Brigley?
CREATE TABLE table_2840500_2 (nhl_team VARCHAR, player VARCHAR)
SELECT nhl_team FROM table_2840500_2 WHERE player = "Travis Brigley"
What is the total Tonnage GRT with a Type of cargo ship, and a Nationality of norway?
CREATE TABLE table_name_23 (tonnage_grt INTEGER, type VARCHAR, nationality VARCHAR)
SELECT SUM(tonnage_grt) FROM table_name_23 WHERE type = "cargo ship" AND nationality = "norway"
What is every record for game 11?
CREATE TABLE table_23248940_6 (record VARCHAR, game VARCHAR)
SELECT record FROM table_23248940_6 WHERE game = 11
What is the year that the issue price (bu) is $26.95?
CREATE TABLE table_11916083_1 (year VARCHAR, issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR)
SELECT year FROM table_11916083_1 WHERE issue_price__bu_[_clarification_needed_] = "$26.95"
Which Compression ratio has a (none) DX 10 Name and a FOURCC of dxt4?
CREATE TABLE table_name_57 (compression_ratio VARCHAR, dx_10_name VARCHAR, fourcc VARCHAR)
SELECT compression_ratio FROM table_name_57 WHERE dx_10_name = "(none)" AND fourcc = "dxt4"
What winning score has in-kyung kim as the runner(s)-up?
CREATE TABLE table_name_64 (winning_score VARCHAR, runner_s__up VARCHAR)
SELECT winning_score FROM table_name_64 WHERE runner_s__up = "in-kyung kim"
What date was the opponents the Oakland Raiders?
CREATE TABLE table_name_88 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_88 WHERE opponent = "oakland raiders"
Which Points Classification Navy Blue Jersey that has a Jersey of Graeme Brown
CREATE TABLE table_name_8 (points_classification_navy_blue_jersey VARCHAR, general_classification_yellow_jersey VARCHAR)
SELECT points_classification_navy_blue_jersey FROM table_name_8 WHERE general_classification_yellow_jersey = "graeme brown"
What are the names of the mills which are not located in 'Donceel'?
CREATE TABLE mill (name VARCHAR, LOCATION VARCHAR)
SELECT name FROM mill WHERE LOCATION <> 'Donceel'
What is Erwin Sommer's average position?
CREATE TABLE table_name_18 (position INTEGER, pilot VARCHAR)
SELECT AVG(position) FROM table_name_18 WHERE pilot = "erwin sommer"
what name has an appointed year of 2009 and years until mandatory retirement of 13 years?
CREATE TABLE table_name_40 (name VARCHAR, year_appointed VARCHAR, years_until_mandatory_retirement VARCHAR)
SELECT name FROM table_name_40 WHERE year_appointed = 2009 AND years_until_mandatory_retirement = "13 years"
Which Holmenkollen has a Country of norway, and a Winner of tom sandberg?
CREATE TABLE table_name_22 (holmenkollen VARCHAR, country VARCHAR, winner VARCHAR)
SELECT holmenkollen FROM table_name_22 WHERE country = "norway" AND winner = "tom sandberg"
What School did Terrence Jones play for?
CREATE TABLE table_name_40 (school VARCHAR, player VARCHAR)
SELECT school FROM table_name_40 WHERE player = "terrence jones"
What is the freestyle leg for the Netherlands?
CREATE TABLE table_name_5 (freestyle_leg VARCHAR, country VARCHAR)
SELECT freestyle_leg FROM table_name_5 WHERE country = "netherlands"
What is Qual 2, when Best is 1:27.642?
CREATE TABLE table_name_27 (qual_2 VARCHAR, best VARCHAR)
SELECT qual_2 FROM table_name_27 WHERE best = "1:27.642"
Name the released for pat mills
CREATE TABLE table_1620397_2 (released VARCHAR, author VARCHAR)
SELECT released FROM table_1620397_2 WHERE author = "Pat Mills"
What is the summary for the episode with a coach named Rebecca Star?
CREATE TABLE table_2140071_13 (episode VARCHAR, coach VARCHAR)
SELECT episode AS Summary FROM table_2140071_13 WHERE coach = "Rebecca Star"
What was the date of the home game for Colorado?
CREATE TABLE table_name_67 (date VARCHAR, home VARCHAR)
SELECT date FROM table_name_67 WHERE home = "colorado"
What is the production code for episode 31 in the series?
CREATE TABLE table_23937219_3 (prod_code INTEGER, series__number VARCHAR)
SELECT MIN(prod_code) FROM table_23937219_3 WHERE series__number = 31
Name the number of left for cardinals
CREATE TABLE table_2293402_2 (left VARCHAR, nickname VARCHAR)
SELECT COUNT(left) FROM table_2293402_2 WHERE nickname = "Cardinals"
Which label has UK for its region, is on a CD, and is dated from 1986?
CREATE TABLE table_name_61 (label VARCHAR, format VARCHAR, region VARCHAR, date VARCHAR)
SELECT label FROM table_name_61 WHERE region = "uk" AND date = "1986" AND format = "cd"
Who was the leading scorer on the game played on February 25?
CREATE TABLE table_name_28 (leading_scorer VARCHAR, date VARCHAR)
SELECT leading_scorer FROM table_name_28 WHERE date = "february 25"
What was the position of the Olympic Games in the year 2008?
CREATE TABLE table_name_68 (position VARCHAR, competition VARCHAR, year VARCHAR)
SELECT position FROM table_name_68 WHERE competition = "olympic games" AND year = 2008
What is Finish, when To Par is less than 14, and when Year(s) Won is "1952 , 1963"?
CREATE TABLE table_name_85 (finish VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
SELECT finish FROM table_name_85 WHERE to_par < 14 AND year_s__won = "1952 , 1963"
What is the week 15 result for the team that had a week 9 result of Washington (6-1)?
CREATE TABLE table_name_98 (week_15__final__dec_9 VARCHAR, week_9_oct_29 VARCHAR)
SELECT week_15__final__dec_9 FROM table_name_98 WHERE week_9_oct_29 = "washington (6-1)"
What is the surface when the us open is the championship in the year 1979?
CREATE TABLE table_22860698_2 (surface VARCHAR, championship VARCHAR, year VARCHAR)
SELECT surface FROM table_22860698_2 WHERE championship = "US Open" AND year = 1979
How many won the Men's Open if the players are from Sweden?
CREATE TABLE table_182298_5 (mens_open VARCHAR, country VARCHAR)
SELECT COUNT(mens_open) FROM table_182298_5 WHERE country = "Sweden"
Tell me the right ascensuon for object type of globular cluster and apparent magnitude of 8.5 and NGC number of 6273
CREATE TABLE table_name_2 (right_ascension___j2000__ VARCHAR, ngc_number VARCHAR, object_type VARCHAR, apparent_magnitude VARCHAR)
SELECT right_ascension___j2000__ FROM table_name_2 WHERE object_type = "globular cluster" AND apparent_magnitude = 8.5 AND ngc_number = 6273
who is the author when featuring is leela, the master, kraals?
CREATE TABLE table_name_42 (author VARCHAR, featuring VARCHAR)
SELECT author FROM table_name_42 WHERE featuring = "leela, the master, kraals"
What is Height, when Rank is less than 20, when Floors is greater than 9, when Built is 2005, and when Name is The Edge (C)?
CREATE TABLE table_name_84 (height VARCHAR, name VARCHAR, built VARCHAR, rank VARCHAR, floors VARCHAR)
SELECT height FROM table_name_84 WHERE rank < 20 AND floors > 9 AND built = 2005 AND name = "the edge (c)"
What city is the Stadium estádio cidade de barcelos in?
CREATE TABLE table_name_93 (city VARCHAR, stadium VARCHAR)
SELECT city FROM table_name_93 WHERE stadium = "estádio cidade de barcelos"
What DVD season/name for region 2 was released August 22, 2010?
CREATE TABLE table_1067134_1 (dvd_name VARCHAR, region_2 VARCHAR)
SELECT dvd_name FROM table_1067134_1 WHERE region_2 = "August 22, 2010"
What is the lowest year when the city is casablanca?
CREATE TABLE table_name_80 (year INTEGER, city VARCHAR)
SELECT MIN(year) FROM table_name_80 WHERE city = "casablanca"
what is the cfl team where college is waterloo?
CREATE TABLE table_26996293_4 (cfl_team VARCHAR, college VARCHAR)
SELECT COUNT(cfl_team) FROM table_26996293_4 WHERE college = "Waterloo"
Which Copa del Rey has a La Liga smaller than 0?
CREATE TABLE table_name_80 (copa_del_rey INTEGER, la_liga INTEGER)
SELECT SUM(copa_del_rey) FROM table_name_80 WHERE la_liga < 0
What is the smallest number of Total Goals?
CREATE TABLE table_10240125_1 (total_goals INTEGER)
SELECT MIN(total_goals) FROM table_10240125_1
What is the location of the school established in 2013?
CREATE TABLE table_name_27 (location VARCHAR, established VARCHAR)
SELECT location FROM table_name_27 WHERE established = 2013
Who won bronze in Seoul?
CREATE TABLE table_name_20 (bronze VARCHAR, location VARCHAR)
SELECT bronze FROM table_name_20 WHERE location = "seoul"
what is the elevation for port elizabeth?
CREATE TABLE table_27708484_3 (elevation VARCHAR, city VARCHAR)
SELECT elevation FROM table_27708484_3 WHERE city = "Port Elizabeth"
Name the number where population 2010 is 171906
CREATE TABLE table_17015_2 (no VARCHAR, population__2010_ VARCHAR)
SELECT no FROM table_17015_2 WHERE population__2010_ = 171906
What is the round of the pf position player from 1996 and the college/high school/club mississippi state?
CREATE TABLE table_name_37 (round VARCHAR, college_high_school_club VARCHAR, position VARCHAR, year VARCHAR)
SELECT round FROM table_name_37 WHERE position = "pf" AND year = 1996 AND college_high_school_club = "mississippi state"
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)"
How many elite eight teams came from the Atlantic 10?
CREATE TABLE table_name_67 (elite_eight VARCHAR, conference VARCHAR)
SELECT elite_eight FROM table_name_67 WHERE conference = "atlantic 10"
What is the code nickname where Steve Mayne is the coach?
CREATE TABLE table_18752986_1 (nickname VARCHAR, coach VARCHAR)
SELECT nickname FROM table_18752986_1 WHERE coach = "Steve Mayne"
What's the highest with a capacity of greater than 4,000 and an average of 615?
CREATE TABLE table_name_20 (highest INTEGER, average VARCHAR, capacity VARCHAR)
SELECT MAX(highest) FROM table_name_20 WHERE average = 615 AND capacity > 4 OFFSET 000
What are the manuals with a kind of r, and an opus of 144?
CREATE TABLE table_name_89 (manuals VARCHAR, kind VARCHAR, opus VARCHAR)
SELECT manuals FROM table_name_89 WHERE kind = "r" AND opus = "144"
Name the total number of total with finish of t45
CREATE TABLE table_name_7 (total VARCHAR, finish VARCHAR)
SELECT COUNT(total) FROM table_name_7 WHERE finish = "t45"
What is the total number that Tom Watson parred larger than 10?
CREATE TABLE table_name_93 (total VARCHAR, player VARCHAR, to_par VARCHAR)
SELECT COUNT(total) FROM table_name_93 WHERE player = "tom watson" AND to_par > 10
What Tournament had a Victory of 1 Stroke with a Winning score of –16 (67-66-70-69=272)?
CREATE TABLE table_name_71 (tournament VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR)
SELECT tournament FROM table_name_71 WHERE margin_of_victory = "1 stroke" AND winning_score = –16(67 - 66 - 70 - 69 = 272)
What party did Frank J. Becker represent?
CREATE TABLE table_1342013_31 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1342013_31 WHERE incumbent = "Frank J. Becker"
What is the fewest number of laps completed by a rank 32?
CREATE TABLE table_name_12 (laps INTEGER, rank VARCHAR)
SELECT MIN(laps) FROM table_name_12 WHERE rank = "32"
What is the score for 4-1?
CREATE TABLE table_name_9 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_9 WHERE record = "4-1"
What is the total number of t (µm), when Technology is u c-si?
CREATE TABLE table_name_67 (t__µm_ VARCHAR, technology VARCHAR)
SELECT COUNT(t__µm_) FROM table_name_67 WHERE technology = "u c-si"
What is the margin at the Nabisco Championship?
CREATE TABLE table_name_18 (margin VARCHAR, championship VARCHAR)
SELECT margin FROM table_name_18 WHERE championship = "nabisco championship"
What position does Zack Torquato play?
CREATE TABLE table_name_6 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_6 WHERE player = "zack torquato"
What position did the player from San Jose State play?
CREATE TABLE table_22719663_3 (position VARCHAR, college VARCHAR)
SELECT position FROM table_22719663_3 WHERE college = "San Jose State"
What is the total number of Silver with a Total that is smaller than 1?
CREATE TABLE table_name_19 (silver VARCHAR, total INTEGER)
SELECT COUNT(silver) FROM table_name_19 WHERE total < 1
How many holes does Player Vijay Singh have?
CREATE TABLE table_name_61 (hole VARCHAR, player VARCHAR)
SELECT COUNT(hole) FROM table_name_61 WHERE player = "vijay singh"
What is the boat builder for a boat built in 1994 and a number greater than 93?
CREATE TABLE table_name_76 (boat_builder VARCHAR, number VARCHAR, year_built VARCHAR)
SELECT boat_builder FROM table_name_76 WHERE number > 93 AND year_built = "1994"
What was the mascot for the 2013-2014 principal named Frank Hendricsen?
CREATE TABLE table_name_7 (mascot VARCHAR, principal__2013_2014_ VARCHAR)
SELECT mascot FROM table_name_7 WHERE principal__2013_2014_ = "frank hendricsen"
What is Date when Runner-up is Sofía Mulánovich ( per )?
CREATE TABLE table_name_92 (date VARCHAR, runner_up VARCHAR)
SELECT date FROM table_name_92 WHERE runner_up = "sofía mulánovich ( per )"
What is the date of the game with a 17-31 record?
CREATE TABLE table_name_90 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_90 WHERE record = "17-31"
The Western Oval venue has what date?
CREATE TABLE table_name_37 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_37 WHERE venue = "western oval"
How many ends won catagories are listed when there are 8 stolen ends?
CREATE TABLE table_25714995_2 (Ends VARCHAR, stolen_ends VARCHAR)
SELECT COUNT(Ends) AS won FROM table_25714995_2 WHERE stolen_ends = 8
What player has +21 as the to par?
CREATE TABLE table_name_36 (player VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_36 WHERE to_par = "+21"
What is the smallest season for a tv series with a yes and human was the species?
CREATE TABLE table_name_58 (tv_seasons INTEGER, tv_series VARCHAR, species VARCHAR)
SELECT MIN(tv_seasons) FROM table_name_58 WHERE tv_series = "yes" AND species = "human"
When was the last time a venue was held in turin, italy?
CREATE TABLE table_name_75 (year INTEGER, venue VARCHAR)
SELECT MAX(year) FROM table_name_75 WHERE venue = "turin, italy"
What is the year that has a character named Wu Ji Wei (無極威)?
CREATE TABLE table_name_27 (year INTEGER, character VARCHAR)
SELECT AVG(year) FROM table_name_27 WHERE character = "wu ji wei (無極威)"
What is the value in 2006 when it is Grand Slam Tournaments in 2012?
CREATE TABLE table_name_37 (Id VARCHAR)
SELECT 2006 FROM table_name_37 WHERE 2012 = "grand slam tournaments"
When is the Competition of friendly match with a Result of 2–1?
CREATE TABLE table_name_47 (date VARCHAR, competition VARCHAR, result VARCHAR)
SELECT date FROM table_name_47 WHERE competition = "friendly match" AND result = "2–1"
When ellery and frankie are the couple what is the highest total?
CREATE TABLE table_19744915_18 (total INTEGER, couple VARCHAR)
SELECT MAX(total) FROM table_19744915_18 WHERE couple = "Ellery and Frankie"
What was the 2006 population for the local government area of alexandrina council whose rank was smaller than 19?
CREATE TABLE table_name_66 (population_2006_census INTEGER, local_government_area VARCHAR, rank VARCHAR)
SELECT AVG(population_2006_census) FROM table_name_66 WHERE local_government_area = "alexandrina council" AND rank < 19
What was the team's league in 2010?
CREATE TABLE table_16636344_1 (league VARCHAR, year VARCHAR)
SELECT league FROM table_16636344_1 WHERE year = "2010"
Achievement of m (ft), and a Type of mi-10r, and a Pilot of v.p. koloshenko, and a Date of 28 may 1965 had what record description?
CREATE TABLE table_name_96 (record_description VARCHAR, date VARCHAR, pilot VARCHAR, achievement VARCHAR, type VARCHAR)
SELECT record_description FROM table_name_96 WHERE achievement = "m (ft)" AND type = "mi-10r" AND pilot = "v.p. koloshenko" AND date = "28 may 1965"
Who is the player from the Buffalo Braves with the previous team Los Angeles Lakers and a career with the franchase in 1970?
CREATE TABLE table_name_89 (player VARCHAR, team VARCHAR, previous_team VARCHAR, career_with_the_franchise_ VARCHAR, b_ VARCHAR)
SELECT player FROM table_name_89 WHERE team = "buffalo braves" AND previous_team = "los angeles lakers" AND career_with_the_franchise_[b_] = "1970"
Who did the most high assists during the game played on February 6?
CREATE TABLE table_23248940_9 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_23248940_9 WHERE date = "February 6"