answer
stringlengths
28
316
question
stringlengths
21
201
context
stringlengths
33
286
SELECT date FROM table_23274514_8 WHERE location_attendance = "TD Garden 18,624"
On what date was the attendance at TD Garden 18,624?
CREATE TABLE table_23274514_8 (date VARCHAR, location_attendance VARCHAR)
SELECT date FROM table_name_2 WHERE competition = "international friendly"
On what date was there an International Friendly competition?
CREATE TABLE table_name_2 (date VARCHAR, competition VARCHAR)
SELECT operating_system_version FROM table_name_27 WHERE memory___ram__ = "1gb (mobile ddr)"
Which operating system has 1GB (mobile ddr) memory (RAM)?
CREATE TABLE table_name_27 (operating_system_version VARCHAR, memory___ram__ VARCHAR)
SELECT team FROM table_name_24 WHERE replaced_by = "csaba lászló"
I want the team with replaced by being csaba lászló
CREATE TABLE table_name_24 (team VARCHAR, replaced_by VARCHAR)
SELECT MAX(col__m_) FROM table_name_94 WHERE prominence__m_ = 3 OFFSET 046
What is the maximum Col (m) when 3,046 is the Prominence (m)?
CREATE TABLE table_name_94 (col__m_ INTEGER, prominence__m_ VARCHAR)
SELECT season FROM table_name_91 WHERE apps = 7
What season did he have 7 appearances?
CREATE TABLE table_name_91 (season VARCHAR, apps 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 score FROM table_name_66 WHERE home_team = "saskatoon accelerators" AND date = "january 6, 2008"
What was Saskatoon Accelerators score on January 6, 2008?
CREATE TABLE table_name_66 (score VARCHAR, home_team VARCHAR, date VARCHAR)
SELECT m60a3_patton FROM table_name_28 WHERE leclerc = "40 rounds"
What is the M60A3 that has 40 rounds as Leclerc?
CREATE TABLE table_name_28 (m60a3_patton VARCHAR, leclerc VARCHAR)
SELECT AVG(attendance) FROM table_name_21 WHERE date = "september 11, 1988"
What was the attendance on September 11, 1988?
CREATE TABLE table_name_21 (attendance INTEGER, date VARCHAR)
SELECT label FROM table_name_24 WHERE year > 2004
What label is after 2004?
CREATE TABLE table_name_24 (label VARCHAR, year INTEGER)
SELECT MAX(bronze) FROM table_name_99 WHERE nation = "spain"
Which Bronze has a Nation of spain?
CREATE TABLE table_name_99 (bronze INTEGER, nation VARCHAR)
SELECT SUM(silver) FROM table_name_45 WHERE bronze < 5 AND gold > 0 AND rank = "22"
How many silver for rank 22 when gold count was more than 0 and Bronze count was less than 5?
CREATE TABLE table_name_45 (silver INTEGER, rank VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT winner FROM table_name_7 WHERE date = "november 26"
What is the Winner of the Game on November 26?
CREATE TABLE table_name_7 (winner VARCHAR, date VARCHAR)
SELECT COUNT(方位_direction) FROM table_1912713_2 WHERE 性情_personality = "Gentle"
What is the total number of gentle personalities?
CREATE TABLE table_1912713_2 (方位_direction VARCHAR, 性情_personality VARCHAR)
SELECT man_of_the_match FROM table_19576091_1 WHERE result = "Rockets won by 9 wickets"
Who was the man of the match when the Rockets won by 9 wickets?
CREATE TABLE table_19576091_1 (man_of_the_match VARCHAR, result VARCHAR)
SELECT d_48 FROM table_name_27 WHERE d_43 = "plurality ↑"
What is the D48 when D 43 is plurality ↑??
CREATE TABLE table_name_27 (d_48 VARCHAR, d_43 VARCHAR)
SELECT AVG(total) FROM table_name_47 WHERE bronze < 0
How many Total medals did the Nation the got 0 Bronze medals receive?
CREATE TABLE table_name_47 (total INTEGER, bronze INTEGER)
SELECT network FROM table_name_20 WHERE origin_of_programming = "india" AND genre = "general" AND language = "bengali"
What network has an origin in India, a genre of general, and broadcasts in Bengali?
CREATE TABLE table_name_20 (network VARCHAR, language VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)
SELECT COUNT(position) FROM table_name_39 WHERE team = "figueirense" AND played > 38
How many positions have figueirense as the team, with a played greater than 38?
CREATE TABLE table_name_39 (position VARCHAR, team VARCHAR, played VARCHAR)
SELECT episodes FROM table_18173916_6 WHERE tuesday = "224 Assassin's Creed: Brotherhood Circus Training"
What were the dates when 224 Assassin's Creed: Brotherhood Circus Training was shown on Tuesday?
CREATE TABLE table_18173916_6 (episodes VARCHAR, tuesday VARCHAR)
SELECT transfer_fee FROM table_name_4 WHERE ends = "30 june 2010" AND moving_from = "birmingham city"
What transfer fee did Birmingham City get on 30 June 2010?
CREATE TABLE table_name_4 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR)
SELECT COUNT(population) FROM table_171361_1 WHERE area_km_2 = "10.25"
How many population values are listed for the community with an area of 10.25 sq.km.?
CREATE TABLE table_171361_1 (population VARCHAR, area_km_2 VARCHAR)
SELECT approx_premium FROM table_10408617_5 WHERE tariff_code = "g9"
What is the premium associated with tariff code g9?
CREATE TABLE table_10408617_5 (approx_premium VARCHAR, tariff_code VARCHAR)
SELECT opponent FROM table_name_93 WHERE surface = "clay" AND outcome = "winner" AND championship = "estoril" AND date = "15 april 1996"
who is the opponent when the surface is clay, the outcome is winner and the championship is estoril on 15 april 1996?
CREATE TABLE table_name_93 (opponent VARCHAR, date VARCHAR, championship VARCHAR, surface VARCHAR, outcome VARCHAR)
SELECT population FROM table_171361_1 WHERE status = "City"
What is the population of each community with city status?
CREATE TABLE table_171361_1 (population VARCHAR, status VARCHAR)
SELECT MIN(attendance) FROM table_10566855_1 WHERE score = "8.16 (64) – 8.12 (60)"
what is the minimum attendance with score 8.16 (64) – 8.12 (60)
CREATE TABLE table_10566855_1 (attendance INTEGER, score VARCHAR)
SELECT tc FROM table_name_40 WHERE wins = 1 AND races = 21
Which T.C. has a Win of 1, and a Race of 21?
CREATE TABLE table_name_40 (tc VARCHAR, wins VARCHAR, races VARCHAR)
SELECT venue FROM table_name_63 WHERE notes = "2:38:44"
What venue featured a notes of 2:38:44?
CREATE TABLE table_name_63 (venue VARCHAR, notes VARCHAR)
SELECT pos FROM table_name_75 WHERE driver = "adrian sutil"
Tell me the pos for adrian sutil
CREATE TABLE table_name_75 (pos VARCHAR, driver VARCHAR)
SELECT result FROM table_name_39 WHERE year > 2007 AND runners_up = "seoul samsung thunders" AND champions = "jeonju kcc egis"
What is the result for the champions jeonju kcc egis with runners-up seoul samsung thunders after 2007?
CREATE TABLE table_name_39 (result VARCHAR, champions VARCHAR, year VARCHAR, runners_up VARCHAR)
SELECT MAX(round) FROM table_name_53 WHERE position = "back" AND player = "ed cody"
What is the highest round where a back named Ed Cody can be found?
CREATE TABLE table_name_53 (round INTEGER, position VARCHAR, player VARCHAR)
SELECT COUNT(list_votes) FROM table_14834801_1 WHERE list_pct = "20.95%"
Name the total number of list votes for 20.95%
CREATE TABLE table_14834801_1 (list_votes VARCHAR, list_pct VARCHAR)
SELECT MIN(motogp_500cc) FROM table_2889810_1
What is the minimum MotoGP/500cc ranking?
CREATE TABLE table_2889810_1 (motogp_500cc INTEGER)
SELECT MIN(crowd) FROM table_name_20 WHERE venue = "corio oval"
What is the lowest crowd at corio oval?
CREATE TABLE table_name_20 (crowd INTEGER, venue VARCHAR)
SELECT record FROM table_name_24 WHERE method = "ko (head kick)"
What is the record for the Ko (head kick) method?
CREATE TABLE table_name_24 (record VARCHAR, method VARCHAR)
SELECT record FROM table_17104539_9 WHERE date = "June 7"
Name the record for june 7
CREATE TABLE table_17104539_9 (record VARCHAR, date VARCHAR)
SELECT COUNT(year) FROM table_name_8 WHERE events_won_by_kclMS < 7
How many years were the events won by KCLMS less than 7?
CREATE TABLE table_name_8 (year VARCHAR, events_won_by_kclMS INTEGER)
SELECT league FROM table_name_96 WHERE sport = "baseball"
What is the name of a league in the sport of baseball?
CREATE TABLE table_name_96 (league VARCHAR, sport VARCHAR)
SELECT catalogue FROM table_name_82 WHERE time = "2:10"
What catalogue has a length of 2:10?
CREATE TABLE table_name_82 (catalogue VARCHAR, time VARCHAR)
SELECT order FROM table_name_9 WHERE olympic_games = "tokyo"
What was the order of the Tokyo olympic games?
CREATE TABLE table_name_9 (order VARCHAR, olympic_games VARCHAR)
SELECT exaltation FROM table_name_10 WHERE domicile = "saturn" AND sign = "capricorn"
Which exaltation has a domicile of Saturn and Capricorn as a sign?
CREATE TABLE table_name_10 (exaltation VARCHAR, domicile VARCHAR, sign VARCHAR)
SELECT regular_season_results FROM table_21756039_1 WHERE year = "2011-2012"
What is the regular season results for the year 2011-2012?
CREATE TABLE table_21756039_1 (regular_season_results VARCHAR, year VARCHAR)
SELECT MAX(participants) FROM table_name_13 WHERE rank = 5 AND silver < 0
What is listed as the highest Participants that also have a Rank of 5, and Silver that's smaller than 0?
CREATE TABLE table_name_13 (participants INTEGER, rank VARCHAR, silver VARCHAR)
SELECT qual_1 FROM table_name_50 WHERE best < 58.669 AND qual_2 < 57.897
Which qualifying 1 time has a best under 58.669 and a qualifying 2 time under 57.897?
CREATE TABLE table_name_50 (qual_1 VARCHAR, best VARCHAR, qual_2 VARCHAR)
SELECT venue FROM table_name_89 WHERE away_team = "north melbourne"
Where was the game held where North Melbourne was the away team?
CREATE TABLE table_name_89 (venue VARCHAR, away_team VARCHAR)
SELECT school FROM table_24540893_6 WHERE position = "RB"
What school did the rb drafted attend?
CREATE TABLE table_24540893_6 (school VARCHAR, position VARCHAR)
SELECT COUNT(record) FROM table_23285805_5 WHERE game = 30
Name the number of records for 30 game
CREATE TABLE table_23285805_5 (record VARCHAR, game VARCHAR)
SELECT AVG(crowd) FROM table_name_17 WHERE away_team = "north melbourne"
What was the Average crowd when the away team was north melbourne?
CREATE TABLE table_name_17 (crowd INTEGER, away_team VARCHAR)
SELECT name FROM artist EXCEPT SELECT T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id WHERE T1.year = 2004
Show all artist names who didn't have an exhibition in 2004.
CREATE TABLE exhibition (artist_id VARCHAR, year VARCHAR); CREATE TABLE artist (name VARCHAR); CREATE TABLE artist (name VARCHAR, artist_id VARCHAR)
SELECT COUNT(pick__number) FROM table_name_39 WHERE player = "sawyer hannay"
What's sawyer hannay's total pick number?
CREATE TABLE table_name_39 (pick__number VARCHAR, player VARCHAR)
SELECT MAX(bronze) FROM table_name_49 WHERE total > 1 AND rank > 1 AND gold > 1
What is the most number of Bronze medals won among the countries that have won more than 1 medal, more than 1 gold medal, and have a rank bigger than 1?
CREATE TABLE table_name_49 (bronze INTEGER, gold VARCHAR, total VARCHAR, rank VARCHAR)
SELECT SUM(Population), MAX(GNP) FROM country WHERE Continent = "Asia"
What is the total population and maximum GNP in Asia?
CREATE TABLE country (Population INTEGER, GNP INTEGER, Continent VARCHAR)
SELECT COUNT(1 AS st_prize__) AS $__ FROM table_11621747_1 WHERE tournament = "The Transamerica"
How many prizes were there at the transamerica?
CREATE TABLE table_11621747_1 (tournament VARCHAR)
SELECT Name FROM journalist WHERE Nationality = "England" OR Nationality = "Wales"
Show the names of journalists from "England" or "Wales".
CREATE TABLE journalist (Name VARCHAR, Nationality VARCHAR)
SELECT MAX(1985) FROM table_name_88 WHERE 1990 < 267 AND 2000 = 333 AND 2005 < 658
What is the maximum 1985 GDP for the region where 1990 GDP is less than 267, 2000 GDP is 333 and 2005 GDP is less than 658?
CREATE TABLE table_name_88 (Id VARCHAR)
SELECT result FROM table_name_86 WHERE game = "game 1"
Which Result has a Game of game 1?
CREATE TABLE table_name_86 (result VARCHAR, game VARCHAR)
SELECT player FROM table_name_66 WHERE year = 2000
What player played in 2000?
CREATE TABLE table_name_66 (player VARCHAR, year VARCHAR)
SELECT gpu_frequency FROM table_name_87 WHERE cores = "ultra-low power"
What's the GPU frequency that has ultra-low power in cores?
CREATE TABLE table_name_87 (gpu_frequency VARCHAR, cores VARCHAR)
SELECT opponent FROM table_21091145_1 WHERE black_knights_points = 27
Name the opponent for black knights points 27
CREATE TABLE table_21091145_1 (opponent VARCHAR, black_knights_points VARCHAR)
SELECT score FROM table_name_44 WHERE opponent_in_the_final = "iroda tulyaganova"
What was the score when the opponent in the final was iroda tulyaganova?
CREATE TABLE table_name_44 (score VARCHAR, opponent_in_the_final VARCHAR)
SELECT MAX(pick) FROM table_name_87 WHERE nfl_club = "houston oilers" AND round > 10
What is the highest pick of the houston oilers NFL club, which has a round greater than 10?
CREATE TABLE table_name_87 (pick INTEGER, nfl_club VARCHAR, round VARCHAR)
SELECT opponent FROM table_name_29 WHERE game = 5
Who was the opponent for game 5?
CREATE TABLE table_name_29 (opponent VARCHAR, game VARCHAR)
SELECT yeast_ortholog FROM table_name_18 WHERE mouse_ortholog = "mms19"
What is the yeast ortholog of mouse ortholog MMS19?
CREATE TABLE table_name_18 (yeast_ortholog VARCHAR, mouse_ortholog VARCHAR)
SELECT club FROM table_name_93 WHERE played = "19" AND lost = "14"
What club has a played number of 19, and the lost of 14?
CREATE TABLE table_name_93 (club VARCHAR, played VARCHAR, lost VARCHAR)
SELECT away_team FROM table_name_2 WHERE home_team = "blackpool"
Who played Blackpool when Blackpool was at home?
CREATE TABLE table_name_2 (away_team VARCHAR, home_team VARCHAR)
SELECT team_captain FROM table_27374004_2 WHERE shirt_sponsor = "Quick"
What is the team captain when the shirt sponser is quick?
CREATE TABLE table_27374004_2 (team_captain VARCHAR, shirt_sponsor VARCHAR)
SELECT competition FROM table_name_56 WHERE town = "budva" AND opponent = "italy"
what is the competition played in budva against italy?
CREATE TABLE table_name_56 (competition VARCHAR, town VARCHAR, opponent VARCHAR)
SELECT COUNT(points) FROM table_14460085_3 WHERE team = "San Lorenzo"
How many points total for san lorenzo?
CREATE TABLE table_14460085_3 (points VARCHAR, team VARCHAR)
SELECT county FROM table_name_68 WHERE listed = "09/21/1984" AND construction_completed = "07/19/2000"
In what county is the entry that has a Construction Completed date of 07/19/2000 and a Listed date of 09/21/1984 located?
CREATE TABLE table_name_68 (county VARCHAR, listed VARCHAR, construction_completed VARCHAR)
SELECT date FROM table_name_2 WHERE against = "pohang steelers"
What date has an against of pohang steelers?
CREATE TABLE table_name_2 (date VARCHAR, against VARCHAR)
SELECT AVG(enrollment) FROM table_name_34 WHERE ihsaa_class = "a" AND location = "wolcott"
What is the average enrollment of the IHSAA A class in wolcott?
CREATE TABLE table_name_34 (enrollment INTEGER, ihsaa_class VARCHAR, location VARCHAR)
SELECT COUNT(total_goals) FROM table_name_27 WHERE league_cup_goals < 0
How many Total Goals values have 0 League Cup Goals?
CREATE TABLE table_name_27 (total_goals VARCHAR, league_cup_goals INTEGER)
SELECT position FROM table_name_44 WHERE pick < 25 AND school = "university of california"
What position has a pick less than 25 for the university of california?
CREATE TABLE table_name_44 (position VARCHAR, pick VARCHAR, school VARCHAR)
SELECT surface FROM table_name_23 WHERE score_in_final = "3-6, 6-3, 6-2"
What is Surface, when Score in Final is 3-6, 6-3, 6-2?
CREATE TABLE table_name_23 (surface VARCHAR, score_in_final VARCHAR)
SELECT semifinalists FROM table_name_93 WHERE tournament = "rome"
What is Semifinalists, when Tournament is Rome
CREATE TABLE table_name_93 (semifinalists VARCHAR, tournament VARCHAR)
SELECT event FROM table_name_37 WHERE position = "3rd" AND year = 2010
What event did she finish 3rd in 2010?
CREATE TABLE table_name_37 (event VARCHAR, position VARCHAR, year VARCHAR)
SELECT compression_ratio FROM table_name_57 WHERE dx_10_name = "(none)" AND fourcc = "dxt4"
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 chassis FROM table_name_49 WHERE engine = "brm v12"
Name the chassis for engine of brm v12
CREATE TABLE table_name_49 (chassis VARCHAR, engine VARCHAR)
SELECT theme FROM table_name_91 WHERE mintage = "3527"
What theme has a mintage of 3527?
CREATE TABLE table_name_91 (theme VARCHAR, mintage VARCHAR)
SELECT location FROM table_1973816_2 WHERE institution = "Southern Vermont College"
Where is Southern Vermont College located?
CREATE TABLE table_1973816_2 (location VARCHAR, institution VARCHAR)
SELECT wins FROM table_name_44 WHERE points = 217
How many wins does the driver with 217 points have?
CREATE TABLE table_name_44 (wins VARCHAR, points VARCHAR)
SELECT engine FROM table_name_51 WHERE team = "chesterfield racing" AND chassis = "march 761"
Which Engine has a Team of Chesterfield Racing and include a Chassis of March 761?
CREATE TABLE table_name_51 (engine VARCHAR, team VARCHAR, chassis VARCHAR)
SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id GROUP BY T1.cust_name HAVING COUNT(*) > 1
Find the name of customers who have more than one loan.
CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR); CREATE TABLE loan (cust_id VARCHAR)
SELECT COUNT(gold) FROM table_name_34 WHERE silver = 2 AND total < 7
What is the total number of Gold, when Silver is 2, and when Total is less than 7?
CREATE TABLE table_name_34 (gold VARCHAR, silver VARCHAR, total VARCHAR)
SELECT height_in_ft FROM table_name_59 WHERE school_club_team_country = "wyoming"
Name the height in ft for the player from wyoming
CREATE TABLE table_name_59 (height_in_ft VARCHAR, school_club_team_country VARCHAR)
SELECT sail_number FROM table_25595209_1 WHERE skipper = "Matt Allen"
What is Matt Allen's sail number?
CREATE TABLE table_25595209_1 (sail_number VARCHAR, skipper VARCHAR)
SELECT director_s_ FROM table_name_44 WHERE writer_s_ = "dana dorian"
Who was the director that worked with Dana Dorian as the writer?
CREATE TABLE table_name_44 (director_s_ VARCHAR, writer_s_ VARCHAR)
SELECT producer FROM table_name_99 WHERE location = "poolavadi"
What company is the producer at the poolavadi location
CREATE TABLE table_name_99 (producer VARCHAR, location VARCHAR)
SELECT position FROM table_name_29 WHERE notes = "20km" AND year < 2002
What position had notes of 20km and a year earlier than 2002?
CREATE TABLE table_name_29 (position VARCHAR, notes VARCHAR, year VARCHAR)
SELECT first_performance FROM table_name_72 WHERE style = "ballet" AND status = "final cast" AND name = "peter mazurowski"
when was the first performance for the ballet with peter mazurowski in the final cast?
CREATE TABLE table_name_72 (first_performance VARCHAR, name VARCHAR, style VARCHAR, status VARCHAR)
SELECT wednesday FROM table_name_46 WHERE monday = "月曜日 getsuyōbi"
Which Wednesday has a Monday of 月曜日 getsuyōbi?
CREATE TABLE table_name_46 (wednesday VARCHAR, monday VARCHAR)
SELECT tournament FROM table_name_8 WHERE date = "jan 29, 2012"
What tournament was on Jan 29, 2012?
CREATE TABLE table_name_8 (tournament VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_37 WHERE home_away = "home" AND result = "w 16-15"
Name the opponent when the result is w 16-15 and has home/away of home
CREATE TABLE table_name_37 (opponent VARCHAR, home_away VARCHAR, result VARCHAR)
SELECT third_place FROM table_17632217_2 WHERE total_wins = 4
Who took third-place when there were 4 total wins?
CREATE TABLE table_17632217_2 (third_place VARCHAR, total_wins VARCHAR)
SELECT poor_law_union FROM table_30121046_1 WHERE townland = "Lackenagobidane"
What is the poor law union of the Lackenagobidane townland?
CREATE TABLE table_30121046_1 (poor_law_union VARCHAR, townland VARCHAR)
SELECT home_team FROM table_name_80 WHERE game = "game 2"
What is the Home Team in Game 2?
CREATE TABLE table_name_80 (home_team VARCHAR, game VARCHAR)
SELECT eastern__number2 FROM table_name_23 WHERE western__number2 = "oakland"
Tell me the eastern #2 for western #2 of oakland
CREATE TABLE table_name_23 (eastern__number2 VARCHAR, western__number2 VARCHAR)
SELECT set_3 FROM table_name_9 WHERE set_1 = "19-25" AND set_2 = "19-25"
Which set 3 has a Set 1 of 19-25, and a Set 2 of 19-25?
CREATE TABLE table_name_9 (set_3 VARCHAR, set_1 VARCHAR, set_2 VARCHAR)
SELECT location FROM table_13759592_1 WHERE nickname = "Vikings"
Which location has a team that is nicknamed the Vikings?
CREATE TABLE table_13759592_1 (location VARCHAR, nickname VARCHAR)