question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Tiger Woods with a total less than 293 had what To par?
CREATE TABLE table_name_73 (to_par VARCHAR, total VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_73 WHERE total < 293 AND player = "tiger woods"
What was the Venue in 2003?
CREATE TABLE table_name_16 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_16 WHERE date = "2003"
What is the fewest goals for when goals against is 75 and drawn is smaller than 11?
CREATE TABLE table_name_35 (goals_for INTEGER, goals_against VARCHAR, drawn VARCHAR)
SELECT MIN(goals_for) FROM table_name_35 WHERE goals_against = 75 AND drawn < 11
What was the control for the year with a Conservative Party result of 10 (+5)?
CREATE TABLE table_name_70 (control VARCHAR, conservative_party VARCHAR)
SELECT control FROM table_name_70 WHERE conservative_party = "10 (+5)"
Which Kickoff had a Game Site of fawcett stadium?
CREATE TABLE table_name_12 (kickoff VARCHAR, game_site VARCHAR)
SELECT kickoff FROM table_name_12 WHERE game_site = "fawcett stadium"
What 2009 has 18.5% as the 2007?
CREATE TABLE table_name_49 (Id VARCHAR)
SELECT 2009 FROM table_name_49 WHERE 2007 = "18.5%"
What are the the approximate translations when the Morphological Category is 1st. plur. perfect?
CREATE TABLE table_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR)
SELECT approximate_translation FROM table_2784232_1 WHERE morphological_category = "1st. plur. perfect"
If the home is Atlético Tucumán, what is the name of the first leg?
CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR)
SELECT 1 AS st_leg FROM table_17968229_1 WHERE home__2nd_leg_ = "Atlético Tucumán"
What is the Pick # of the player from Simon Fraser College?
CREATE TABLE table_name_50 (pick__number INTEGER, college VARCHAR)
SELECT AVG(pick__number) FROM table_name_50 WHERE college = "simon fraser"
What are the names and arrival times of trains?
CREATE TABLE train (Name VARCHAR, Arrival VARCHAR)
SELECT Name, Arrival FROM train
What is the 2004 population for 山海关区?
CREATE TABLE table_name_46 (population__2004_est_ VARCHAR, hanzi VARCHAR)
SELECT population__2004_est_ FROM table_name_46 WHERE hanzi = "山海关区"
was the the score when the tries was 743
CREATE TABLE table_14070062_4 (points_against VARCHAR, points_for VARCHAR)
SELECT points_against FROM table_14070062_4 WHERE points_for = "743"
What is the sum of poverty (2009) HPI-1 % when the GDP (PPP) (2012) US$ per capita of 11,284?
CREATE TABLE table_name_69 (poverty__2009__hpi_1__percentage VARCHAR, gdp__ppp___2012__us$_per_capita VARCHAR)
SELECT COUNT(poverty__2009__hpi_1__percentage) FROM table_name_69 WHERE gdp__ppp___2012__us$_per_capita = "11,284"
When Netherlands is the country what is the report?
CREATE TABLE table_21191496_1 (report VARCHAR, country VARCHAR)
SELECT report FROM table_21191496_1 WHERE country = "Netherlands"
Who is every name for time(cet) of 09:58?
CREATE TABLE table_21536557_2 (name VARCHAR, time__cet_ VARCHAR)
SELECT name FROM table_21536557_2 WHERE time__cet_ = "09:58"
What are the scores for games where the home team is Adelaide?
CREATE TABLE table_16387953_1 (home_team VARCHAR)
SELECT home_team AS score FROM table_16387953_1 WHERE home_team = "Adelaide"
What Japanese title had average ratings at 9.1%?
CREATE TABLE table_name_67 (japanese_title VARCHAR, average_ratings VARCHAR)
SELECT japanese_title FROM table_name_67 WHERE average_ratings = "9.1%"
What is the least amount of matches?
CREATE TABLE table_27922491_8 (matches INTEGER)
SELECT MIN(matches) FROM table_27922491_8
How many laps did Giancarlo Fisichella do with a grid larger than 15?
CREATE TABLE table_name_36 (laps VARCHAR, driver VARCHAR, grid VARCHAR)
SELECT COUNT(laps) FROM table_name_36 WHERE driver = "giancarlo fisichella" AND grid > 15
What was the Reign of the person whose Date of Birth was 22 March 1459?
CREATE TABLE table_name_25 (reign VARCHAR, date_of_birth VARCHAR)
SELECT reign FROM table_name_25 WHERE date_of_birth = "22 march 1459"
tell me the type that has the marostica to bibione course.
CREATE TABLE table_name_44 (type VARCHAR, course VARCHAR)
SELECT type FROM table_name_44 WHERE course = "marostica to bibione"
What kind of Episode Number has a Air Date on 29 june 2007?
CREATE TABLE table_name_41 (episode_number INTEGER, air_date VARCHAR)
SELECT AVG(episode_number) FROM table_name_41 WHERE air_date = "29 june 2007"
What is the average Barrow Island Australia when Draugen north sea is 17 and Mutineer-Exeter Australia is smaller than 6?
CREATE TABLE table_name_94 (barrow_island_australia INTEGER, draugen_north_sea VARCHAR, mutineer_exeter_australia VARCHAR)
SELECT AVG(barrow_island_australia) FROM table_name_94 WHERE draugen_north_sea = 17 AND mutineer_exeter_australia < 6
Which fatality was at ankara for the aircraft douglas c-47?
CREATE TABLE table_name_60 (fatalities VARCHAR, location VARCHAR, aircraft VARCHAR)
SELECT fatalities FROM table_name_60 WHERE location = "ankara" AND aircraft = "douglas c-47"
What is the total number of draws when there is 1 Win, and less than 1728 against matches?
CREATE TABLE table_name_41 (draws VARCHAR, wins VARCHAR, against VARCHAR)
SELECT COUNT(draws) FROM table_name_41 WHERE wins = 1 AND against < 1728
What was the Loss when the Record was 50-54?
CREATE TABLE table_name_46 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_46 WHERE record = "50-54"
Which score was for Toronto Maple Leafs at home on November 12?
CREATE TABLE table_name_66 (score VARCHAR, home VARCHAR, date VARCHAR)
SELECT score FROM table_name_66 WHERE home = "toronto maple leafs" AND date = "november 12"
What was the score that has a To par of −3, for Branden Grace?
CREATE TABLE table_name_94 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_94 WHERE to_par = "−3" AND player = "branden grace"
What is round 1's position?
CREATE TABLE table_name_13 (position VARCHAR, round VARCHAR)
SELECT position FROM table_name_13 WHERE round = 1
What is the position of pick # 63?
CREATE TABLE table_25518547_4 (position VARCHAR, pick__number VARCHAR)
SELECT position FROM table_25518547_4 WHERE pick__number = 63
Who won the Metas Volantes Classification in the stage in which Damiano Cunego won the points classification?
CREATE TABLE table_name_16 (metas_volantes_classification VARCHAR, points_classification VARCHAR)
SELECT metas_volantes_classification FROM table_name_16 WHERE points_classification = "damiano cunego"
What is the highest number of losses with 23 points and 22 plays?
CREATE TABLE table_name_58 (lost INTEGER, points VARCHAR, played VARCHAR)
SELECT MAX(lost) FROM table_name_58 WHERE points = 23 AND played > 22
What is the Nord in 1952, when tennis borussia berlin was Berlin?
CREATE TABLE table_name_3 (nord VARCHAR, berlin VARCHAR, year VARCHAR)
SELECT nord FROM table_name_3 WHERE berlin = "tennis borussia berlin" AND year = 1952
Which winning team has Iowa city as the site, and december 3, 2006 as the date?
CREATE TABLE table_name_42 (winning_team VARCHAR, site VARCHAR, date VARCHAR)
SELECT winning_team FROM table_name_42 WHERE site = "iowa city" AND date = "december 3, 2006"
what's the nfl team where player is clifford charlton
CREATE TABLE table_10650711_1 (nfl_team VARCHAR, player VARCHAR)
SELECT nfl_team FROM table_10650711_1 WHERE player = "Clifford Charlton"
What is the number of bronze that Scotland, which has less than 7 total medals, has?
CREATE TABLE table_name_55 (bronze INTEGER, nation VARCHAR, total VARCHAR)
SELECT SUM(bronze) FROM table_name_55 WHERE nation = "scotland" AND total < 7
What was the Result on September 24?
CREATE TABLE table_name_21 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_21 WHERE date = "september 24"
Name the most 3 car sets
CREATE TABLE table_19255192_2 (Id VARCHAR)
SELECT MAX(3 AS _car_sets) FROM table_19255192_2
Which Date has an Opponent of manchester united, and a Venue A?
CREATE TABLE table_name_31 (date VARCHAR, opponent VARCHAR, venue VARCHAR)
SELECT date FROM table_name_31 WHERE opponent = "manchester united" AND venue = "a"
What year was the school opened that has a size of 10 acres and students of na?
CREATE TABLE table_name_76 (year_opened VARCHAR, students VARCHAR, size VARCHAR)
SELECT year_opened FROM table_name_76 WHERE students = "na" AND size = "10 acres"
What was the highest number of 2009 electorates for Raisen when the consituency number was 142?
CREATE TABLE table_name_86 (number_of_electorates__2009_ INTEGER, district VARCHAR, constituency_number VARCHAR)
SELECT MAX(number_of_electorates__2009_) FROM table_name_86 WHERE district = "raisen" AND constituency_number = "142"
What was the date for the catalog 32xa-112?
CREATE TABLE table_name_42 (date VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_42 WHERE catalog = "32xa-112"
Which Position has an Against larger than 17, and a Team of juventus, and a Drawn smaller than 4?
CREATE TABLE table_name_50 (position INTEGER, drawn VARCHAR, against VARCHAR, team VARCHAR)
SELECT MIN(position) FROM table_name_50 WHERE against > 17 AND team = "juventus" AND drawn < 4
Operation of find-min has what Fibonacci?
CREATE TABLE table_name_18 (fibonacci VARCHAR, operation VARCHAR)
SELECT fibonacci FROM table_name_18 WHERE operation = "find-min"
Daniela Ryf who competes in the women's even had what swim (1.5km)?
CREATE TABLE table_name_6 (swim__15km_ VARCHAR, event VARCHAR, athlete VARCHAR)
SELECT swim__15km_ FROM table_name_6 WHERE event = "women's" AND athlete = "daniela ryf"
What are the earliest year with games played fewer than 2?
CREATE TABLE table_name_96 (first_game INTEGER, played INTEGER)
SELECT MIN(first_game) FROM table_name_96 WHERE played < 2
What is the average height of the players from the college named 'Yale University'?
CREATE TABLE player_college (player_id VARCHAR, college_id VARCHAR); CREATE TABLE player (height INTEGER, player_id VARCHAR); CREATE TABLE college (college_id VARCHAR, name_full VARCHAR)
SELECT AVG(T1.height) FROM player AS T1 JOIN player_college AS T2 ON T1.player_id = T2.player_id JOIN college AS T3 ON T3.college_id = T2.college_id WHERE T3.name_full = 'Yale University'
What is team 1 when team 2 is Manchester United?
CREATE TABLE table_name_45 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_45 WHERE team_2 = "manchester united"
Points smaller than 96, and a Record of 43–16–8 belongs to what game?
CREATE TABLE table_name_30 (game VARCHAR, points VARCHAR, record VARCHAR)
SELECT game FROM table_name_30 WHERE points < 96 AND record = "43–16–8"
Which Population has an Altitude (mslm) larger than 98, and a Density (inhabitants/km 2) larger than 5869, and a Rank of 1st?
CREATE TABLE table_name_22 (population INTEGER, rank VARCHAR, altitude__mslm_ VARCHAR, density__inhabitants_km_2__ VARCHAR)
SELECT SUM(population) FROM table_name_22 WHERE altitude__mslm_ > 98 AND density__inhabitants_km_2__ > 5869 AND rank = "1st"
Who wrote the movie positioned at 8 on the list?
CREATE TABLE table_2602958_5 (writer_s_ VARCHAR, _number VARCHAR)
SELECT writer_s_ FROM table_2602958_5 WHERE _number = 8
What number home run was in the 8th inning and went 410'?
CREATE TABLE table_name_3 (number VARCHAR, inning VARCHAR, length VARCHAR)
SELECT number FROM table_name_3 WHERE inning = "8th" AND length = "410'"
What's the opponent for July 2?
CREATE TABLE table_name_12 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_12 WHERE date = "july 2"
What is the name of the country in Arabic that has Moroni as the name of its capital in English?
CREATE TABLE table_name_68 (arabic_country_name VARCHAR, english_capital_name VARCHAR)
SELECT arabic_country_name FROM table_name_68 WHERE english_capital_name = "moroni"
Name the pronunciation b for meaning of grind
CREATE TABLE table_name_56 (pronunciation_b VARCHAR, meaning_a VARCHAR)
SELECT pronunciation_b FROM table_name_56 WHERE meaning_a = "grind"
What is Title, when Studio is "Embassy Pictures"?
CREATE TABLE table_name_48 (title VARCHAR, studio VARCHAR)
SELECT title FROM table_name_48 WHERE studio = "embassy pictures"
What was the score of the match against duk-hee lee?
CREATE TABLE table_name_43 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_43 WHERE opponent = "duk-hee lee"
Who won the season of 1998?
CREATE TABLE table_name_52 (winner_season VARCHAR, year VARCHAR)
SELECT winner_season FROM table_name_52 WHERE year = 1998
How many losses for the coach that coached 19 games?
CREATE TABLE table_14594528_6 (losses VARCHAR, games VARCHAR)
SELECT losses FROM table_14594528_6 WHERE games = 19
What's the to par for the score of 68-74-71-77=290?
CREATE TABLE table_name_5 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_5 WHERE score = 68 - 74 - 71 - 77 = 290
Which Kit manufacturer sponsers Arsenal?
CREATE TABLE table_name_99 (kit_manufacturer VARCHAR, team VARCHAR)
SELECT kit_manufacturer FROM table_name_99 WHERE team = "arsenal"
Which Prominence (m) has an Elevation (m) of 3,095?
CREATE TABLE table_name_67 (prominence__m_ INTEGER, elevation__m_ VARCHAR)
SELECT MIN(prominence__m_) FROM table_name_67 WHERE elevation__m_ = 3 OFFSET 095
Which Result has a Game smaller than 37, and a Streak of lost 1, and a Record of 4-9?
CREATE TABLE table_name_40 (result VARCHAR, record VARCHAR, game VARCHAR, streak VARCHAR)
SELECT result FROM table_name_40 WHERE game < 37 AND streak = "lost 1" AND record = "4-9"
Who drive over 43 laps in grid 5?
CREATE TABLE table_name_66 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_66 WHERE laps > 43 AND grid = 5
When fitzroy what was the home team score?
CREATE TABLE table_name_85 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_85 WHERE home_team = "fitzroy"
What was the date of game 6?
CREATE TABLE table_20928649_1 (date VARCHAR, game VARCHAR)
SELECT date FROM table_20928649_1 WHERE game = 6
Which home team had the away team Southport?
CREATE TABLE table_name_9 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_9 WHERE away_team = "southport"
What is the lowest amount of races?
CREATE TABLE table_25318033_1 (races INTEGER)
SELECT MIN(races) FROM table_25318033_1
What is the sum of the attendance where the score was 1:1?
CREATE TABLE table_name_41 (attendance INTEGER, score VARCHAR)
SELECT SUM(attendance) FROM table_name_41 WHERE score = "1:1"
Who is the Player for School/Club Team Illinois?
CREATE TABLE table_name_22 (player VARCHAR, school_club_team VARCHAR)
SELECT player FROM table_name_22 WHERE school_club_team = "illinois"
What is the location for the team name of eagles?
CREATE TABLE table_24195232_1 (location VARCHAR, team_name VARCHAR)
SELECT location FROM table_24195232_1 WHERE team_name = "Eagles"
What is the listed Tonnage for the Date of 1914?
CREATE TABLE table_name_69 (tonnage VARCHAR, date VARCHAR)
SELECT tonnage FROM table_name_69 WHERE date = 1914
On what date was the streak at lost 7?
CREATE TABLE table_name_67 (date VARCHAR, streak VARCHAR)
SELECT date FROM table_name_67 WHERE streak = "lost 7"
What was Spain's score?
CREATE TABLE table_name_24 (score VARCHAR, country VARCHAR)
SELECT score FROM table_name_24 WHERE country = "spain"
What is the name of the episode originally aired on September 29, 1999?
CREATE TABLE table_18646432_4 (title VARCHAR, original_air_date VARCHAR)
SELECT title FROM table_18646432_4 WHERE original_air_date = "September 29, 1999"
Tell me the role for tea and sympathy
CREATE TABLE table_name_83 (role VARCHAR, play VARCHAR)
SELECT role FROM table_name_83 WHERE play = "tea and sympathy"
Who was the writer that the director was Alice Troughton and the producer was Phil Collinson?
CREATE TABLE table_name_89 (writer VARCHAR, producer VARCHAR, director VARCHAR)
SELECT writer FROM table_name_89 WHERE producer = "phil collinson" AND director = "alice troughton"
What was average attendance during week 15?
CREATE TABLE table_name_63 (attendance INTEGER, week VARCHAR)
SELECT AVG(attendance) FROM table_name_63 WHERE week = 15
What Player's Score is 69-71-69=208?
CREATE TABLE table_name_88 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_88 WHERE score = 69 - 71 - 69 = 208
Show the description of the transaction type that occurs most frequently.
CREATE TABLE TRANSACTIONS (transaction_type_code VARCHAR); CREATE TABLE Ref_Transaction_Types (transaction_type_description VARCHAR, transaction_type_code VARCHAR)
SELECT T1.transaction_type_description FROM Ref_Transaction_Types AS T1 JOIN TRANSACTIONS AS T2 ON T1.transaction_type_code = T2.transaction_type_code GROUP BY T1.transaction_type_code ORDER BY COUNT(*) DESC LIMIT 1
What is the record of the champion in 2008?
CREATE TABLE table_name_85 (record VARCHAR, year VARCHAR)
SELECT record FROM table_name_85 WHERE year = 2008
What is the average Singapore value with a London value less than 0?
CREATE TABLE table_name_80 (singapore INTEGER, london INTEGER)
SELECT AVG(singapore) FROM table_name_80 WHERE london < 0
Name the score for washington
CREATE TABLE table_15872814_3 (score VARCHAR, team VARCHAR)
SELECT score FROM table_15872814_3 WHERE team = "Washington"
Name the score for 49-31
CREATE TABLE table_22883210_10 (score VARCHAR, record VARCHAR)
SELECT score FROM table_22883210_10 WHERE record = "49-31"
What Class has a Quantity made of 5?
CREATE TABLE table_name_68 (class VARCHAR, quantity_made VARCHAR)
SELECT class FROM table_name_68 WHERE quantity_made = 5
What was the result when the couple was steve & anna?
CREATE TABLE table_name_97 (result VARCHAR, couple VARCHAR)
SELECT result FROM table_name_97 WHERE couple = "steve & anna"
I want the total number of Laps for Rubens Barrichello
CREATE TABLE table_name_85 (laps VARCHAR, driver VARCHAR)
SELECT COUNT(laps) FROM table_name_85 WHERE driver = "rubens barrichello"
Show the distinct leader names of colleges associated with members from country "Canada".
CREATE TABLE college (Leader_Name VARCHAR, College_ID VARCHAR); CREATE TABLE member (College_ID VARCHAR, Country VARCHAR)
SELECT DISTINCT T1.Leader_Name FROM college AS T1 JOIN member AS T2 ON T1.College_ID = T2.College_ID WHERE T2.Country = "Canada"
What was the name of the team in 1965 driving the Ferrari 158?
CREATE TABLE table_name_3 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_3 WHERE year = 1965 AND chassis = "ferrari 158"
What is the Draw for the team of tramwajarz łódź?
CREATE TABLE table_name_2 (draw VARCHAR, team VARCHAR)
SELECT draw FROM table_name_2 WHERE team = "tramwajarz łódź"
What is the Class AA in the 2010-11 school year with a class AAA of Giddings?
CREATE TABLE table_name_7 (class_aA VARCHAR, class_aAA VARCHAR, giddings VARCHAR, school_year VARCHAR)
SELECT class_aA FROM table_name_7 WHERE class_aAA = giddings AND school_year = "2010-11"
Name the tries with tries against of 38
CREATE TABLE table_name_35 (tries_for VARCHAR, tries_against VARCHAR)
SELECT tries_for FROM table_name_35 WHERE tries_against = "38"
How many foundeds have sousse as the city, with a capacity greater than 25,000?
CREATE TABLE table_name_25 (founded VARCHAR, city VARCHAR, capacity VARCHAR)
SELECT COUNT(founded) FROM table_name_25 WHERE city = "sousse" AND capacity > 25 OFFSET 000
how many locations has spain as the winner?
CREATE TABLE table_1359212_2 (location VARCHAR, winner VARCHAR)
SELECT COUNT(location) FROM table_1359212_2 WHERE winner = "Spain"
What is the title of the episode with series number 14?
CREATE TABLE table_28967275_2 (episode_title VARCHAR, series__number VARCHAR)
SELECT episode_title FROM table_28967275_2 WHERE series__number = 14
what's the jurisdiction where percent yes is 43.4
CREATE TABLE table_120778_2 (jurisdiction VARCHAR, percent_yes VARCHAR)
SELECT jurisdiction FROM table_120778_2 WHERE percent_yes = "43.4"
Which Winning Driver has a Circuit of circuit zandvoort?
CREATE TABLE table_name_43 (winning_driver VARCHAR, circuit VARCHAR)
SELECT winning_driver FROM table_name_43 WHERE circuit = "circuit zandvoort"
What is the education in Nepal?
CREATE TABLE table_23050383_1 (education VARCHAR, country VARCHAR)
SELECT education FROM table_23050383_1 WHERE country = "Nepal"
What is Date, when Round is "2"?
CREATE TABLE table_name_38 (date VARCHAR, round VARCHAR)
SELECT date FROM table_name_38 WHERE round = 2
Which team had 3:18.513 on day 1?
CREATE TABLE table_name_34 (team VARCHAR, day_1 VARCHAR)
SELECT team FROM table_name_34 WHERE day_1 = "3:18.513"