question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What label is in CD format in Australia?
CREATE TABLE table_name_14 (label VARCHAR, format VARCHAR, region VARCHAR)
SELECT label FROM table_name_14 WHERE format = "cd" AND region = "australia"
Name the date with score of 9-2
CREATE TABLE table_name_49 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_49 WHERE score = "9-2"
What was the title of the episode that had 13.82 million U.S. viewers?
CREATE TABLE table_18102421_2 (title VARCHAR, us_viewers__millions_ VARCHAR)
SELECT title FROM table_18102421_2 WHERE us_viewers__millions_ = "13.82"
Who won the Brands Hatch circuit?
CREATE TABLE table_1140088_6 (winning_driver VARCHAR, circuit VARCHAR)
SELECT winning_driver FROM table_1140088_6 WHERE circuit = "Brands Hatch"
Who is the Winner on June 2, 2007?
CREATE TABLE table_name_44 (winner VARCHAR, date VARCHAR)
SELECT winner FROM table_name_44 WHERE date = "june 2, 2007"
What company collaborated in non-hodgkin lymphoma?
CREATE TABLE table_name_63 (collaboration VARCHAR, indication VARCHAR)
SELECT collaboration FROM table_name_63 WHERE indication = "non-hodgkin lymphoma"
Name the total number of first elected for dranesville
CREATE TABLE table_name_20 (first_elected VARCHAR, district VARCHAR)
SELECT COUNT(first_elected) FROM table_name_20 WHERE district = "dranesville"
What is the average Goals for team Kairat, in the 2002 season with more than 29 apps?
CREATE TABLE table_name_81 (goals INTEGER, apps VARCHAR, team VARCHAR, season VARCHAR)
SELECT AVG(goals) FROM table_name_81 WHERE team = "kairat" AND season = "2002" AND apps > 29
Who was the 2007 actor from Moscow for the voyage of Varenka Bakunin?
CREATE TABLE table_name_91 (actor_in_moscow VARCHAR, _2007 VARCHAR, voyage VARCHAR)
SELECT actor_in_moscow, _2007 FROM table_name_91 WHERE voyage = "varenka bakunin"
What is the total 18-49 for the episode that aired on July 2, 2009 with more than 3.5 viewers?
CREATE TABLE table_name_1 (air_date VARCHAR, viewers VARCHAR)
SELECT COUNT(18 AS _49) FROM table_name_1 WHERE air_date = "july 2, 2009" AND viewers > 3.5
What was the lowes population of 2002 when the 2011 population was 30076?
CREATE TABLE table_2562572_8 (population__2002_ INTEGER, population__2011_ VARCHAR)
SELECT MIN(population__2002_) FROM table_2562572_8 WHERE population__2011_ = 30076
What is the Venue with a Result of 10–0, and a Score with 3–0?
CREATE TABLE table_name_64 (venue VARCHAR, result VARCHAR, score VARCHAR)
SELECT venue FROM table_name_64 WHERE result = "10–0" AND score = "3–0"
Show the description and code of the attraction type most tourist attractions belong to.
CREATE TABLE Ref_Attraction_Types (Attraction_Type_Description VARCHAR, Attraction_Type_Code VARCHAR); CREATE TABLE Tourist_Attractions (Attraction_Type_Code VARCHAR)
SELECT T1.Attraction_Type_Description, T2.Attraction_Type_Code FROM Ref_Attraction_Types AS T1 JOIN Tourist_Attractions AS T2 ON T1.Attraction_Type_Code = T2.Attraction_Type_Code GROUP BY T2.Attraction_Type_Code ORDER BY COUNT(*) DESC LIMIT 1
Who is the Constructor for the Trac Racing Team?
CREATE TABLE table_name_56 (constructor VARCHAR, team VARCHAR)
SELECT constructor FROM table_name_56 WHERE team = "trac racing team"
What is the high grid for osella - alfa romeo, and a Laps larger than 61?
CREATE TABLE table_name_56 (grid INTEGER, constructor VARCHAR, laps VARCHAR)
SELECT MAX(grid) FROM table_name_56 WHERE constructor = "osella - alfa romeo" AND laps > 61
what's the evening gown with preliminaries being 9.212
CREATE TABLE table_11970261_2 (evening_gown VARCHAR, preliminaries VARCHAR)
SELECT evening_gown FROM table_11970261_2 WHERE preliminaries = "9.212"
What is the Jump 2 of the person that has a Jump 1 of 7.14
CREATE TABLE table_name_58 (jump_2 VARCHAR, jump_1 VARCHAR)
SELECT jump_2 FROM table_name_58 WHERE jump_1 = "7.14"
What is the average january number when the game number was higher than 39 and the opponent was the Vancouver Canucks?
CREATE TABLE table_name_72 (january INTEGER, opponent VARCHAR, game VARCHAR)
SELECT AVG(january) FROM table_name_72 WHERE opponent = "vancouver canucks" AND game > 39
What terminus is 3.5km in lenght?
CREATE TABLE table_name_37 (terminus VARCHAR, length VARCHAR)
SELECT terminus FROM table_name_37 WHERE length = "3.5km"
In which movie is Selva Nambi a co-singer?
CREATE TABLE table_name_20 (movie VARCHAR, co_singers VARCHAR)
SELECT movie FROM table_name_20 WHERE co_singers = "selva nambi"
What score did Leonard Thompson have when he won $9,000?
CREATE TABLE table_name_74 (score VARCHAR, money___$__ VARCHAR, player VARCHAR)
SELECT score FROM table_name_74 WHERE money___$__ = "9,000" AND player = "leonard thompson"
What opponent has a game less than 6, and april 17 as the date?
CREATE TABLE table_name_4 (opponent VARCHAR, game VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_4 WHERE game < 6 AND date = "april 17"
What is the earliest year associated with 0 wins and 42 points?
CREATE TABLE table_name_22 (year INTEGER, wins VARCHAR, points VARCHAR)
SELECT MIN(year) FROM table_name_22 WHERE wins > 0 AND points = 42
The game with home team Crowborough Athletic, with an attendance less than 848 had what as the score?
CREATE TABLE table_name_38 (score VARCHAR, attendance VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_38 WHERE attendance < 848 AND home_team = "crowborough athletic"
Which school/club team did blue edwards play for
CREATE TABLE table_16494599_5 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_16494599_5 WHERE player = "Blue Edwards"
For the record of 52-60 what's the date?
CREATE TABLE table_name_60 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_60 WHERE record = "52-60"
What was the score when Minnesota visited?
CREATE TABLE table_name_86 (score VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_86 WHERE visitor = "minnesota"
What was the record at the game attended by 10,389?
CREATE TABLE table_name_48 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_48 WHERE attendance = "10,389"
Who is the UK co-presenters that have Joe Swash as a co-presenter of the series Eleven (2011)?
CREATE TABLE table_14345690_15 (uk_co_presenter VARCHAR, co_presenter VARCHAR, series VARCHAR)
SELECT uk_co_presenter FROM table_14345690_15 WHERE co_presenter = "Joe Swash" AND series = "Eleven (2011)"
What was the away team that played at Corio Oval?
CREATE TABLE table_name_9 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_9 WHERE venue = "corio oval"
What is the id of the event with the most participants?
CREATE TABLE Participants_in_Events (Event_ID VARCHAR)
SELECT Event_ID FROM Participants_in_Events GROUP BY Event_ID ORDER BY COUNT(*) DESC LIMIT 1
For which country does Keith Fergus play?
CREATE TABLE table_1515346_2 (country VARCHAR, player VARCHAR)
SELECT country FROM table_1515346_2 WHERE player = "Keith Fergus"
What is the to par that has england as the country, with 66 as a score?
CREATE TABLE table_name_95 (to_par VARCHAR, country VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_95 WHERE country = "england" AND score = 66
How many locomotives were made that were withdrawn in 1913?
CREATE TABLE table_name_97 (quantity_made VARCHAR, withdrawn VARCHAR)
SELECT quantity_made FROM table_name_97 WHERE withdrawn = "1913"
Which season had a Regionalliga Sud of Stuttgarter Kickers?
CREATE TABLE table_name_68 (season VARCHAR, regionalliga_süd VARCHAR)
SELECT season FROM table_name_68 WHERE regionalliga_süd = "stuttgarter kickers"
Name the total number of monarchs for 23 may 1059 crowned
CREATE TABLE table_24046134_1 (monarch VARCHAR, crowned VARCHAR)
SELECT COUNT(monarch) FROM table_24046134_1 WHERE crowned = "23 May 1059"
Who was the home team at the game played on April 14, 2008?
CREATE TABLE table_name_16 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_16 WHERE date = "april 14, 2008"
For the game with 6,126 in attendance, how many points did both teams have in the standings?
CREATE TABLE table_name_16 (points VARCHAR, attendance VARCHAR)
SELECT COUNT(points) FROM table_name_16 WHERE attendance = 6 OFFSET 126
What is the %2006 when the %2001 was more than 62.5?
CREATE TABLE table_name_52 (_percentage_2006 INTEGER, _percentage_2001 INTEGER)
SELECT AVG(_percentage_2006) FROM table_name_52 WHERE _percentage_2001 > 62.5
What tournament was Thomas Enqvist runner up?
CREATE TABLE table_name_15 (tournament VARCHAR, runner_up VARCHAR)
SELECT tournament FROM table_name_15 WHERE runner_up = "thomas enqvist"
What is the name of the player who is Sco and moving to greenock morton in the summer?
CREATE TABLE table_name_83 (name VARCHAR, moving_to VARCHAR, nat VARCHAR, transfer_window VARCHAR)
SELECT name FROM table_name_83 WHERE nat = "sco" AND transfer_window = "summer" AND moving_to = "greenock morton"
How many total points did Oisin McConville have from his 5 matches?
CREATE TABLE table_name_90 (total VARCHAR, player VARCHAR, matches VARCHAR)
SELECT COUNT(total) FROM table_name_90 WHERE player = "oisin mcconville" AND matches < 5
During footscray's home game, how much did the away team score?
CREATE TABLE table_name_74 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_74 WHERE home_team = "footscray"
What is the highest number of apps of the player with more than 63 goals and an avge of 0.45?
CREATE TABLE table_name_55 (apps INTEGER, goals VARCHAR, avge VARCHAR)
SELECT MAX(apps) FROM table_name_55 WHERE goals > 63 AND avge = 0.45
Name the catalogue that has tracks less than 13 and the release date of 10/31/72
CREATE TABLE table_name_28 (catalogue VARCHAR, track VARCHAR, release_date VARCHAR)
SELECT catalogue FROM table_name_28 WHERE track < 13 AND release_date = "10/31/72"
How many kills have 15 as the injured, with a year prior to 1987?
CREATE TABLE table_name_4 (killed INTEGER, injured VARCHAR, year VARCHAR)
SELECT SUM(killed) FROM table_name_4 WHERE injured = "15" AND year < 1987
What was the final score of the game at the astrodome?
CREATE TABLE table_name_74 (final_score VARCHAR, stadium VARCHAR)
SELECT final_score FROM table_name_74 WHERE stadium = "astrodome"
What was Zona Sur's result after being considered for nomination?
CREATE TABLE table_name_36 (result VARCHAR, original_title VARCHAR)
SELECT result FROM table_name_36 WHERE original_title = "zona sur"
What is the Total Tax Revenue that has an n.a. Stamp Duty Reserve Tax in the years 1995-96?
CREATE TABLE table_name_75 (over_total_tax_revenue__in__percentage_ VARCHAR, stamp_duty_reserve_tax VARCHAR, year VARCHAR)
SELECT over_total_tax_revenue__in__percentage_ FROM table_name_75 WHERE stamp_duty_reserve_tax = "n.a." AND year = "1995-96"
What are the largest ethnic groups where the cyrillic name and other names is пачир (hungarian: pacsér)?
CREATE TABLE table_2562572_27 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)
SELECT largest_ethnic_group__2002_ FROM table_2562572_27 WHERE cyrillic_name_other_names = "Пачир (Hungarian: Pacsér)"
What is the english transliteration of late dew?
CREATE TABLE table_name_60 (english_transliteration VARCHAR, english_translation VARCHAR)
SELECT english_transliteration FROM table_name_60 WHERE english_translation = "late dew"
Which name has a License of gpl, and a Platform of windows?
CREATE TABLE table_name_47 (name VARCHAR, license VARCHAR, platform VARCHAR)
SELECT name FROM table_name_47 WHERE license = "gpl" AND platform = "windows"
What is the Result with a Venue that is filbert street?
CREATE TABLE table_name_16 (result VARCHAR, venue VARCHAR)
SELECT result FROM table_name_16 WHERE venue = "filbert street"
What season had the highest attendance/g than 3,289?
CREATE TABLE table_name_98 (season INTEGER, attendance_g INTEGER)
SELECT MAX(season) FROM table_name_98 WHERE attendance_g < 3 OFFSET 289
What report happened on 22 september?
CREATE TABLE table_name_25 (report VARCHAR, date VARCHAR)
SELECT report FROM table_name_25 WHERE date = "22 september"
What was the distance in 1997?
CREATE TABLE table_name_71 (distance VARCHAR, year VARCHAR)
SELECT distance FROM table_name_71 WHERE year = 1997
What date has w 14-10 as the result?
CREATE TABLE table_name_94 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_94 WHERE result = "w 14-10"
What was the decision of the Lightning game when the Canadiens were the away team?
CREATE TABLE table_name_56 (decision VARCHAR, visitor VARCHAR)
SELECT decision FROM table_name_56 WHERE visitor = "canadiens"
What municipality has 719 people and is larger than 108.46 km2?
CREATE TABLE table_name_30 (regional_county_municipality VARCHAR, area__km_2__ VARCHAR, population VARCHAR)
SELECT regional_county_municipality FROM table_name_30 WHERE area__km_2__ > 108.46 AND population = 719
HOW MANY SILVER METALS DOES SOUTH KOREA HAVE WITH 2 GOLD METALS?
CREATE TABLE table_name_43 (silver INTEGER, nation VARCHAR, gold VARCHAR)
SELECT MAX(silver) FROM table_name_43 WHERE nation = "south korea" AND gold > 2
WHAT IS THE LOWEST MONEY WITH TO PAR LARGER THAN 26?
CREATE TABLE table_name_1 (money___ INTEGER, to_par INTEGER)
SELECT MIN(money___) AS $__ FROM table_name_1 WHERE to_par > 26
What are the goals for a lost of Involuntary suspension of Season (hurricane Rita)?
CREATE TABLE table_name_44 (goals_for VARCHAR, lost VARCHAR)
SELECT goals_for FROM table_name_44 WHERE lost = "involuntary suspension of season (hurricane rita)"
What is the largest crowd when north melbourne is the home side?
CREATE TABLE table_name_94 (crowd INTEGER, home_team VARCHAR)
SELECT MAX(crowd) FROM table_name_94 WHERE home_team = "north melbourne"
What is the home team with the ny rangers as the visitor team?
CREATE TABLE table_name_16 (home VARCHAR, visitor VARCHAR)
SELECT home FROM table_name_16 WHERE visitor = "ny rangers"
Which city is the University of Montana located in?
CREATE TABLE table_name_80 (city VARCHAR, host VARCHAR)
SELECT city FROM table_name_80 WHERE host = "university of montana"
how many Curtiss XBTC aircraft are retired?
CREATE TABLE table_13605170_2 (retired VARCHAR, aircraft_type VARCHAR)
SELECT COUNT(retired) FROM table_13605170_2 WHERE aircraft_type = "Curtiss XBTC"
What is the Date of the Bulgarian Victory at the Battle of Arcadiopolis?
CREATE TABLE table_name_55 (date VARCHAR, result VARCHAR, battle VARCHAR)
SELECT date FROM table_name_55 WHERE result = "bulgarian victory" AND battle = "battle of arcadiopolis"
What county is the town with a rank of 205 located in?
CREATE TABLE table_name_78 (county VARCHAR, population_rank VARCHAR)
SELECT county FROM table_name_78 WHERE population_rank = 205
What year was the player pick number 15 picked?
CREATE TABLE table_name_23 (year VARCHAR, pick VARCHAR)
SELECT year FROM table_name_23 WHERE pick = "15"
What draft pick number attended syracuse and was drafted by the Carolina panthers?
CREATE TABLE table_name_38 (pick__number INTEGER, nfl_team VARCHAR, college VARCHAR)
SELECT SUM(pick__number) FROM table_name_38 WHERE nfl_team = "carolina panthers" AND college = "syracuse"
What are all values for 'to par' for the winning score of 67-67-69-69=272?
CREATE TABLE table_1507431_1 (to_par VARCHAR, winning_score VARCHAR)
SELECT to_par FROM table_1507431_1 WHERE winning_score = 67 - 67 - 69 - 69 = 272
Who was the composer of ain shams?
CREATE TABLE table_28005100_1 (composer VARCHAR, title VARCHAR)
SELECT composer FROM table_28005100_1 WHERE title = "Ain Shams"
When did Pakistan win a Silver Medal in a Men's Competition?
CREATE TABLE table_name_56 (games VARCHAR, event VARCHAR, medal VARCHAR)
SELECT games FROM table_name_56 WHERE event = "men's competition" AND medal = "silver"
What's the GPU model that has sSpec number SR16Z(c0)?
CREATE TABLE table_name_33 (gpu_model VARCHAR, sspec_number VARCHAR)
SELECT gpu_model FROM table_name_33 WHERE sspec_number = "sr16z(c0)"
What was the oil pattern for runner-up Pete Weber?
CREATE TABLE table_name_26 (oil_pattern VARCHAR, runner_up VARCHAR)
SELECT oil_pattern FROM table_name_26 WHERE runner_up = "pete weber"
Name the lpsos 3/14/09 for opinionway of 4/17/09 of 5% and lfof 11/12/08 of 7%
CREATE TABLE table_name_33 (ipsos_3_14_09 VARCHAR, ifop_11_12_08 VARCHAR, opinionway_4_17_09 VARCHAR)
SELECT ipsos_3_14_09 FROM table_name_33 WHERE ifop_11_12_08 = "7%" AND opinionway_4_17_09 = "5%"
Find the name all districts with city area greater than 10 or population larger than 100000
CREATE TABLE district (district_name VARCHAR, city_area VARCHAR, City_Population VARCHAR)
SELECT district_name FROM district WHERE city_area > 10 OR City_Population > 100000
What was the earliest release for Pathogen directed by Sharon Gosling?
CREATE TABLE table_name_81 (release INTEGER, director VARCHAR, title VARCHAR)
SELECT MIN(release) FROM table_name_81 WHERE director = "sharon gosling" AND title = "pathogen"
What metro vincity has the venue that opened in 1999?
CREATE TABLE table_name_84 (metro_vincity VARCHAR, opened VARCHAR)
SELECT metro_vincity FROM table_name_84 WHERE opened = "1999"
What is the start of the race with 676 laps?
CREATE TABLE table_name_29 (start VARCHAR, laps VARCHAR)
SELECT start FROM table_name_29 WHERE laps = "676"
What is the period for Ben Eager?
CREATE TABLE table_name_49 (period VARCHAR, player VARCHAR)
SELECT period FROM table_name_49 WHERE player = "ben eager"
What is shown on Tuesday when Wednesday is Fox Sports Tonight (ends 1 am next day)?
CREATE TABLE table_name_59 (tuesday VARCHAR, wednesday VARCHAR)
SELECT tuesday FROM table_name_59 WHERE wednesday = "fox sports tonight (ends 1 am next day)"
Name the player that is 1.85 m
CREATE TABLE table_23670057_6 (player VARCHAR, height__m_ VARCHAR)
SELECT player FROM table_23670057_6 WHERE height__m_ = "1.85"
What was the fastest lap time at the British Grand Prix with Mercedes as the constructor?
CREATE TABLE table_name_2 (fastest_lap VARCHAR, constructor VARCHAR, race VARCHAR)
SELECT fastest_lap FROM table_name_2 WHERE constructor = "mercedes" AND race = "british grand prix"
Who was the opponent team on September 30, 1990?
CREATE TABLE table_name_23 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_23 WHERE date = "september 30, 1990"
How many losses does Alex Wilkinson have?
CREATE TABLE table_name_98 (losses VARCHAR, name VARCHAR)
SELECT COUNT(losses) FROM table_name_98 WHERE name = "alex wilkinson"
What was the place for player John Merrick?
CREATE TABLE table_name_52 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_52 WHERE player = "john merrick"
What was the away team for the game in Slough Town?
CREATE TABLE table_name_75 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_75 WHERE home_team = "slough town"
Nationality of england, and a Lost larger than 39, and a Win % of 28.7, and a Drawn smaller than 37 had what sum of matches?
CREATE TABLE table_name_1 (matches INTEGER, drawn VARCHAR, win__percentage VARCHAR, nationality VARCHAR, lost VARCHAR)
SELECT SUM(matches) FROM table_name_1 WHERE nationality = "england" AND lost > 39 AND win__percentage = 28.7 AND drawn < 37
What's the value for arizona when utah is eisenhower?
CREATE TABLE table_name_50 (arizona VARCHAR, utah VARCHAR)
SELECT arizona FROM table_name_50 WHERE utah = "eisenhower"
Which vocal type has the band mate with first name "Solveig" played the most?
CREATE TABLE vocals (bandmate VARCHAR); CREATE TABLE band (id VARCHAR)
SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate = T2.id WHERE firstname = "Solveig" GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1
Who was the winner on the Symmons Plains Raceway?
CREATE TABLE table_14016079_1 (winner VARCHAR, circuit VARCHAR)
SELECT winner FROM table_14016079_1 WHERE circuit = "Symmons Plains Raceway"
What is the Per capita income where Median family income is $72,288?
CREATE TABLE table_name_7 (per_capita_income VARCHAR, median_family_income VARCHAR)
SELECT per_capita_income FROM table_name_7 WHERE median_family_income = "$72,288"
Which Points have a Record of 45–21–4, and a Game larger than 70?
CREATE TABLE table_name_77 (points INTEGER, record VARCHAR, game VARCHAR)
SELECT AVG(points) FROM table_name_77 WHERE record = "45–21–4" AND game > 70
Name the total number of rank for east midnapore
CREATE TABLE table_2527063_3 (rank VARCHAR, district VARCHAR)
SELECT COUNT(rank) FROM table_2527063_3 WHERE district = "East Midnapore"
What is the Date for the actual title archie bunker's place?
CREATE TABLE table_name_42 (date VARCHAR, actual_title VARCHAR)
SELECT date FROM table_name_42 WHERE actual_title = "archie bunker's place"
to the Latin of f, y, u/v/w?
CREATE TABLE table_name_63 (greek VARCHAR, latin VARCHAR)
SELECT greek FROM table_name_63 WHERE latin = "f, y, u/v/w"
what's the country/region with presenters being heikki paasonen jukka rossi (xtra factor)
CREATE TABLE table_13779832_1 (country_region VARCHAR, presenters VARCHAR)
SELECT country_region FROM table_13779832_1 WHERE presenters = "Heikki Paasonen Jukka Rossi (Xtra Factor)"
What country is the film directed by Jean-Luc Godard in French from?
CREATE TABLE table_name_19 (country VARCHAR, language VARCHAR, director VARCHAR)
SELECT country FROM table_name_19 WHERE language = "french" AND director = "jean-luc godard"
What was the estimated number of victims for the April 27, 1865 sinking?
CREATE TABLE table_name_78 (estimate VARCHAR, date VARCHAR)
SELECT estimate FROM table_name_78 WHERE date = "april 27, 1865"