question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What's the Result of the Competition of 1998 FIFA World Cup Qualification with the Venue of Bangkok? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "competition"='1998 fifa world cup qualification' AND "venue"='bangkok'; | 2-11871805-3 |
Who had the decision with boston at home? | CREATE TABLE "february" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "decision" FROM "february" WHERE "home"='boston'; | 2-11771022-7 |
Who is the home team that played at MCG? | 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 "venue"='mcg'; | 2-10883333-10 |
What is the score of the away team that played richmond? | 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 "away_team_score" FROM "round_10" WHERE "home_team"='richmond'; | 2-10883333-10 |
What is the score for the game that Colin Fleming Scott Lipsky played in? | CREATE TABLE "doubles_6_3_3" (
"outcome" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "score" FROM "doubles_6_3_3" WHERE "opponents"='colin fleming scott lipsky'; | 2-11126697-7 |
Which tournament was Dieter Kindlmann a partner? | CREATE TABLE "doubles_6_3_3" (
"outcome" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "tournament" FROM "doubles_6_3_3" WHERE "partner"='dieter kindlmann'; | 2-11126697-7 |
When the Apps were smaller than 22, what's the lowest amount of goals scored in a game? | CREATE TABLE "career_stats" (
"season" text,
"club" text,
"apps" real,
"goals" real,
"division" real
); | SELECT MIN("goals") FROM "career_stats" WHERE "apps"<22; | 2-11415108-1 |
What's the total number of all divisions during the 2006/07 season where they scored more than 1 goal? | CREATE TABLE "career_stats" (
"season" text,
"club" text,
"apps" real,
"goals" real,
"division" real
); | SELECT COUNT("division") FROM "career_stats" WHERE "season"='2006/07' AND "goals">1; | 2-11415108-1 |
What is the total of a crowd with an Away team score of 8.17 (65)? | 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 SUM("crowd") FROM "round_16" WHERE "away_team_score"='8.17 (65)'; | 2-10809351-16 |
What is the average crowd at victoria park? | 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 AVG("crowd") FROM "round_16" WHERE "venue"='victoria park'; | 2-10809351-16 |
What is the Away team score with a crowd greater than 10,000 and st kilda as home 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 "away_team_score" FROM "round_16" WHERE "crowd">'10,000' AND "home_team"='st kilda'; | 2-10809351-16 |
What is the Away team score with north melbourne as home 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 "away_team_score" FROM "round_16" WHERE "home_team"='north melbourne'; | 2-10809351-16 |
Who had the general classification when the trofeo fast team was Mapei-Bricobi, the points classification went to Mariano Piccoli and the mountains classification went to Marco Pantani in stage 22? | CREATE TABLE "classification_leadership" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"trofeo_fast_team" text
); | SELECT "general_classification" FROM "classification_leadership" WHERE "trofeo_fast_team"='mapei-bricobi' AND "points_classification"='mariano piccoli' AND "mountains_classification"='marco pantani' AND "stage"='22'; | 2-11547761-2 |
Who was the winner in stage 3? | CREATE TABLE "classification_leadership" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"trofeo_fast_team" text
); | SELECT "winner" FROM "classification_leadership" WHERE "stage"='3'; | 2-11547761-2 |
Which state was first elected in 1914, and a Member of edward jolley? | CREATE TABLE "notes" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"first_elected" text
); | SELECT "state" FROM "notes" WHERE "first_elected"='1914' AND "member"='edward jolley'; | 2-11992552-1 |
Which state is frederick bamford a member of? | CREATE TABLE "notes" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"first_elected" text
); | SELECT "state" FROM "notes" WHERE "member"='frederick bamford'; | 2-11992552-1 |
Which first election for the labor party is James Sharpe a part of? | CREATE TABLE "notes" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"first_elected" text
); | SELECT "first_elected" FROM "notes" WHERE "party"='labor' AND "member"='james sharpe'; | 2-11992552-1 |
Which party is sydney sampson a member of? | CREATE TABLE "notes" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"first_elected" text
); | SELECT "party" FROM "notes" WHERE "member"='sydney sampson'; | 2-11992552-1 |
What position for doug gibson with 2 wins? | CREATE TABLE "winners" (
"season" text,
"winner" text,
"team" text,
"position" text,
"win_num" real
); | SELECT "position" FROM "winners" WHERE "win_num"=2 AND "winner"='doug gibson'; | 2-1092157-2 |
How many receptions does Chris Watton with yards of less than 1? | CREATE TABLE "wide_receivers" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT COUNT("rec") FROM "wide_receivers" WHERE "player"='chris watton' AND "yards"<1; | 2-11785718-5 |
What is the score for plays with more than 19,227 attendees with ny islanders visiting? | CREATE TABLE "february" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "february" WHERE "attendance">'19,227' AND "visitor"='ny islanders'; | 2-11902440-7 |
What is the American locations with less than 114 years and more than 1 tied with more than 1022 total games? | CREATE TABLE "ncaa_division_i_fbs_football_win_loss_re" (
"the_american" text,
"lost" real,
"tied" real,
"pct" real,
"years" real,
"total_games" real
); | SELECT "the_american" FROM "ncaa_division_i_fbs_football_win_loss_re" WHERE "years"<114 AND "tied">1 AND "total_games">1022; | 2-11513625-3 |
What was the largest crowd for a game where the away team scored 14.20 (104)? | CREATE TABLE "round_4" (
"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_4" WHERE "away_team_score"='14.20 (104)'; | 2-10809368-4 |
Who was the away team when Melbourne was the home team? | CREATE TABLE "round_4" (
"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_4" WHERE "home_team"='melbourne'; | 2-10809368-4 |
What is the Away team score for Away team North Melbourne? | 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"='north melbourne'; | 2-10824095-1 |
Which Away team is associated with the Richmond Home team? | 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"='richmond'; | 2-10824095-1 |
What is the birth date of the member with the Defining characteristic of pink hair? | CREATE TABLE "members" (
"name" text,
"real_name" text,
"birthdate" text,
"costume_role" text,
"defining_characteristics" text
); | SELECT "birthdate" FROM "members" WHERE "defining_characteristics"='pink hair'; | 2-1119555-1 |
What is the defining characteristic of Takeshi Kuroiwa? | CREATE TABLE "members" (
"name" text,
"real_name" text,
"birthdate" text,
"costume_role" text,
"defining_characteristics" text
); | SELECT "defining_characteristics" FROM "members" WHERE "real_name"='takeshi kuroiwa'; | 2-1119555-1 |
Who is the person with the defining characteristic of the shortest band member? | CREATE TABLE "members" (
"name" text,
"real_name" text,
"birthdate" text,
"costume_role" text,
"defining_characteristics" text
); | SELECT "real_name" FROM "members" WHERE "defining_characteristics"='shortest band member'; | 2-1119555-1 |
What is the name of the member with a costume Role of monster? | CREATE TABLE "members" (
"name" text,
"real_name" text,
"birthdate" text,
"costume_role" text,
"defining_characteristics" text
); | SELECT "name" FROM "members" WHERE "costume_role"='monster'; | 2-1119555-1 |
What is the name of the member with the costume Role of "the girl"? | CREATE TABLE "members" (
"name" text,
"real_name" text,
"birthdate" text,
"costume_role" text,
"defining_characteristics" text
); | SELECT "real_name" FROM "members" WHERE "costume_role"='\"the girl\"'; | 2-1119555-1 |
What was the final score for the match played in Venue H and the opponent was Newcastle United? | CREATE TABLE "matches" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT "result" FROM "matches" WHERE "venue"='h' AND "opponent"='newcastle united'; | 2-12049950-5 |
What is the fewest bronze medals for a team with fewer than 1 silver and rank lower than 5? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("bronze") FROM "medal_table" WHERE "silver"<1 AND "rank"<5; | 2-11456753-2 |
How many bronze medals for the nation with fewer than 3 gold, 1 silver and rank of 3? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("bronze") FROM "medal_table" WHERE "gold"<3 AND "silver"=1 AND "total"<3 AND "rank"=3; | 2-11456753-2 |
What is the largest total for a nation with 1 bronze and more than 1 silver? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("total") FROM "medal_table" WHERE "bronze"=1 AND "silver">1; | 2-11456753-2 |
What is the smallest total for a nation with more than 1 silver? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("total") FROM "medal_table" WHERE "silver">1; | 2-11456753-2 |
What was the aggregate for a team #2 of Okk Beograd? | CREATE TABLE "first_round" (
"team_num1" text,
"agg" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "agg" FROM "first_round" WHERE "team_num2"='okk beograd'; | 2-11789884-2 |
What was the 2nd leg score for Chemie Halle? | CREATE TABLE "first_round" (
"team_num1" text,
"agg" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "2nd_leg" FROM "first_round" WHERE "team_num1"='chemie halle'; | 2-11789884-2 |
What was South Melbourne's score as the away team? | CREATE TABLE "round_6" (
"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_6" WHERE "away_team"='south melbourne'; | 2-10869646-6 |
What was the attendance when Geelong played as the away team? | CREATE TABLE "round_6" (
"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_6" WHERE "away_team"='geelong'; | 2-10869646-6 |
Where did Footscray play 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"='footscray'; | 2-10790804-7 |
What was the attendance when the Arden Street Oval? | 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 "venue"='arden street oval'; | 2-10790804-7 |
What is the mean pick when the play is Marc Lewis (lhp) and the round is less than 20? | CREATE TABLE "players_selected" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"school" text
); | SELECT AVG("pick") FROM "players_selected" WHERE "player"='marc lewis (lhp)' AND "round"<20; | 2-12012851-1 |
Which pick's player was Marc Lewis (lhp)? | CREATE TABLE "players_selected" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"school" text
); | SELECT "pick" FROM "players_selected" WHERE "player"='marc lewis (lhp)'; | 2-12012851-1 |
Which is the biggest pick for Naperville Central High School? | CREATE TABLE "players_selected" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"school" text
); | SELECT MAX("pick") FROM "players_selected" WHERE "school"='naperville central high school'; | 2-12012851-1 |
What is the media market ranking for new york, new york? | CREATE TABLE "major_league_soccer" (
"metropolitan_area" text,
"media_market_ranking" real,
"since" real,
"mlb_team_s" text,
"nba_team_s" text
); | SELECT "media_market_ranking" FROM "major_league_soccer" WHERE "metropolitan_area"='new york, new york'; | 2-1205598-2 |
Is it home or away when opponent is Pride with a W 11-10 result? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"home_away" text,
"field" text,
"result" text
); | SELECT "home_away" FROM "schedule" WHERE "opponent"='pride' AND "result"='w 11-10'; | 2-12075099-1 |
Who is the opponent at Bishop Kearney Field? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"home_away" text,
"field" text,
"result" text
); | SELECT "opponent" FROM "schedule" WHERE "field"='bishop kearney field'; | 2-12075099-1 |
On what date were the opponents the Bayhawks at a home game? | CREATE TABLE "schedule" (
"date" text,
"opponent" text,
"home_away" text,
"field" text,
"result" text
); | SELECT "date" FROM "schedule" WHERE "home_away"='home' AND "opponent"='bayhawks'; | 2-12075099-1 |
What city or Raion (district) has 8,600 Bessarabian Bulgarians? | CREATE TABLE "ethnic_composition_of_budjak_according_t" (
"raion_district_or_city" text,
"total" text,
"ukrainians" text,
"moldovans" text,
"bessarabian_bulgarians" text,
"russians" text,
"gagauzians" text,
"other_ethnic_groups" text
); | SELECT "raion_district_or_city" FROM "ethnic_composition_of_budjak_according_t" WHERE "bessarabian_bulgarians"='8,600'; | 2-1138646-1 |
what is the Moldovans number when there are 14,200 Ukrainians? | CREATE TABLE "ethnic_composition_of_budjak_according_t" (
"raion_district_or_city" text,
"total" text,
"ukrainians" text,
"moldovans" text,
"bessarabian_bulgarians" text,
"russians" text,
"gagauzians" text,
"other_ethnic_groups" text
); | SELECT "moldovans" FROM "ethnic_composition_of_budjak_according_t" WHERE "ukrainians"='14,200'; | 2-1138646-1 |
Name the lowest reported isn for russia | CREATE TABLE "2007_list" (
"reported_isn" real,
"on_july_2007_press_release" text,
"disposition" text,
"citizenship" text,
"country_of_act" text
); | SELECT MIN("reported_isn") FROM "2007_list" WHERE "citizenship"='russia'; | 2-12010745-2 |
Name the average reported isn for july 2007 for kuwait release of no | CREATE TABLE "2007_list" (
"reported_isn" real,
"on_july_2007_press_release" text,
"disposition" text,
"citizenship" text,
"country_of_act" text
); | SELECT AVG("reported_isn") FROM "2007_list" WHERE "on_july_2007_press_release"='no' AND "citizenship"='kuwait'; | 2-12010745-2 |
What is the highest region number with a 499 population? | CREATE TABLE "list_of_municipalities_in_quebec" (
"code" real,
"type" text,
"name" text,
"area_km_2" real,
"population" real,
"regional_county_municipality" text,
"region" real
); | SELECT MAX("region") FROM "list_of_municipalities_in_quebec" WHERE "population"=499; | 2-11218948-2 |
What was the series score on april 17 with minnesota at home? | CREATE TABLE "playoffs" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"series" text
); | SELECT "series" FROM "playoffs" WHERE "home"='minnesota' AND "date"='april 17'; | 2-11786147-11 |
How many attended the game on april 14? | CREATE TABLE "playoffs" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"series" text
); | SELECT COUNT("attendance") FROM "playoffs" WHERE "date"='april 14'; | 2-11786147-11 |
Who was at home on april 14? | CREATE TABLE "playoffs" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"series" text
); | SELECT "home" FROM "playoffs" WHERE "date"='april 14'; | 2-11786147-11 |
What is the size of the crowd at the game where the home team scored 10.8 (68)? | CREATE TABLE "round_18" (
"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_18" WHERE "home_team_score"='10.8 (68)'; | 2-10809142-18 |
What is the name of the away team that played Melbourne? | CREATE TABLE "round_18" (
"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_18" WHERE "home_team"='melbourne'; | 2-10809142-18 |
What date was the game played at Punt Road Oval? | CREATE TABLE "round_18" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_18" WHERE "venue"='punt road oval'; | 2-10809142-18 |
What is the name of the home team that played against Hawthorn? | CREATE TABLE "round_18" (
"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_18" WHERE "away_team"='hawthorn'; | 2-10809142-18 |
What is the home team score that played at Kardinia Park? | CREATE TABLE "round_18" (
"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_18" WHERE "venue"='kardinia park'; | 2-10809142-18 |
I want the total number of Laps for Rubens Barrichello | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT COUNT("laps") FROM "race" WHERE "driver"='rubens barrichello'; | 2-1123468-2 |
Tell me the driver for grid less than 19 and Laps more than 59 with time/retired of +0.294 | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "driver" FROM "race" WHERE "grid"<19 AND "laps">59 AND "time_retired"='+0.294'; | 2-1123468-2 |
What is the name of the rider with a time of 1:45.52.84, and a Rank of 8? | CREATE TABLE "lightweight_classic_race" (
"rank" real,
"rider" text,
"team" text,
"speed" text,
"time" text
); | SELECT "rider" FROM "lightweight_classic_race" WHERE "time"='1:45.52.84' AND "rank"=8; | 2-11972799-6 |
What is the name of the team with a rank smaller than 5 and a time of 1:37.58.38? | CREATE TABLE "lightweight_classic_race" (
"rank" real,
"rider" text,
"team" text,
"speed" text,
"time" text
); | SELECT "team" FROM "lightweight_classic_race" WHERE "rank"<5 AND "time"='1:37.58.38'; | 2-11972799-6 |
What is the highest rank for Peter Symes? | CREATE TABLE "lightweight_classic_race" (
"rank" real,
"rider" text,
"team" text,
"speed" text,
"time" text
); | SELECT MAX("rank") FROM "lightweight_classic_race" WHERE "rider"='peter symes'; | 2-11972799-6 |
When was a game played where the away team scored 12.14 (86)? | 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 "date" FROM "round_13" WHERE "away_team_score"='12.14 (86)'; | 2-10807990-13 |
What was the score for the away team at Glenferrie Oval? | 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 "away_team_score" FROM "round_13" WHERE "venue"='glenferrie oval'; | 2-10807990-13 |
When was a game played where the away team is St Kilda? | 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 "date" FROM "round_13" WHERE "away_team"='st kilda'; | 2-10807990-13 |
What was the home team score when the away team was Carlton? | 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_score" FROM "round_13" WHERE "away_team"='carlton'; | 2-10807990-13 |
When was the game where the home team score was 8.9 (57)? | 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 "date" FROM "round_13" WHERE "home_team_score"='8.9 (57)'; | 2-10807990-13 |
What place can sit 65,000 and opens 2016? | CREATE TABLE "future_proposed_stadiums" (
"stadium" text,
"team" text,
"location" text,
"capacity" text,
"opening" text
); | SELECT "location" FROM "future_proposed_stadiums" WHERE "capacity"='65,000' AND "opening"='2016'; | 2-10814816-4 |
What is the stadium of the san diego chargers? | CREATE TABLE "future_proposed_stadiums" (
"stadium" text,
"team" text,
"location" text,
"capacity" text,
"opening" text
); | SELECT "stadium" FROM "future_proposed_stadiums" WHERE "team"='san diego chargers'; | 2-10814816-4 |
Who is the team at vikings stadium? | CREATE TABLE "future_proposed_stadiums" (
"stadium" text,
"team" text,
"location" text,
"capacity" text,
"opening" text
); | SELECT "team" FROM "future_proposed_stadiums" WHERE "stadium"='vikings stadium'; | 2-10814816-4 |
For the Year 2013 what building(s) had more than 15 Floors? | CREATE TABLE "proposals_as_of_january_2013" (
"building" text,
"height" text,
"floors" real,
"year" text,
"status" text
); | SELECT "building" FROM "proposals_as_of_january_2013" WHERE "floors">15 AND "year"='2013'; | 2-11339545-3 |
For the Year 2013 what building(s) had less than 20 Floors? | CREATE TABLE "proposals_as_of_january_2013" (
"building" text,
"height" text,
"floors" real,
"year" text,
"status" text
); | SELECT "building" FROM "proposals_as_of_january_2013" WHERE "year"='2013' AND "floors"<20; | 2-11339545-3 |
What location was the game played at when Richmond was the away 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 "away_team"='richmond'; | 2-10823950-13 |
What team was the home team when the home team score was 26.14 (170)? | 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 "home_team_score"='26.14 (170)'; | 2-10823950-13 |
What date was the game played at vfl park? | 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 "date" FROM "round_13" WHERE "venue"='vfl park'; | 2-10823950-13 |
How many people were in the crowd when the away team was north 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 SUM("crowd") FROM "round_13" WHERE "away_team"='north melbourne'; | 2-10823950-13 |
What team was the away team when the home team scored 20.18 (138)? | 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 "away_team" FROM "round_13" WHERE "home_team_score"='20.18 (138)'; | 2-10823950-13 |
What team was the home team when the home team score was 26.14 (170)? | 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 "home_team_score"='26.14 (170)'; | 2-10823950-13 |
When was the first HC climb which, more recently than 2012, had more than 1 HC climbs, more than 29 times visited? | CREATE TABLE "tour_de_france" (
"height_m" text,
"no_of_times_visited" real,
"no_of_hc_climbs" real,
"first_time_as_hc_climb" real,
"most_recent" real
); | SELECT SUM("first_time_as_hc_climb") FROM "tour_de_france" WHERE "no_of_hc_climbs">1 AND "no_of_times_visited">29 AND "most_recent">2012; | 2-12043034-1 |
How many HC climbs had 1 visit more recently than 1984, a first HC climb before 1994, and a height of 1900? | CREATE TABLE "tour_de_france" (
"height_m" text,
"no_of_times_visited" real,
"no_of_hc_climbs" real,
"first_time_as_hc_climb" real,
"most_recent" real
); | SELECT "no_of_hc_climbs" FROM "tour_de_france" WHERE "no_of_times_visited"=1 AND "most_recent">1984 AND "first_time_as_hc_climb"<1994 AND "height_m"='1900'; | 2-12043034-1 |
What is the height with more than 2 HC climbs more recent than 2012, less than 48 times visited, and a first HC climb in 1989? | CREATE TABLE "tour_de_france" (
"height_m" text,
"no_of_times_visited" real,
"no_of_hc_climbs" real,
"first_time_as_hc_climb" real,
"most_recent" real
); | SELECT "height_m" FROM "tour_de_france" WHERE "no_of_hc_climbs">2 AND "most_recent"=2012 AND "no_of_times_visited"<48 AND "first_time_as_hc_climb"=1989; | 2-12043034-1 |
What was the most recent year a height of 2770 m and a HC climb before 1992 was climbed? | CREATE TABLE "tour_de_france" (
"height_m" text,
"no_of_times_visited" real,
"no_of_hc_climbs" real,
"first_time_as_hc_climb" real,
"most_recent" real
); | SELECT COUNT("most_recent") FROM "tour_de_france" WHERE "height_m"='2770' AND "first_time_as_hc_climb"<1992; | 2-12043034-1 |
When was the first HC climb before 2013 with more than 3 times visited, more than 4 HC climbs, and a height of 1669? | CREATE TABLE "tour_de_france" (
"height_m" text,
"no_of_times_visited" real,
"no_of_hc_climbs" real,
"first_time_as_hc_climb" real,
"most_recent" real
); | SELECT "first_time_as_hc_climb" FROM "tour_de_france" WHERE "no_of_times_visited">3 AND "no_of_hc_climbs"=4 AND "most_recent"<2013 AND "height_m"='1669'; | 2-12043034-1 |
Who is the builder of Pennant d03? | CREATE TABLE "ships" (
"pennant_number" text,
"ship" text,
"builder" text,
"laid_down" text,
"launched" text,
"commissioned" text
); | SELECT "builder" FROM "ships" WHERE "pennant_number"='d03'; | 2-1210063-1 |
How many picks had a Reg GP that was over 906, when the Pl GP was bigger than 99? | CREATE TABLE "list_of_vancouver_canucks_draft_picks" (
"rd_num" real,
"pick_num" real,
"player" text,
"team_league" text,
"reg_gp" real,
"pl_gp" real
); | SELECT COUNT("pick_num") FROM "list_of_vancouver_canucks_draft_picks" WHERE "reg_gp">906 AND "pl_gp">99; | 2-11636955-31 |
Which is the smallest pick number that had a Reg GP of less than 0? | CREATE TABLE "list_of_vancouver_canucks_draft_picks" (
"rd_num" real,
"pick_num" real,
"player" text,
"team_league" text,
"reg_gp" real,
"pl_gp" real
); | SELECT MIN("pick_num") FROM "list_of_vancouver_canucks_draft_picks" WHERE "reg_gp"<0; | 2-11636955-31 |
Name the home team score when the away team is south melbourne | CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "home_team_score" FROM "round_8" WHERE "away_team"='south melbourne'; | 2-1204658-8 |
Name the date for home team of collingwood | CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "date" FROM "round_8" WHERE "home_team"='collingwood'; | 2-1204658-8 |
Name the date for princes park | CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "date" FROM "round_8" WHERE "venue"='princes park'; | 2-1204658-8 |
Name the date for the venue of brunswick street oval | CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "date" FROM "round_8" WHERE "venue"='brunswick street oval'; | 2-1204658-8 |
What was the attendence of the game on 26 April 1948 and an away team of Hawthorn? | 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 "crowd" FROM "round_2" WHERE "date"='26 april 1948' AND "away_team"='hawthorn'; | 2-10809529-2 |
When playing at Windy Hill, what was 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 "venue"='windy hill'; | 2-10809529-2 |
What is essendon's home team score? | 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 "home_team_score" FROM "round_14" WHERE "home_team"='essendon'; | 2-10809351-14 |
What is the average crowd when footscray is at home? | 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 AVG("crowd") FROM "round_14" WHERE "home_team"='footscray'; | 2-10809351-14 |
What is the listed crowd at windy hill? | 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 "crowd" FROM "round_14" WHERE "venue"='windy hill'; | 2-10809351-14 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.