question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Which Circuit is on July 24? | CREATE TABLE "races" (
"race_name" text,
"circuit" text,
"city_location" text,
"date" text,
"pole_position" text,
"winning_driver" text,
"winning_team" text,
"report" text
); | SELECT "circuit" FROM "races" WHERE "date"='july 24'; | 2-10707142-2 |
What date did Delage win? | CREATE TABLE "other_grands_prix" (
"name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
); | SELECT "date" FROM "other_grands_prix" WHERE "winning_constructor"='delage'; | 2-10617925-2 |
What circuit did Luigi Villoresi win the Lausanne Grand Prix? | CREATE TABLE "other_grands_prix" (
"name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
); | SELECT "circuit" FROM "other_grands_prix" WHERE "winning_driver"='luigi villoresi' AND "name"='lausanne grand prix'; | 2-10617925-2 |
Which Grand Prix did Nello Pagani win? | CREATE TABLE "other_grands_prix" (
"name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
); | SELECT "name" FROM "other_grands_prix" WHERE "winning_driver"='nello pagani'; | 2-10617925-2 |
What did the home team score when playing Fitzroy 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 "home_team_score" FROM "round_17" WHERE "away_team"='fitzroy'; | 2-10747009-17 |
What did the home team score when playing at Western Oval? | 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"='western oval'; | 2-10747009-17 |
What away team played Collingwood? | 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 "away_team" FROM "round_17" WHERE "home_team"='collingwood'; | 2-10747009-17 |
On what date did Collingwood play at home? | 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 "home_team"='collingwood'; | 2-10747009-17 |
Name the average round where Dave Stachelski was picked smaller than 187. | CREATE TABLE "2000_new_england_patriots_draft_selectio" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
); | SELECT AVG("round") FROM "2000_new_england_patriots_draft_selectio" WHERE "overall"<187 AND "player"='dave stachelski'; | 2-10696381-1 |
Which position did David Nugent play with an overall small than 187? | CREATE TABLE "2000_new_england_patriots_draft_selectio" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "2000_new_england_patriots_draft_selectio" WHERE "overall">187 AND "player"='david nugent'; | 2-10696381-1 |
Name the college that has an overall larger than 187 and a round smaller than 7 for the defensive end position. | CREATE TABLE "2000_new_england_patriots_draft_selectio" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "2000_new_england_patriots_draft_selectio" WHERE "overall">187 AND "round"<7 AND "position"='defensive end'; | 2-10696381-1 |
Which player has less than 201 games, is ranked 2, and played between 2007-2012? | CREATE TABLE "shutouts" (
"rank" real,
"player" text,
"nation" text,
"shutouts" real,
"games" real,
"years" text
); | SELECT "player" FROM "shutouts" WHERE "games"<201 AND "rank"=2 AND "years"='2007-2012'; | 2-1053453-9 |
How many average games did Nick Rimando have? | CREATE TABLE "shutouts" (
"rank" real,
"player" text,
"nation" text,
"shutouts" real,
"games" real,
"years" text
); | SELECT AVG("games") FROM "shutouts" WHERE "player"='nick rimando'; | 2-1053453-9 |
What is the party of the politician who left office on January 12, 1857 | CREATE TABLE "list_of_lieutenant_governors" (
"name" text,
"took_office" text,
"left_office" text,
"party" text,
"governor" text
); | SELECT "party" FROM "list_of_lieutenant_governors" WHERE "left_office"='january 12, 1857'; | 2-10671009-1 |
What is the party of the governor under Hugh Thomas Miller. | CREATE TABLE "list_of_lieutenant_governors" (
"name" text,
"took_office" text,
"left_office" text,
"party" text,
"governor" text
); | SELECT "governor" FROM "list_of_lieutenant_governors" WHERE "name"='hugh thomas miller'; | 2-10671009-1 |
Who left office on January 9, 1893 | CREATE TABLE "list_of_lieutenant_governors" (
"name" text,
"took_office" text,
"left_office" text,
"party" text,
"governor" text
); | SELECT "name" FROM "list_of_lieutenant_governors" WHERE "left_office"='january 9, 1893'; | 2-10671009-1 |
Who took office under the government of Matthew E. Welsh? | CREATE TABLE "list_of_lieutenant_governors" (
"name" text,
"took_office" text,
"left_office" text,
"party" text,
"governor" text
); | SELECT "took_office" FROM "list_of_lieutenant_governors" WHERE "governor"='matthew e. welsh'; | 2-10671009-1 |
Which governor took office on January 13, 1877 | CREATE TABLE "list_of_lieutenant_governors" (
"name" text,
"took_office" text,
"left_office" text,
"party" text,
"governor" text
); | SELECT "governor" FROM "list_of_lieutenant_governors" WHERE "took_office"='january 13, 1877'; | 2-10671009-1 |
What is the score of the Geelong away team? | CREATE TABLE "round_3" (
"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_3" WHERE "away_team"='geelong'; | 2-10701914-3 |
What is the crowd for the team with a score of 10.9 (69)? | CREATE TABLE "round_3" (
"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_3" WHERE "home_team_score"='10.9 (69)'; | 2-10701914-3 |
What is the score of the team that plays in lake oval? | CREATE TABLE "round_3" (
"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_3" WHERE "venue"='lake oval'; | 2-10701914-3 |
What the date of the game of the team that plays in princes park? | CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_3" WHERE "venue"='princes park'; | 2-10701914-3 |
What was the score of the home team of carlton? | CREATE TABLE "round_3" (
"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_3" WHERE "home_team"='carlton'; | 2-10701914-3 |
How many people watched the away team of Geelong? | CREATE TABLE "round_7" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "crowd" FROM "round_7" WHERE "away_team"='geelong'; | 2-10775038-7 |
Which home team has the Brunswick Street Oval venue? | 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_score" FROM "round_1" WHERE "venue"='brunswick street oval'; | 2-10775038-1 |
Which home team has the Brunswick Street Oval venue? | 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 "venue"='brunswick street oval'; | 2-10775038-1 |
Which Away team has an Away team score of 11.18 (84)? | 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" FROM "round_1" WHERE "away_team_score"='11.18 (84)'; | 2-10775038-1 |
Which Away team has a Home team of Collingwood? | 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" FROM "round_1" WHERE "home_team"='collingwood'; | 2-10775038-1 |
Which Away team has a Home score of 9.15 (69)? | 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" FROM "round_1" WHERE "home_team_score"='9.15 (69)'; | 2-10775038-1 |
Which is the lowest crop total with New South Wales at 42 kilotonnes and Victorian at less than 68 kilotonnes? | CREATE TABLE "crops" (
"crop_kilotonnes" text,
"new_south_wales" real,
"victoria" real,
"queensland" real,
"western_australia" real,
"south_australia" real,
"tasmania" real,
"total" real
); | SELECT MIN("total") FROM "crops" WHERE "new_south_wales"=42 AND "victoria"<68; | 2-1057262-2 |
Who had a qual 1 best of 1:01.704? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "qual_1" FROM "qualifying_results" WHERE "best"='1:01.704'; | 2-10599984-1 |
What team had a qual 1 of 1:02.755? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "team" FROM "qualifying_results" WHERE "qual_1"='1:02.755'; | 2-10599984-1 |
What is the qual 1 for rusport and had a best of 58.665? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "qual_1" FROM "qualifying_results" WHERE "team"='rusport' AND "best"='58.665'; | 2-10599984-1 |
What team had a qual 1 of 59.895? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "team" FROM "qualifying_results" WHERE "qual_1"='59.895'; | 2-10599984-1 |
Who had a qual 1 of 1:01.461? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "name" FROM "qualifying_results" WHERE "qual_1"='1:01.461'; | 2-10599984-1 |
What is the LFN support with 32-bit architecture on Windows Home Server? | CREATE TABLE "windows_nt" (
"name" text,
"architecture" text,
"usb_support" text,
"lfn_support" text,
"ap_is" text
); | SELECT "lfn_support" FROM "windows_nt" WHERE "architecture"='32-bit' AND "name"='windows home server'; | 2-10758793-10 |
What is the LFN support on Windows NT 3.1? | CREATE TABLE "windows_nt" (
"name" text,
"architecture" text,
"usb_support" text,
"lfn_support" text,
"ap_is" text
); | SELECT "lfn_support" FROM "windows_nt" WHERE "name"='windows nt 3.1'; | 2-10758793-10 |
What venue has the away side scoring 15.23 (113)? | CREATE TABLE "round_7" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_7" WHERE "away_team_score"='15.23 (113)'; | 2-10767641-7 |
What venue features hawthorn as the away team? | CREATE TABLE "round_7" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_7" WHERE "away_team"='hawthorn'; | 2-10767641-7 |
How many people attended the game with the home side scoring 11.13 (79)? | CREATE TABLE "round_7" (
"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_7" WHERE "home_team_score"='11.13 (79)'; | 2-10767641-7 |
How many cop apps in the season with fewer than 12 league apps? | CREATE TABLE "swindon_town_career_details" (
"season" text,
"team" text,
"league_apps" real,
"league_goals" real,
"cup_apps" real,
"cup_goals" real
); | SELECT SUM("cup_apps") FROM "swindon_town_career_details" WHERE "league_apps"<12; | 2-10556257-1 |
What season saw 6 cup apps and 5 cup goals? | CREATE TABLE "swindon_town_career_details" (
"season" text,
"team" text,
"league_apps" real,
"league_goals" real,
"cup_apps" real,
"cup_goals" real
); | SELECT "season" FROM "swindon_town_career_details" WHERE "cup_apps"=6 AND "cup_goals"=5; | 2-10556257-1 |
How many league apps in the season with more than 2 cup goals and more than 6 cup apps? | CREATE TABLE "swindon_town_career_details" (
"season" text,
"team" text,
"league_apps" real,
"league_goals" real,
"cup_apps" real,
"cup_goals" real
); | SELECT SUM("league_apps") FROM "swindon_town_career_details" WHERE "cup_goals">2 AND "cup_apps">6; | 2-10556257-1 |
How many cup goals for the season with more than 34 league apps? | CREATE TABLE "swindon_town_career_details" (
"season" text,
"team" text,
"league_apps" real,
"league_goals" real,
"cup_apps" real,
"cup_goals" real
); | SELECT AVG("cup_goals") FROM "swindon_town_career_details" WHERE "league_apps">34; | 2-10556257-1 |
How many cup goals in the season with more than 5 league apps, 1 cup apps and fewer than 4 league goals? | CREATE TABLE "swindon_town_career_details" (
"season" text,
"team" text,
"league_apps" real,
"league_goals" real,
"cup_apps" real,
"cup_goals" real
); | SELECT SUM("cup_goals") FROM "swindon_town_career_details" WHERE "league_apps">5 AND "cup_apps"=1 AND "league_goals"<4; | 2-10556257-1 |
How many cup apps for the season where there are more than 10 league goals and 23 league apps? | CREATE TABLE "swindon_town_career_details" (
"season" text,
"team" text,
"league_apps" real,
"league_goals" real,
"cup_apps" real,
"cup_goals" real
); | SELECT "cup_apps" FROM "swindon_town_career_details" WHERE "league_goals">10 AND "league_apps"=23; | 2-10556257-1 |
Which route has a Date of 2 july? | CREATE TABLE "stage_results" (
"stage" text,
"date" text,
"route" text,
"terrain" text,
"length" text,
"winner" text
); | SELECT "route" FROM "stage_results" WHERE "date"='2 july'; | 2-1062689-1 |
Which length has a Stage of 9? | CREATE TABLE "stage_results" (
"stage" text,
"date" text,
"route" text,
"terrain" text,
"length" text,
"winner" text
); | SELECT "length" FROM "stage_results" WHERE "stage"='9'; | 2-1062689-1 |
Which date has a Terrain of plain stage, and a Stage of 4? | CREATE TABLE "stage_results" (
"stage" text,
"date" text,
"route" text,
"terrain" text,
"length" text,
"winner" text
); | SELECT "date" FROM "stage_results" WHERE "terrain"='plain stage' AND "stage"='4'; | 2-1062689-1 |
Who is the away team at the game at MCG with the crowd is larger than 15,500? | CREATE TABLE "round_5" (
"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_5" WHERE "crowd">'15,500' AND "venue"='mcg'; | 2-10767641-5 |
What is the score for Fitzroy when they are the home team? | CREATE TABLE "round_5" (
"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_5" WHERE "home_team"='fitzroy'; | 2-10767641-5 |
What is the date of the game at Arden Street Oval? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_5" WHERE "venue"='arden street oval'; | 2-10767641-5 |
What is the smallest crowd for a game when Melbourne is the home team? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT MIN("crowd") FROM "round_5" WHERE "home_team"='melbourne'; | 2-10767641-5 |
Who drafted the player from Michigan after 2010? | CREATE TABLE "2009" (
"player" text,
"home_town" text,
"college_prior" text,
"drafting_team" text,
"graduated" real
); | SELECT "drafting_team" FROM "2009" WHERE "graduated">2010 AND "college_prior"='michigan'; | 2-1076503-13 |
Where was the player from who graduated from Michigan after 2010? | CREATE TABLE "2009" (
"player" text,
"home_town" text,
"college_prior" text,
"drafting_team" text,
"graduated" real
); | SELECT "home_town" FROM "2009" WHERE "graduated">2010 AND "college_prior"='michigan'; | 2-1076503-13 |
From what town was Steve Zakuani? | CREATE TABLE "2009" (
"player" text,
"home_town" text,
"college_prior" text,
"drafting_team" text,
"graduated" real
); | SELECT "home_town" FROM "2009" WHERE "player"='steve zakuani'; | 2-1076503-13 |
What year did Omar Gonzalez graduate? | CREATE TABLE "2009" (
"player" text,
"home_town" text,
"college_prior" text,
"drafting_team" text,
"graduated" real
); | SELECT SUM("graduated") FROM "2009" WHERE "player"='omar gonzalez'; | 2-1076503-13 |
Which university hosted in Long Beach? | CREATE TABLE "first_and_second_rounds" (
"region" text,
"host" text,
"venue" text,
"city" text,
"state" text
); | SELECT "host" FROM "first_and_second_rounds" WHERE "city"='long beach'; | 2-10689762-4 |
What is the venue that Saint Joseph's University hosted at? | CREATE TABLE "first_and_second_rounds" (
"region" text,
"host" text,
"venue" text,
"city" text,
"state" text
); | SELECT "venue" FROM "first_and_second_rounds" WHERE "host"='saint joseph''s university'; | 2-10689762-4 |
In which city is Hayman Hall (Tom Gola Arena) located? | CREATE TABLE "first_and_second_rounds" (
"region" text,
"host" text,
"venue" text,
"city" text,
"state" text
); | SELECT "city" FROM "first_and_second_rounds" WHERE "venue"='hayman hall (tom gola arena)'; | 2-10689762-4 |
Which venue is in the city of Villanova? | CREATE TABLE "first_and_second_rounds" (
"region" text,
"host" text,
"venue" text,
"city" text,
"state" text
); | SELECT "venue" FROM "first_and_second_rounds" WHERE "city"='villanova'; | 2-10689762-4 |
On which date did Ger Loughnane from Team Clare have a match? | CREATE TABLE "debutantes" (
"player" text,
"team" text,
"date" text,
"opposition" text,
"game" text
); | SELECT "date" FROM "debutantes" WHERE "team"='clare' AND "player"='ger loughnane'; | 2-10714000-1 |
What team opposed Tipperary in the Munster Final game? | CREATE TABLE "debutantes" (
"player" text,
"team" text,
"date" text,
"opposition" text,
"game" text
); | SELECT "team" FROM "debutantes" WHERE "opposition"='tipperary' AND "game"='munster final'; | 2-10714000-1 |
On what date did Limerick play in the All-Ireland Final game? | CREATE TABLE "debutantes" (
"player" text,
"team" text,
"date" text,
"opposition" text,
"game" text
); | SELECT "date" FROM "debutantes" WHERE "opposition"='limerick' AND "game"='all-ireland final'; | 2-10714000-1 |
Who was the opposition in the game on July 29? | CREATE TABLE "debutantes" (
"player" text,
"team" text,
"date" text,
"opposition" text,
"game" text
); | SELECT "opposition" FROM "debutantes" WHERE "date"='july 29'; | 2-10714000-1 |
What day did the team play week 13? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "week"=13; | 2-10672579-1 |
What was Bye's opponent's attendance? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "opponent"='bye'; | 2-10649791-1 |
Which opponent, before Week 10, had an attendance of 63,672? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "week"<10 AND "attendance"='63,672'; | 2-10649791-1 |
Which week had an attendance of 70,225 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT MIN("week") FROM "schedule" WHERE "attendance"='70,225'; | 2-10649791-1 |
What was the highest number of people injured at incidents located at Rohtas, Bihar where fewer than 13 were killed? | CREATE TABLE "2007" (
"incident_no" text,
"date" text,
"place" text,
"killed" real,
"injured" real
); | SELECT MAX("injured") FROM "2007" WHERE "place"='rohtas, bihar' AND "killed"<13; | 2-1074011-4 |
What was the highest number of people injured in incidents in Vaishali, Bihar? | CREATE TABLE "2007" (
"incident_no" text,
"date" text,
"place" text,
"killed" real,
"injured" real
); | SELECT MAX("injured") FROM "2007" WHERE "place"='vaishali, bihar'; | 2-1074011-4 |
How many points did the Away team from Geelong score? | CREATE TABLE "round_7" (
"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_7" WHERE "away_team"='geelong'; | 2-10775890-7 |
How many people were in the crowd at Victoria Park? | CREATE TABLE "round_7" (
"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_7" WHERE "venue"='victoria park'; | 2-10775890-7 |
How many points did the away team from Melbourne score? | CREATE TABLE "round_7" (
"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_7" WHERE "away_team"='melbourne'; | 2-10775890-7 |
What date did the home team from Carlton play on? | CREATE TABLE "round_7" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_7" WHERE "home_team"='carlton'; | 2-10775890-7 |
Who is the manager of the St. Johnstone club? | CREATE TABLE "list_of_managers" (
"manager" text,
"nationality" text,
"date_of_birth_and_age" text,
"club" text,
"division" text
); | SELECT "manager" FROM "list_of_managers" WHERE "club"='st. johnstone'; | 2-10619148-1 |
Who is the manager of the Stenhousemuir club? | CREATE TABLE "list_of_managers" (
"manager" text,
"nationality" text,
"date_of_birth_and_age" text,
"club" text,
"division" text
); | SELECT "manager" FROM "list_of_managers" WHERE "club"='stenhousemuir'; | 2-10619148-1 |
What team was the away ream when they scored 13.12 (90)? | CREATE TABLE "round_16" (
"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_16" WHERE "away_team_score"='13.12 (90)'; | 2-10773616-16 |
What team was home team when south Melbourne was the away team? | CREATE TABLE "round_16" (
"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_16" WHERE "away_team"='south melbourne'; | 2-10773616-16 |
What was the away team score when the home team was Carlton? | CREATE TABLE "round_16" (
"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_16" WHERE "home_team"='carlton'; | 2-10773616-16 |
What is the Basin Area mi 2 when the Basin Area km 2 is larger than 2,261,763 and the Basin is Pearl River? | CREATE TABLE "basins" (
"basin" text,
"continent" text,
"drains_to" text,
"basin_area_km_2" real,
"basin_area_mi_2" text
); | SELECT "basin_area_mi_2" FROM "basins" WHERE "basin_area_km_2">'2,261,763' AND "basin"='pearl river'; | 2-1075216-2 |
Which Basin's Continent is South America, has a Basin Area km 2 larger than 6,144,727, and a Basin Area mi 2 of 238,539? | CREATE TABLE "basins" (
"basin" text,
"continent" text,
"drains_to" text,
"basin_area_km_2" real,
"basin_area_mi_2" text
); | SELECT "basin" FROM "basins" WHERE "continent"='south america' AND "basin_area_km_2">'6,144,727' AND "basin_area_mi_2"='238,539'; | 2-1075216-2 |
What was date of the bye week 11? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "attendance"='bye' AND "week"=11; | 2-10672508-1 |
Where did Essendon play as the away team? | 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 "venue" FROM "round_10" WHERE "away_team"='essendon'; | 2-10767118-10 |
Where did Carolyn Dawn Johnson win Female Artist of the Year, and Paul Brandt win Male Artist of the Year? | CREATE TABLE "major_awards" (
"year" real,
"location" text,
"fans_choice_award" text,
"male_artist_of_the_year" text,
"female_artist_of_the_year" text,
"group_or_duo_of_the_year" text
); | SELECT "location" FROM "major_awards" WHERE "female_artist_of_the_year"='carolyn dawn johnson' AND "male_artist_of_the_year"='paul brandt'; | 2-10659031-1 |
Where did Doc Walker win Group or Duo of the Year, and where did Crystal Shawanda win Female Artist of the year? | CREATE TABLE "major_awards" (
"year" real,
"location" text,
"fans_choice_award" text,
"male_artist_of_the_year" text,
"female_artist_of_the_year" text,
"group_or_duo_of_the_year" text
); | SELECT "location" FROM "major_awards" WHERE "group_or_duo_of_the_year"='doc walker' AND "female_artist_of_the_year"='crystal shawanda'; | 2-10659031-1 |
Who won Female Artist of the year in 1983, in the same city that Family Brown won Group of Duo of the year? | CREATE TABLE "major_awards" (
"year" real,
"location" text,
"fans_choice_award" text,
"male_artist_of_the_year" text,
"female_artist_of_the_year" text,
"group_or_duo_of_the_year" text
); | SELECT "female_artist_of_the_year" FROM "major_awards" WHERE "group_or_duo_of_the_year"='family brown' AND "year"=1983; | 2-10659031-1 |
What is the most recent season when Fernando Alonso had more than 13 podiums in a car with a Ferrari engine? | CREATE TABLE "by_season" (
"season" real,
"driver" text,
"team" text,
"engine" text,
"poles" real,
"wins" real,
"podiums" real,
"points" real,
"margin_of_defeat" real
); | SELECT MAX("season") FROM "by_season" WHERE "engine"='ferrari' AND "driver"='fernando alonso' AND "podiums">13; | 2-10753917-1 |
What is the engine for the Bettenhausen Motorsports team? | CREATE TABLE "drivers_and_constructors" (
"team" text,
"chassis" text,
"engine" text,
"tires" text,
"drivers" text
); | SELECT "engine" FROM "drivers_and_constructors" WHERE "team"='bettenhausen motorsports'; | 2-10707142-1 |
What engine does Steve Chassey drive with a march chassis? | CREATE TABLE "drivers_and_constructors" (
"team" text,
"chassis" text,
"engine" text,
"tires" text,
"drivers" text
); | SELECT "engine" FROM "drivers_and_constructors" WHERE "chassis"='march' AND "drivers"='steve chassey'; | 2-10707142-1 |
What is the engine for the Arciero Racing team? | CREATE TABLE "drivers_and_constructors" (
"team" text,
"chassis" text,
"engine" text,
"tires" text,
"drivers" text
); | SELECT "engine" FROM "drivers_and_constructors" WHERE "team"='arciero racing'; | 2-10707142-1 |
What chassis belongs with the Cosworth Engine driven by Scott Pruett on the Dick Simon Racing team? | CREATE TABLE "drivers_and_constructors" (
"team" text,
"chassis" text,
"engine" text,
"tires" text,
"drivers" text
); | SELECT "chassis" FROM "drivers_and_constructors" WHERE "engine"='cosworth' AND "drivers"='scott pruett' AND "team"='dick simon racing'; | 2-10707142-1 |
What is the engine for the team of Alex Morales Motorsports? | CREATE TABLE "drivers_and_constructors" (
"team" text,
"chassis" text,
"engine" text,
"tires" text,
"drivers" text
); | SELECT "engine" FROM "drivers_and_constructors" WHERE "team"='alex morales motorsports'; | 2-10707142-1 |
What is the engine for the Machinists Union Racing team? | CREATE TABLE "drivers_and_constructors" (
"team" text,
"chassis" text,
"engine" text,
"tires" text,
"drivers" text
); | SELECT "engine" FROM "drivers_and_constructors" WHERE "team"='machinists union racing'; | 2-10707142-1 |
Who is the home side when the away side score is 11.14 (80)? | CREATE TABLE "round_16" (
"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_16" WHERE "away_team_score"='11.14 (80)'; | 2-10746808-16 |
What was the attendance for Week 1? | CREATE TABLE "regular_season" (
"week" real,
"kickoff" text,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" text
); | SELECT "attendance" FROM "regular_season" WHERE "week"=1; | 2-10716117-3 |
Which team did the Patriots play when there was a game attendance of 73,369? | CREATE TABLE "regular_season" (
"week" real,
"kickoff" text,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" text
); | SELECT "opponent" FROM "regular_season" WHERE "attendance"='73,369'; | 2-10716117-3 |
What date was the Week 3 game played? | CREATE TABLE "regular_season" (
"week" real,
"kickoff" text,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" text
); | SELECT "date" FROM "regular_season" WHERE "week"=3; | 2-10716117-3 |
What was the highest attendance of the matches that took place at Windy Hill? | CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT MAX("crowd") FROM "round_15" WHERE "venue"='windy hill'; | 2-10773616-15 |
Which team has a home field at Glenferrie Oval? | CREATE TABLE "round_15" (
"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_15" WHERE "venue"='glenferrie oval'; | 2-10773616-15 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.