question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What music is in the film before 1962?
CREATE TABLE "jacopetti_and_prosperi" ( "title" text, "year" real, "country" text, "music" text, "uncut_run_time" text );
SELECT "music" FROM "jacopetti_and_prosperi" WHERE "year"=1962;
2-1176486-1
Which home team scored 15.16 (106)?
CREATE TABLE "round_10" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_10" WHERE "home_team_score"='15.16 (106)';
2-10826072-10
Which team played as the home team when north melbourne played as away?
CREATE TABLE "round_10" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_10" WHERE "away_team"='north melbourne';
2-10826072-10
When the away team scored 7.13 (55), who were they playing?
CREATE TABLE "round_10" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_10" WHERE "away_team_score"='7.13 (55)';
2-10826072-10
When the home team scored 19.10 (124), what was the total crowd number?
CREATE TABLE "round_10" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT COUNT("crowd") FROM "round_10" WHERE "home_team_score"='19.10 (124)';
2-10826072-10
what is the position of pick #53?
CREATE TABLE "round_six" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "position" FROM "round_six" WHERE "pick_num"=53;
2-10960039-6
what is the position for andrew paopao?
CREATE TABLE "round_six" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "position" FROM "round_six" WHERE "player"='andrew paopao';
2-10960039-6
In which venue is South Melbourne the home team?
CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_11" WHERE "home_team"='south melbourne';
2-10809368-11
In the game where the home team scored 12.14 (86), what was the total crowd number?
CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT COUNT("crowd") FROM "round_11" WHERE "home_team_score"='12.14 (86)';
2-10809368-11
When South Melbourne was the home team, who was the away team?
CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team" FROM "round_11" WHERE "home_team"='south melbourne';
2-10809368-11
What venue is Hawthorn the home team at?
CREATE TABLE "round_11" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_11" WHERE "home_team"='hawthorn';
2-10809368-11
What is the capacity for the arena in Chester?
CREATE TABLE "teams" ( "team" text, "city_area" text, "arena" text, "capacity" text, "last_season" text );
SELECT "capacity" FROM "teams" WHERE "city_area"='chester';
2-10784940-1
Which arena has a capactiy of 1,100?
CREATE TABLE "teams" ( "team" text, "city_area" text, "arena" text, "capacity" text, "last_season" text );
SELECT "arena" FROM "teams" WHERE "capacity"='1,100';
2-10784940-1
What is the last season that the Scottish Rocks played?
CREATE TABLE "teams" ( "team" text, "city_area" text, "arena" text, "capacity" text, "last_season" text );
SELECT "last_season" FROM "teams" WHERE "team"='scottish rocks';
2-10784940-1
Which arena has the Milton Keynes Lions and a capacity of 800?
CREATE TABLE "teams" ( "team" text, "city_area" text, "arena" text, "capacity" text, "last_season" text );
SELECT "arena" FROM "teams" WHERE "capacity"='800' AND "team"='milton keynes lions';
2-10784940-1
What is the last season the Worcester Wolves played?
CREATE TABLE "teams" ( "team" text, "city_area" text, "arena" text, "capacity" text, "last_season" text );
SELECT "last_season" FROM "teams" WHERE "team"='worcester wolves';
2-10784940-1
Which team is from Birmingham & Telford?
CREATE TABLE "teams" ( "team" text, "city_area" text, "arena" text, "capacity" text, "last_season" text );
SELECT "team" FROM "teams" WHERE "city_area"='birmingham & telford';
2-10784940-1
Who has the least wins when ranked above 3 with over 10 events?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real );
SELECT MIN("wins") FROM "leaders" WHERE "rank"<3 AND "events">10;
2-11622896-2
How many wins for billy casper over 8 events and uner $71,979 in earnings?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real );
SELECT MIN("wins") FROM "leaders" WHERE "events"=8 AND "player"='billy casper' AND "earnings"<'71,979';
2-11622896-2
What is the lowest rank for a player earning $71,979?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real );
SELECT MIN("rank") FROM "leaders" WHERE "earnings"<'71,979';
2-11622896-2
What was the Gdp (bn) for the region that has ioannina as its Capital?
CREATE TABLE "administrative_divisions" ( "region" text, "capital" text, "area_km" text, "area_sq_mi" text, "population" text, "gdp_bn" text );
SELECT "gdp_bn" FROM "administrative_divisions" WHERE "capital"='ioannina';
2-12108-1
Which Region has an Area of 9,451km²?
CREATE TABLE "administrative_divisions" ( "region" text, "capital" text, "area_km" text, "area_sq_mi" text, "population" text, "gdp_bn" text );
SELECT "region" FROM "administrative_divisions" WHERE "area_km"='9,451';
2-12108-1
Which capital has a population of 308,610?
CREATE TABLE "administrative_divisions" ( "region" text, "capital" text, "area_km" text, "area_sq_mi" text, "population" text, "gdp_bn" text );
SELECT "capital" FROM "administrative_divisions" WHERE "population"='308,610';
2-12108-1
Which Region has an area of 14,037km²?
CREATE TABLE "administrative_divisions" ( "region" text, "capital" text, "area_km" text, "area_sq_mi" text, "population" text, "gdp_bn" text );
SELECT "region" FROM "administrative_divisions" WHERE "area_km"='14,037';
2-12108-1
What is the GDP for the region with an area of 7,263 sq. mi.?
CREATE TABLE "administrative_divisions" ( "region" text, "capital" text, "area_km" text, "area_sq_mi" text, "population" text, "gdp_bn" text );
SELECT "gdp_bn" FROM "administrative_divisions" WHERE "area_sq_mi"='7,263';
2-12108-1
What is the population for the region with an area of 6,004 sq. Mi.?
CREATE TABLE "administrative_divisions" ( "region" text, "capital" text, "area_km" text, "area_sq_mi" text, "population" text, "gdp_bn" text );
SELECT "population" FROM "administrative_divisions" WHERE "area_sq_mi"='6,004';
2-12108-1
What is the lowest episode # with an air date of October 31, 2001?
CREATE TABLE "season_4_2001_2002" ( "episode_num" real, "num_in_season" real, "episode_name" text, "airdate" text, "location" text );
SELECT MIN("episode_num") FROM "season_4_2001_2002" WHERE "airdate"='october 31, 2001';
2-11548185-5
What is the average episode # located in Tanzania and whose # in season is larger than 5?
CREATE TABLE "season_4_2001_2002" ( "episode_num" real, "num_in_season" real, "episode_name" text, "airdate" text, "location" text );
SELECT AVG("episode_num") FROM "season_4_2001_2002" WHERE "location"='tanzania' AND "num_in_season">5;
2-11548185-5
What is the average episode # with a name of the origin of Donnie (part 1)?
CREATE TABLE "season_4_2001_2002" ( "episode_num" real, "num_in_season" real, "episode_name" text, "airdate" text, "location" text );
SELECT AVG("episode_num") FROM "season_4_2001_2002" WHERE "episode_name"='the origin of donnie (part 1)';
2-11548185-5
Which air date has 5 for # in season?
CREATE TABLE "season_4_2001_2002" ( "episode_num" real, "num_in_season" real, "episode_name" text, "airdate" text, "location" text );
SELECT "airdate" FROM "season_4_2001_2002" WHERE "num_in_season"=5;
2-11548185-5
What venue is home for the Melbourne team?
CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_13" WHERE "home_team"='melbourne';
2-10826072-13
What is the venue for the home team in Melbourne?
CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_13" WHERE "home_team"='melbourne';
2-10826072-13
Which venue has a home team that has a score of 18.16 (124)?
CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_13" WHERE "home_team_score"='18.16 (124)';
2-10826072-13
Which home team played an away team that had a score of 16.15 (111)?
CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_13" WHERE "away_team_score"='16.15 (111)';
2-10826072-13
Which License has a System of amiga, and a Name of pocketuae?
CREATE TABLE "list_of_computer_system_emulators" ( "name" text, "actual_version" text, "system" text, "platform" text, "license" text );
SELECT "license" FROM "list_of_computer_system_emulators" WHERE "system"='amiga' AND "name"='pocketuae';
2-11561331-13
What name has a License of gpl, and an Actual version of 0.8.29wip4?
CREATE TABLE "list_of_computer_system_emulators" ( "name" text, "actual_version" text, "system" text, "platform" text, "license" text );
SELECT "name" FROM "list_of_computer_system_emulators" WHERE "license"='gpl' AND "actual_version"='0.8.29wip4';
2-11561331-13
Which platform has an Actual version of 0.147?
CREATE TABLE "list_of_computer_system_emulators" ( "name" text, "actual_version" text, "system" text, "platform" text, "license" text );
SELECT "platform" FROM "list_of_computer_system_emulators" WHERE "actual_version"='0.147';
2-11561331-13
Which name has a License of gpl, and a Platform of windows?
CREATE TABLE "list_of_computer_system_emulators" ( "name" text, "actual_version" text, "system" text, "platform" text, "license" text );
SELECT "name" FROM "list_of_computer_system_emulators" WHERE "license"='gpl' AND "platform"='windows';
2-11561331-13
Which system is named mess?
CREATE TABLE "list_of_computer_system_emulators" ( "name" text, "actual_version" text, "system" text, "platform" text, "license" text );
SELECT "system" FROM "list_of_computer_system_emulators" WHERE "name"='mess';
2-11561331-13
Which Platform has an Actual version of 0.8.29?
CREATE TABLE "list_of_computer_system_emulators" ( "name" text, "actual_version" text, "system" text, "platform" text, "license" text );
SELECT "platform" FROM "list_of_computer_system_emulators" WHERE "actual_version"='0.8.29';
2-11561331-13
What's the earliest year that had a category of best supporting actress at the asian film awards?
CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "nominated_work" text, "result" text );
SELECT MIN("year") FROM "awards_and_nominations" WHERE "category"='best supporting actress' AND "award"='asian film awards';
2-1128817-3
Which award show had the category of best supporting actress?
CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "nominated_work" text, "result" text );
SELECT "award" FROM "awards_and_nominations" WHERE "category"='best supporting actress';
2-1128817-3
Did the nominated work of white valentine win an award?
CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "nominated_work" text, "result" text );
SELECT "result" FROM "awards_and_nominations" WHERE "nominated_work"='white valentine';
2-1128817-3
Which category was the berlin file up to win in 2013?
CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "nominated_work" text, "result" text );
SELECT "category" FROM "awards_and_nominations" WHERE "year"=2013 AND "nominated_work"='the berlin file';
2-1128817-3
What is the final position/round of the UEFA cup?
CREATE TABLE "overall" ( "competition" text, "current_position_round" text, "final_position_round" text, "first_match" text, "last_match" text );
SELECT "final_position_round" FROM "overall" WHERE "competition"='uefa cup';
2-11221038-28
When the final position/round is group stage, when is the last match?
CREATE TABLE "overall" ( "competition" text, "current_position_round" text, "final_position_round" text, "first_match" text, "last_match" text );
SELECT "last_match" FROM "overall" WHERE "final_position_round"='group stage';
2-11221038-28
When did the DC Comics title that debuted in 1937 end?
CREATE TABLE "u_s" ( "title" text, "publisher" text, "first_year" text, "last_year" text, "genre" text );
SELECT "last_year" FROM "u_s" WHERE "first_year"='1937' AND "publisher"='dc comics';
2-1176914-1
Who published Weird War Tales?
CREATE TABLE "u_s" ( "title" text, "publisher" text, "first_year" text, "last_year" text, "genre" text );
SELECT "publisher" FROM "u_s" WHERE "title"='weird war tales';
2-1176914-1
When did the comic which came out in 1982 end?
CREATE TABLE "u_s" ( "title" text, "publisher" text, "first_year" text, "last_year" text, "genre" text );
SELECT "last_year" FROM "u_s" WHERE "first_year"='1982';
2-1176914-1
Which EC Comics title ran from 1950 to 1953?
CREATE TABLE "u_s" ( "title" text, "publisher" text, "first_year" text, "last_year" text, "genre" text );
SELECT "title" FROM "u_s" WHERE "first_year"='1950' AND "publisher"='ec comics' AND "last_year"='1953';
2-1176914-1
What is the first year for Popgun?
CREATE TABLE "u_s" ( "title" text, "publisher" text, "first_year" text, "last_year" text, "genre" text );
SELECT "first_year" FROM "u_s" WHERE "title"='popgun';
2-1176914-1
What's the region for an item on November 10, 2007 that's a cd?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "region" FROM "release_history" WHERE "date"='november 10, 2007' AND "format"='cd';
2-11391762-5
What's the catalog number for a record from columbia formatted in a cd/dvd that's from the United States region?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "catalog" FROM "release_history" WHERE "label"='columbia' AND "region"='united states' AND "format"='cd/dvd';
2-11391762-5
What's the catalog number for a December 11, 2007 record from columbia formatted in a that's from Canada?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "catalog" FROM "release_history" WHERE "label"='columbia' AND "date"='december 11, 2007' AND "region"='canada';
2-11391762-5
Which team has an away score of 18.14 (122)?
CREATE TABLE "round_22" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_22" WHERE "away_team_score"='18.14 (122)';
2-10823719-22
What is the average crowd size for an away team with a score of 14.19 (103)?
CREATE TABLE "round_22" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT AVG("crowd") FROM "round_22" WHERE "away_team_score"='14.19 (103)';
2-10823719-22
What is the average crowd size at Princes Park?
CREATE TABLE "round_22" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT SUM("crowd") FROM "round_22" WHERE "venue"='princes park';
2-10823719-22
who is the constructor when the free practice driver(s) is n/a, the chassis is 005 and the driver is takuma sato?
CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text, "free_practice_driver_s" text );
SELECT "constructor" FROM "drivers_and_constructors" WHERE "free_practice_driver_s"='n/a' AND "chassis"='005' AND "driver"='takuma sato';
2-1132568-1
what is the rounds when the entrant is scuderia ferrari marlboro?
CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text, "free_practice_driver_s" text );
SELECT "rounds" FROM "drivers_and_constructors" WHERE "entrant"='scuderia ferrari marlboro';
2-1132568-1
what is the chassis when the entrant is mild seven renault f1 team and the driver is jarno trulli?
CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text, "free_practice_driver_s" text );
SELECT "chassis" FROM "drivers_and_constructors" WHERE "entrant"='mild seven renault f1 team' AND "driver"='jarno trulli';
2-1132568-1
what is the engine when the tyre is m and the driver is fernando alonso?
CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text, "free_practice_driver_s" text );
SELECT "engine" FROM "drivers_and_constructors" WHERE "tyre"='m' AND "driver"='fernando alonso';
2-1132568-1
who is the constructor when the driver is juan pablo montoya?
CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text, "free_practice_driver_s" text );
SELECT "constructor" FROM "drivers_and_constructors" WHERE "driver"='juan pablo montoya';
2-1132568-1
What is the low TD for 49 longs and 1436 less yards?
CREATE TABLE "receiving" ( "player" text, "rec" real, "yards" real, "avg" real, "td_s" real, "long" real );
SELECT MIN("td_s") FROM "receiving" WHERE "long"=49 AND "yards"<1436;
2-11786440-4
What is the total count of TD longs more than 29?
CREATE TABLE "receiving" ( "player" text, "rec" real, "yards" real, "avg" real, "td_s" real, "long" real );
SELECT COUNT("long") FROM "receiving" WHERE "td_s">29;
2-11786440-4
What is the toal rec with more than 27 and averages less than 10.8 and TDs more than 6?
CREATE TABLE "receiving" ( "player" text, "rec" real, "yards" real, "avg" real, "td_s" real, "long" real );
SELECT COUNT("long") FROM "receiving" WHERE "rec">27 AND "avg"<10.8 AND "td_s">6;
2-11786440-4
How many people attended the game with a record of 86-56
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT COUNT("attendance") FROM "game_log" WHERE "record"='86-56';
2-11800675-7
Name the date that had a record of 90-60
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "date" FROM "game_log" WHERE "record"='90-60';
2-11800675-7
On the game where the home team scored 9.9 (63) and the crowd exceeded 14,589, what was the date?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_2" WHERE "crowd">'14,589' AND "home_team_score"='9.9 (63)';
2-10808933-2
On the game where the home team scored 9.9 (63), where was the venue.
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_2" WHERE "home_team_score"='9.9 (63)';
2-10808933-2
On which date did the away team score 10.11 (71)?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_2" WHERE "away_team_score"='10.11 (71)';
2-10808933-2
What was the highest Sinclair Total that had a rank of 3, but a World Record smaller than 217?
CREATE TABLE "notable_sinclair_totals_throughout_the_h" ( "weight_class_kg" real, "world_record_kg" real, "sinclair_coefficient" real, "sinclair_total" real, "rank" real );
SELECT MAX("sinclair_total") FROM "notable_sinclair_totals_throughout_the_h" WHERE "rank"=3 AND "world_record_kg"<217;
2-11072011-2
What is the name of the venue that they away team Collingwood played at?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_1" WHERE "away_team"='collingwood';
2-10809142-1
What is the score of the away team where the home team scored 14.8 (92)?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team_score" FROM "round_1" WHERE "home_team_score"='14.8 (92)';
2-10809142-1
What is the name of the home team that scored 11.16 (82)?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_1" WHERE "home_team_score"='11.16 (82)';
2-10809142-1
What is the score of the away team whose opponent scored 14.8 (92)?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team_score" FROM "round_1" WHERE "home_team_score"='14.8 (92)';
2-10809142-1
On what date did the home team score 9.14 (68)?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_1" WHERE "home_team_score"='9.14 (68)';
2-10809142-1
How much did the away team St Kilda score?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team_score" FROM "round_1" WHERE "away_team"='st kilda';
2-10809142-1
What date did Carlton play as the away team?
CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_17" WHERE "away_team"='carlton';
2-10788451-17
What was the home team's score at Windy Hill?
CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_17" WHERE "venue"='windy hill';
2-10788451-17
What is the lowest grid value with fewer than 17 laps and constructor Sauber - Petronas?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT MIN("grid") FROM "classification" WHERE "laps"<17 AND "constructor"='sauber - petronas';
2-1123574-1
Which Time/Retired entry has greater than 51 laps and driver Cristiano da Matta?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "classification" WHERE "laps">51 AND "driver"='cristiano da matta';
2-1123574-1
How many ties did the Montreal Victorias have with a GA of less than 24?
CREATE TABLE "final_standing" ( "team" text, "games_played" real, "wins" real, "losses" real, "ties" real, "goals_for" real, "goals_against" real );
SELECT MAX("ties") FROM "final_standing" WHERE "team"='montreal victorias' AND "goals_against"<24;
2-11786828-1
How many years was the record 3:40.8?
CREATE TABLE "period_of_differently_named_meetings" ( "year" real, "event" text, "record" text, "athlete" text, "nationality" text );
SELECT COUNT("year") FROM "period_of_differently_named_meetings" WHERE "record"='3:40.8';
2-1102696-2
What event is before 1964 and has an athlete of lászló tábori gunnar nielsen?
CREATE TABLE "period_of_differently_named_meetings" ( "year" real, "event" text, "record" text, "athlete" text, "nationality" text );
SELECT "event" FROM "period_of_differently_named_meetings" WHERE "year"<1964 AND "athlete"='lászló tábori gunnar nielsen';
2-1102696-2
Who is the leading scorer of the game where the Kings is the home team?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "leading_scorer" FROM "march" WHERE "home"='kings';
2-11962021-9
Who is the visitor team of the game on March 2, 2008?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "visitor" FROM "march" WHERE "date"='march 2, 2008';
2-11962021-9
What is the attendance total of the game with the Lakers as the home team?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT COUNT("attendance") FROM "march" WHERE "home"='lakers';
2-11962021-9
Which week had 39,056 people in attendance?
CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text );
SELECT "week" FROM "schedule" WHERE "attendance"='39,056';
2-11465246-2
What is the kickoff time for week 3?
CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text );
SELECT "kickoff_a" FROM "schedule" WHERE "week"='3';
2-11465246-2
What is the kickoff time for the Hubert H. Humphrey Metrodome?
CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text );
SELECT "kickoff_a" FROM "schedule" WHERE "game_site"='hubert h. humphrey metrodome';
2-11465246-2
What is the result when the Indianapolis Colts are the opponents?
CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text );
SELECT "result" FROM "schedule" WHERE "opponent"='indianapolis colts';
2-11465246-2
Who was the opponent on September 13, 1992?
CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text );
SELECT "opponent" FROM "schedule" WHERE "date"='september 13, 1992';
2-11465246-2
What is the result on November 1, 1992?
CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text );
SELECT "result" FROM "schedule" WHERE "date"='november 1, 1992';
2-11465246-2
What was the away score when the home team was Melbourne?
CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team_score" FROM "round_14" WHERE "home_team"='melbourne';
2-10806592-14
Who played Collingwood?
CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team" FROM "round_14" WHERE "home_team"='collingwood';
2-10806592-14
Who was the visiting team on April 8 where more than 19,141 were in attendance?
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "visitor" FROM "april" WHERE "attendance">'19,141' AND "date"='april 8';
2-11961701-8
How big was the crowd for Essendon?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT SUM("crowd") FROM "round_2" WHERE "home_team"='essendon';
2-10807673-2
Which team played against North Melbourne as the home team?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_2" WHERE "away_team"='north melbourne';
2-10807673-2
Which home team plays at Punt Road Oval?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_2" WHERE "venue"='punt road oval';
2-10807673-2
Which team plays at Punt Road Oval?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_2" WHERE "venue"='punt road oval';
2-10807673-2