question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
How many forms have less than 18 pages? | CREATE TABLE "united_states_irs_forms_990_for_competit" (
"organization_name" text,
"state" text,
"year" real,
"total_assets" text,
"form" real,
"pages" real
); | SELECT COUNT("form") FROM "united_states_irs_forms_990_for_competit" WHERE "pages"<18; | 2-1070309-2 |
What is the sum of forms with greater than 17 pages and a total of $1,801,154? | CREATE TABLE "united_states_irs_forms_990_for_competit" (
"organization_name" text,
"state" text,
"year" real,
"total_assets" text,
"form" real,
"pages" real
); | SELECT SUM("form") FROM "united_states_irs_forms_990_for_competit" WHERE "pages">17 AND "total_assets"='$1,801,154'; | 2-1070309-2 |
Which venue hosted South Melbourne? | 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 "away_team"='south melbourne'; | 2-10750694-2 |
What was the scored of the Away team that played against Richmond? | 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 "away_team_score" FROM "round_2" WHERE "home_team"='richmond'; | 2-10750694-2 |
What is the result week 6? | CREATE TABLE "regular_season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "regular_season_schedule" WHERE "week"=6; | 2-10651740-2 |
How many goals did sture mårtensson score? | CREATE TABLE "national_team_players_in_season_1946_47" (
"name" text,
"pos" text,
"caps" real,
"goals" real,
"club" text
); | SELECT "goals" FROM "national_team_players_in_season_1946_47" WHERE "name"='sture mårtensson'; | 2-10683211-11 |
How many goals for the player with 2 caps at degerfors if? | CREATE TABLE "national_team_players_in_season_1946_47" (
"name" text,
"pos" text,
"caps" real,
"goals" real,
"club" text
); | SELECT "goals" FROM "national_team_players_in_season_1946_47" WHERE "caps"=2 AND "club"='degerfors if'; | 2-10683211-11 |
What catalog came out after 2000? | CREATE TABLE "release_history" (
"region" text,
"year" real,
"label" text,
"format" text,
"catalog" text
); | SELECT "catalog" FROM "release_history" WHERE "year">2000; | 2-1078016-2 |
What is the name of the player who begin playing for the LA Lakers in 1974? | CREATE TABLE "r" (
"player" text,
"nationality" text,
"position" text,
"from" text,
"school_country" text
); | SELECT "player" FROM "r" WHERE "from"='1974'; | 2-10560886-18 |
What was the attendance on week 7? | CREATE TABLE "game_by_game_results" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "game_by_game_results" WHERE "week"=7; | 2-10646701-1 |
What opponent did they have a bye result against before week 14? | CREATE TABLE "game_by_game_results" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "game_by_game_results" WHERE "result"='bye' AND "week"<14; | 2-10646701-1 |
Which average crowd has a Home team score of 11.15 (81)? | 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_score"='11.15 (81)'; | 2-10640687-14 |
Which home team has an Away team of fitzroy? | 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" FROM "round_14" WHERE "away_team"='fitzroy'; | 2-10640687-14 |
Which away team has a score of 9.12 (66)? | 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 "away_team_score"='9.12 (66)'; | 2-10640687-14 |
At what venue did the away team score 10.10 (70)? | CREATE TABLE "round_9" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_9" WHERE "away_team_score"='10.10 (70)'; | 2-10766119-9 |
What was North Melbourne's score when they were the home team? | CREATE TABLE "round_9" (
"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_9" WHERE "home_team"='north melbourne'; | 2-10766119-9 |
What was Richmond's score as the home team? | CREATE TABLE "round_9" (
"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_9" WHERE "home_team"='richmond'; | 2-10766119-9 |
What venue did Essendon play as the away team? | CREATE TABLE "round_9" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_9" WHERE "away_team"='essendon'; | 2-10766119-9 |
Who was the opponent when Richmond played as the home 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 "away_team" FROM "round_13" WHERE "home_team"='richmond'; | 2-10783853-13 |
What was the attendance at the Kardinia Park game? | 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 "crowd" FROM "round_13" WHERE "venue"='kardinia park'; | 2-10783853-13 |
What was the score of the team North Melbourne played at 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 "away_team_score" FROM "round_7" WHERE "home_team"='north melbourne'; | 2-10640687-7 |
What date did the game at Arden Street Oval take place? | 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 "venue"='arden street oval'; | 2-10640687-7 |
What is the date of the game with 36,766 fans? | 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 "crowd">'36,766'; | 2-10775890-1 |
What is the crowd size of the game where the away team scored 8.15 (63)? | 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 SUM("crowd") FROM "round_1" WHERE "away_team_score"='8.15 (63)'; | 2-10775890-1 |
Which higher secondary school listing has the lowest total and an Aided amount larger than 14? | CREATE TABLE "education" (
"institution" text,
"government" real,
"aided" real,
"unaided" real,
"total" real
); | SELECT MIN("total") FROM "education" WHERE "institution"='higher secondary school' AND "aided">14; | 2-10707825-2 |
Which Institution has a Total smaller than 13, a Government amount of 1, and an Aided amount of 0? | CREATE TABLE "education" (
"institution" text,
"government" real,
"aided" real,
"unaided" real,
"total" real
); | SELECT "institution" FROM "education" WHERE "total"<13 AND "government"=1 AND "aided"=0; | 2-10707825-2 |
Which IATA is associated with China and an ICAO of ZSPD? | CREATE TABLE "references" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "iata" FROM "references" WHERE "country"='china' AND "icao"='zspd'; | 2-10660046-2 |
Which airport is associated with Macau? | CREATE TABLE "references" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "airport" FROM "references" WHERE "city"='macau'; | 2-10660046-2 |
What is the IATA for Nanjing? | CREATE TABLE "references" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "iata" FROM "references" WHERE "city"='nanjing'; | 2-10660046-2 |
Which airport has an ICAO of RCKH? | CREATE TABLE "references" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "airport" FROM "references" WHERE "icao"='rckh'; | 2-10660046-2 |
Which airport has an IATA of TYN? | CREATE TABLE "references" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "airport" FROM "references" WHERE "iata"='tyn'; | 2-10660046-2 |
Which country contains the Shanghai Pudong International airport? | CREATE TABLE "references" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "country" FROM "references" WHERE "airport"='shanghai pudong international airport'; | 2-10660046-2 |
What was Footscray's score when it played as the home team? | CREATE TABLE "round_8" (
"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_8" WHERE "home_team"='footscray'; | 2-10701914-8 |
hat was Hawthorn's score as the away team? | CREATE TABLE "round_8" (
"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_8" WHERE "away_team"='hawthorn'; | 2-10701914-8 |
What was the Outcome against Opponent in the Final Carlos Kirmayr? | CREATE TABLE "singles_titles_16" (
"outcome" text,
"date" real,
"championship" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "outcome" FROM "singles_titles_16" WHERE "opponent_in_the_final"='carlos kirmayr'; | 2-10556260-1 |
What was the Score in the Final against Opponent in the Final Manuel Orantes, prior to 1978? | CREATE TABLE "singles_titles_16" (
"outcome" text,
"date" real,
"championship" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "score_in_the_final" FROM "singles_titles_16" WHERE "date"<1978 AND "opponent_in_the_final"='manuel orantes'; | 2-10556260-1 |
Against Opponent in the Final Ivan Lendl, on a Surface of clay, with an Outcome of runner-up, where was the Championship? | CREATE TABLE "singles_titles_16" (
"outcome" text,
"date" real,
"championship" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "championship" FROM "singles_titles_16" WHERE "outcome"='runner-up' AND "surface"='clay' AND "opponent_in_the_final"='ivan lendl'; | 2-10556260-1 |
What is the earliest Date on a Surface of clay in a Championship in Linz, Austria? | CREATE TABLE "singles_titles_16" (
"outcome" text,
"date" real,
"championship" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT MIN("date") FROM "singles_titles_16" WHERE "surface"='clay' AND "championship"='linz, austria'; | 2-10556260-1 |
Who playes the sport of athletics? | CREATE TABLE "list_of_winners" (
"year" real,
"sportsperson" text,
"nation_of_birth" text,
"team" text,
"competition_federation_or_league" text,
"sport" text
); | SELECT "sportsperson" FROM "list_of_winners" WHERE "sport"='athletics'; | 2-10587252-1 |
What team has a year listed of 2008? | CREATE TABLE "list_of_winners" (
"year" real,
"sportsperson" text,
"nation_of_birth" text,
"team" text,
"competition_federation_or_league" text,
"sport" text
); | SELECT "team" FROM "list_of_winners" WHERE "year"=2008; | 2-10587252-1 |
What venue was the game played in when the away team was fitzroy? | 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 "venue" FROM "round_3" WHERE "away_team"='fitzroy'; | 2-10750694-3 |
What is the number of people in the crowd when the away team scored 10.14 (74)? | 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 "away_team_score"='10.14 (74)'; | 2-10750694-3 |
What did the away team score when the home team scored 14.15 (99)? | 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 "home_team_score"='14.15 (99)'; | 2-10750694-3 |
What is the film type for the movie Sanctuary? | CREATE TABLE "upcoming_films" (
"name" text,
"type" text,
"planned_release" text,
"cc_license" text,
"sources_available" text,
"open_source_movie" text
); | SELECT "type" FROM "upcoming_films" WHERE "name"='sanctuary'; | 2-10597959-2 |
What different types are there with a CC License of by-nc-sa 2.5? | CREATE TABLE "upcoming_films" (
"name" text,
"type" text,
"planned_release" text,
"cc_license" text,
"sources_available" text,
"open_source_movie" text
); | SELECT "type" FROM "upcoming_films" WHERE "cc_license"='by-nc-sa 2.5'; | 2-10597959-2 |
What are the open source movies with planned releases in 2013? | CREATE TABLE "upcoming_films" (
"name" text,
"type" text,
"planned_release" text,
"cc_license" text,
"sources_available" text,
"open_source_movie" text
); | SELECT "open_source_movie" FROM "upcoming_films" WHERE "planned_release"='2013'; | 2-10597959-2 |
What was the lowest rank by average of a couple who had an average of 23 and a total of 115? | CREATE TABLE "average_chart" (
"rank_by_average" real,
"place" real,
"couple" text,
"total" real,
"number_of_dances" real,
"average" real
); | SELECT MIN("rank_by_average") FROM "average_chart" WHERE "average"=23 AND "total"=115; | 2-10535445-3 |
What is the colonized date for Michigan? | CREATE TABLE "naming_rules" (
"chapter" text,
"colonized" text,
"chartered" text,
"school" text,
"state" text,
"status" text,
"charter_range" text
); | SELECT "colonized" FROM "naming_rules" WHERE "state"='michigan'; | 2-10769791-2 |
What is the colonized year for the chartered year 1958? | CREATE TABLE "naming_rules" (
"chapter" text,
"colonized" text,
"chartered" text,
"school" text,
"state" text,
"status" text,
"charter_range" text
); | SELECT "colonized" FROM "naming_rules" WHERE "chartered"='1958'; | 2-10769791-2 |
When was shippensburg university Colonized? | CREATE TABLE "naming_rules" (
"chapter" text,
"colonized" text,
"chartered" text,
"school" text,
"state" text,
"status" text,
"charter_range" text
); | SELECT "colonized" FROM "naming_rules" WHERE "school"='shippensburg university'; | 2-10769791-2 |
What is the colonized date for the n/a charter range for appalachian state? | CREATE TABLE "naming_rules" (
"chapter" text,
"colonized" text,
"chartered" text,
"school" text,
"state" text,
"status" text,
"charter_range" text
); | SELECT "colonized" FROM "naming_rules" WHERE "charter_range"='n/a' AND "school"='appalachian state'; | 2-10769791-2 |
What state has colony as a status and shippensburg university as the school? | CREATE TABLE "naming_rules" (
"chapter" text,
"colonized" text,
"chartered" text,
"school" text,
"state" text,
"status" text,
"charter_range" text
); | SELECT "state" FROM "naming_rules" WHERE "status"='colony' AND "school"='shippensburg university'; | 2-10769791-2 |
Which team has a Home Team score of 5.12 (42)? | 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"='5.12 (42)'; | 2-10750694-13 |
What was the Home Team Score for the Windy Hill Venue? | 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 "venue"='windy hill'; | 2-10750694-13 |
What is the Essendon Home Team's venue? | 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"='essendon'; | 2-10750694-13 |
Which Away team has Away team score 5.8 (38)? | 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 "away_team_score"='5.8 (38)'; | 2-10750694-13 |
How large a crowd did the Fitzroy Away team draw? | 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"='fitzroy'; | 2-10750694-13 |
What is Van Waiters position? | CREATE TABLE "nfl_draft" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "nfl_draft" WHERE "player"='van waiters'; | 2-10650711-1 |
What is the capacity of the team in tucson, USA? | CREATE TABLE "see_also" (
"rank" text,
"stadium" text,
"capacity" real,
"city" text,
"country" text
); | SELECT "capacity" FROM "see_also" WHERE "country"='usa' AND "city"='tucson'; | 2-10565505-1 |
What is the date for the podcast episode number 103? | CREATE TABLE "season_1" (
"episode_number" real,
"title" text,
"podcast_date" text,
"run_time" text,
"historical_references" text
); | SELECT "podcast_date" FROM "season_1" WHERE "episode_number"=103; | 2-10621888-1 |
What is the name of the podcast on November 21, 2004? | CREATE TABLE "season_1" (
"episode_number" real,
"title" text,
"podcast_date" text,
"run_time" text,
"historical_references" text
); | SELECT "title" FROM "season_1" WHERE "podcast_date"='november 21, 2004'; | 2-10621888-1 |
Which school added a player to the Lakers in 1948? | CREATE TABLE "d" (
"player" text,
"nationality" text,
"position" text,
"from" text,
"school_country" text
); | SELECT "school_country" FROM "d" WHERE "from"='1948'; | 2-10560886-5 |
Which school added a player to the Lakers in 1948? | CREATE TABLE "d" (
"player" text,
"nationality" text,
"position" text,
"from" text,
"school_country" text
); | SELECT "school_country" FROM "d" WHERE "from"='1948'; | 2-10560886-5 |
What was the tonnage of the Great Britain ship Batna? | CREATE TABLE "summary_of_raiding_history" (
"date" text,
"ship" text,
"nationality" text,
"tonnage" real,
"fate" text
); | SELECT "tonnage" FROM "summary_of_raiding_history" WHERE "nationality"='great britain' AND "ship"='batna'; | 2-10765229-1 |
How many silver medals were won when there were 4 gold and 22 in total? | CREATE TABLE "men_s_medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("silver") FROM "men_s_medal_table" WHERE "gold"=4 AND "total"=22; | 2-10773296-2 |
What car number has 130 points? | CREATE TABLE "race_results" (
"driver" text,
"car_num" real,
"make" text,
"points" real,
"laps" real,
"winnings" text
); | SELECT "car_num" FROM "race_results" WHERE "points"=130; | 2-10781986-1 |
What is the lowest number of laps for ryan newman with over 96 points, a cur number under 24, | CREATE TABLE "race_results" (
"driver" text,
"car_num" real,
"make" text,
"points" real,
"laps" real,
"winnings" text
); | SELECT MIN("laps") FROM "race_results" WHERE "points">96 AND "car_num"<24 AND "driver"='ryan newman'; | 2-10781986-1 |
What is the sum of car numbers with less than 126 points and 147 laps? | CREATE TABLE "race_results" (
"driver" text,
"car_num" real,
"make" text,
"points" real,
"laps" real,
"winnings" text
); | SELECT SUM("car_num") FROM "race_results" WHERE "points"<126 AND "laps"=147; | 2-10781986-1 |
How many total laps for the driver with Winnings of $116,033, and a Car # smaller than 18? | CREATE TABLE "race_results" (
"driver" text,
"car_num" real,
"make" text,
"points" real,
"laps" real,
"winnings" text
); | SELECT COUNT("laps") FROM "race_results" WHERE "winnings"='$116,033' AND "car_num"<18; | 2-10781986-1 |
What was the crowd when the home team had a score of 16.21 (117)? | 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 "crowd" FROM "round_15" WHERE "home_team_score"='16.21 (117)'; | 2-10701045-15 |
What was the home team's score at kardinia park? | 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_score" FROM "round_15" WHERE "venue"='kardinia park'; | 2-10701045-15 |
What is the venue when melbourne is the away team? | 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 "venue" FROM "round_15" WHERE "away_team"='melbourne'; | 2-10701045-15 |
What is the smallest crowd that Footscray had as the away 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 MIN("crowd") FROM "round_4" WHERE "away_team"='footscray'; | 2-10640687-4 |
Which home team scored 12.15 (87)? | 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 "home_team" FROM "round_4" WHERE "home_team_score"='12.15 (87)'; | 2-10640687-4 |
Where is the Mackey 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"='mackey arena'; | 2-10743839-4 |
What state has the University of California, Los Angeles? | CREATE TABLE "first_and_second_rounds" (
"region" text,
"host" text,
"venue" text,
"city" text,
"state" text
); | SELECT "state" FROM "first_and_second_rounds" WHERE "host"='university of california, los angeles'; | 2-10743839-4 |
What region does the University of California, Los Angeles play in? | CREATE TABLE "first_and_second_rounds" (
"region" text,
"host" text,
"venue" text,
"city" text,
"state" text
); | SELECT "region" FROM "first_and_second_rounds" WHERE "state"='california' AND "host"='university of california, los angeles'; | 2-10743839-4 |
What venue is in Santa Barbara, California? | CREATE TABLE "first_and_second_rounds" (
"region" text,
"host" text,
"venue" text,
"city" text,
"state" text
); | SELECT "venue" FROM "first_and_second_rounds" WHERE "state"='california' AND "city"='santa barbara'; | 2-10743839-4 |
What Venue is in Colorado? | CREATE TABLE "first_and_second_rounds" (
"region" text,
"host" text,
"venue" text,
"city" text,
"state" text
); | SELECT "venue" FROM "first_and_second_rounds" WHERE "state"='colorado'; | 2-10743839-4 |
What city is Mackey Arena in? | 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"='mackey arena'; | 2-10743839-4 |
What lane is David Carry in heat 1? | CREATE TABLE "semifinals" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"100m" real,
"150m" text,
"time" text
); | SELECT COUNT("lane") FROM "semifinals" WHERE "heat"=1 AND "name"='david carry'; | 2-10563642-3 |
Who is the opponent after week 9 at rich stadium? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "week">9 AND "game_site"='rich stadium'; | 2-10770198-1 |
What was the attendance on 1997-12-14? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "date"='1997-12-14'; | 2-10770198-1 |
For the 1967 Cleveland Browns season what is the total number of times they played the Minnesota Vikings and had an atttendance smaller than 68,431? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT COUNT("week") FROM "schedule" WHERE "opponent"='minnesota vikings' AND "attendance"<'68,431'; | 2-10652011-3 |
What is the lowest attendance for a game before 10 weeks on November 12, 1967 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT MIN("attendance") FROM "schedule" WHERE "week"<10 AND "date"='november 12, 1967'; | 2-10652011-3 |
What is the smallest number of injured in mayurbhanj, odisha and less than 1 killed? | CREATE TABLE "2010" (
"incident_no" text,
"date" text,
"place" text,
"killed" real,
"injured" real
); | SELECT MIN("injured") FROM "2010" WHERE "place"='mayurbhanj, odisha' AND "killed"<1; | 2-1074011-7 |
What is the Venue when the Crowd was larger than 11,000 and the Away team score was 7.9 (51)? | 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 "venue" FROM "round_18" WHERE "crowd">'11,000' AND "away_team_score"='7.9 (51)'; | 2-10747009-18 |
When the Away team had a score of 11.16 (82), what is the average Crowd? | 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 "away_team_score"='11.16 (82)'; | 2-10747009-18 |
Which Away team has a score of 6.17 (53)? | 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 "away_team_score"='6.17 (53)'; | 2-10747009-18 |
Which Away team has Carlton for it's Home team? | 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"='carlton'; | 2-10747009-18 |
Which Venue has Footscray as it's Home team? | 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 "venue" FROM "round_18" WHERE "home_team"='footscray'; | 2-10747009-18 |
What home team has Richmond listed as their Away team? | CREATE TABLE "round_9" (
"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_9" WHERE "away_team"='richmond'; | 2-10640687-9 |
What is the name of the away team that has the home team score of 15.17 (107)? | CREATE TABLE "round_9" (
"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_9" WHERE "home_team_score"='15.17 (107)'; | 2-10640687-9 |
What is the number of the crowd for the home team of South Melbourne? | CREATE TABLE "round_9" (
"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_9" WHERE "home_team"='south melbourne'; | 2-10640687-9 |
What is the away team score for the home team listed as Footscray? | CREATE TABLE "round_9" (
"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_9" WHERE "home_team"='footscray'; | 2-10640687-9 |
In which venue did the home team score 11.20 (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 "venue" FROM "round_13" WHERE "home_team_score"='11.20 (86)'; | 2-10746200-13 |
Which venue exceeded a crowd size of 33,642? | 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 "crowd">'33,642'; | 2-10746200-13 |
Which home team scored 7.10 (52)? | 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"='7.10 (52)'; | 2-10746200-13 |
What is the largest crowd size that had a home team score of 17.18 (120)? | 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 MAX("crowd") FROM "round_13" WHERE "home_team_score"='17.18 (120)'; | 2-10746200-13 |
In which venue did the away team score 9.11 (65)? | 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_score"='9.11 (65)'; | 2-10746200-13 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.