question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What did the home team footscray score? | 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"='footscray'; | 2-10806194-9 |
What was the total crowd size for the him team 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 COUNT("crowd") FROM "round_9" WHERE "home_team"='footscray'; | 2-10806194-9 |
What is the Home team at corio oval? | 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"='corio oval'; | 2-10806194-10 |
What was the away team score when the crowd is larger than 22,000 and hawthorn is the home 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 "away_team_score" FROM "round_10" WHERE "crowd">'22,000' AND "home_team"='hawthorn'; | 2-10806194-10 |
What livery was worn on the date before 1936, with the description of Gresley RF? | CREATE TABLE "list_of_great_central_railway_locomotive" (
"number_name" text,
"description" text,
"livery" text,
"owner_s" text,
"date" real
); | SELECT "livery" FROM "list_of_great_central_railway_locomotive" WHERE "date"<1936 AND "description"='gresley rf'; | 2-11913905-11 |
Which number and name has the description Gresley RB and a date before 1937? | CREATE TABLE "list_of_great_central_railway_locomotive" (
"number_name" text,
"description" text,
"livery" text,
"owner_s" text,
"date" real
); | SELECT "number_name" FROM "list_of_great_central_railway_locomotive" WHERE "description"='gresley rb' AND "date"<1937; | 2-11913905-11 |
Who is the owner before 1940, who had a number and name of no. 1222? | CREATE TABLE "list_of_great_central_railway_locomotive" (
"number_name" text,
"description" text,
"livery" text,
"owner_s" text,
"date" real
); | SELECT "owner_s" FROM "list_of_great_central_railway_locomotive" WHERE "date"<1940 AND "number_name"='no. 1222'; | 2-11913905-11 |
What type has a scratch of 750 GB? | CREATE TABLE "stichting_academisch_rekencentrum_amster" (
"number" real,
"type" text,
"clock" text,
"scratch" text,
"memory" text,
"cache" text
); | SELECT "type" FROM "stichting_academisch_rekencentrum_amster" WHERE "scratch"='750 gb'; | 2-11804744-1 |
What is the Cache for a Number 64 with a Memory of 24 gb qpi 5.86 gt/s? | CREATE TABLE "stichting_academisch_rekencentrum_amster" (
"number" real,
"type" text,
"clock" text,
"scratch" text,
"memory" text,
"cache" text
); | SELECT "cache" FROM "stichting_academisch_rekencentrum_amster" WHERE "memory"='24 gb qpi 5.86 gt/s' AND "number"=64; | 2-11804744-1 |
What is the Memory for a Number 32 with a Clock of 2.26ghz? | CREATE TABLE "stichting_academisch_rekencentrum_amster" (
"number" real,
"type" text,
"clock" text,
"scratch" text,
"memory" text,
"cache" text
); | SELECT "memory" FROM "stichting_academisch_rekencentrum_amster" WHERE "clock"='2.26ghz' AND "number"=32; | 2-11804744-1 |
Of those acquired in 2008, where were they born? | CREATE TABLE "forwards" (
"player" text,
"shoots" text,
"position" text,
"acquired" real,
"place_of_birth" text,
"joined_from" text
); | SELECT "place_of_birth" FROM "forwards" WHERE "acquired"=2008; | 2-1132100-3 |
What is the shooting preference of Matthew Myers, acquired in 2010? | CREATE TABLE "forwards" (
"player" text,
"shoots" text,
"position" text,
"acquired" real,
"place_of_birth" text,
"joined_from" text
); | SELECT "shoots" FROM "forwards" WHERE "acquired"=2010 AND "player"='matthew myers'; | 2-1132100-3 |
In what year was player Bruce Graham acquired? | CREATE TABLE "forwards" (
"player" text,
"shoots" text,
"position" text,
"acquired" real,
"place_of_birth" text,
"joined_from" text
); | SELECT "acquired" FROM "forwards" WHERE "player"='bruce graham'; | 2-1132100-3 |
Name th D 43 √ when R 51 + is r 30 | CREATE TABLE "as_a_result_of_the_elections" (
"d_40" text,
"d_41" text,
"d_42" text,
"d_43" text,
"d_44" text,
"d_45_o" text,
"d_46_o" text,
"r_53" text,
"r_52" text,
"r_51" text
); | SELECT "d_43" FROM "as_a_result_of_the_elections" WHERE "r_51"='r 30'; | 2-1106375-3 |
Name the R 53 + which has a D 42 √ of d 17 | CREATE TABLE "as_a_result_of_the_elections" (
"d_40" text,
"d_41" text,
"d_42" text,
"d_43" text,
"d_44" text,
"d_45_o" text,
"d_46_o" text,
"r_53" text,
"r_52" text,
"r_51" text
); | SELECT "r_53" FROM "as_a_result_of_the_elections" WHERE "d_42"='d 17'; | 2-1106375-3 |
Name the D 45 O which has R 51 + of d 30 | CREATE TABLE "as_a_result_of_the_elections" (
"d_40" text,
"d_41" text,
"d_42" text,
"d_43" text,
"d_44" text,
"d_45_o" text,
"d_46_o" text,
"r_53" text,
"r_52" text,
"r_51" text
); | SELECT "d_45_o" FROM "as_a_result_of_the_elections" WHERE "r_51"='d 30'; | 2-1106375-3 |
Name the D 42 √ when it has D 44 √ of r 36 √ | CREATE TABLE "as_a_result_of_the_elections" (
"d_40" text,
"d_41" text,
"d_42" text,
"d_43" text,
"d_44" text,
"d_45_o" text,
"d_46_o" text,
"r_53" text,
"r_52" text,
"r_51" text
); | SELECT "d_42" FROM "as_a_result_of_the_elections" WHERE "d_44"='r 36 √'; | 2-1106375-3 |
Name the D 45 O that has D 46 O of d 26 | CREATE TABLE "as_a_result_of_the_elections" (
"d_40" text,
"d_41" text,
"d_42" text,
"d_43" text,
"d_44" text,
"d_45_o" text,
"d_46_o" text,
"r_53" text,
"r_52" text,
"r_51" text
); | SELECT "d_45_o" FROM "as_a_result_of_the_elections" WHERE "d_46_o"='d 26'; | 2-1106375-3 |
Name the least goals for goal difference of 7 and losses more than 13 | CREATE TABLE "final_table" (
"position" real,
"club" text,
"played" real,
"points" text,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT MIN("goals_against") FROM "final_table" WHERE "goal_difference"=7 AND "losses">13; | 2-12107080-2 |
Tell me the total number of positions with goal difference more than -17 and played less than 38 | CREATE TABLE "final_table" (
"position" real,
"club" text,
"played" real,
"points" text,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
); | SELECT COUNT("position") FROM "final_table" WHERE "goal_difference">-17 AND "played"<38; | 2-12107080-2 |
Where did Melbourne play as 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"='melbourne'; | 2-10807253-13 |
What was the attendance when South Melbourne 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 MIN("crowd") FROM "round_13" WHERE "home_team"='south melbourne'; | 2-10807253-13 |
What was the attendance when Footscray played as 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 COUNT("crowd") FROM "round_13" WHERE "away_team"='footscray'; | 2-10807253-13 |
What is the lowest quantity for GWR Nos. 696, 779, 93 5 from the manufacturer Peckett and Sons? | CREATE TABLE "powlesland_and_mason" (
"manufacturer" text,
"type" text,
"quantity" real,
"p_m_nos" text,
"gwr_nos" text
); | SELECT MIN("quantity") FROM "powlesland_and_mason" WHERE "manufacturer"='peckett and sons' AND "gwr_nos"='696, 779, 93 5'; | 2-1169521-15 |
What is the lowest capacity with an opening larger than 2015 in Trabzon? | CREATE TABLE "under_construction_stadium_s" (
"stadium" text,
"capacity" real,
"city" text,
"club" text,
"opening" real
); | SELECT MIN("capacity") FROM "under_construction_stadium_s" WHERE "opening">2015 AND "city"='trabzon'; | 2-10838094-2 |
What is the average opening at Stadyum Samsun with a capacity smaller than 34,658? | CREATE TABLE "under_construction_stadium_s" (
"stadium" text,
"capacity" real,
"city" text,
"club" text,
"opening" real
); | SELECT AVG("opening") FROM "under_construction_stadium_s" WHERE "stadium"='stadyum samsun' AND "capacity"<'34,658'; | 2-10838094-2 |
What is the Years for Jazz Club at Oregon State? | CREATE TABLE "o" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "years_for_jazz" FROM "o" WHERE "school_club_team"='oregon state'; | 2-11545282-15 |
Which player is Andre Owens in Year for Jazz? | CREATE TABLE "o" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "years_for_jazz" FROM "o" WHERE "player"='andre owens'; | 2-11545282-15 |
What is the Year for Jazz club of Houston? | CREATE TABLE "o" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "years_for_jazz" FROM "o" WHERE "school_club_team"='houston'; | 2-11545282-15 |
What is position does Dan O'Sullivan play? | CREATE TABLE "o" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "position" FROM "o" WHERE "player"='dan o''sullivan'; | 2-11545282-15 |
What position in the club team of Kansas? | CREATE TABLE "o" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "position" FROM "o" WHERE "school_club_team"='kansas'; | 2-11545282-15 |
Who is the center position of Years for Jazz, Greg Ostertag? | CREATE TABLE "o" (
"player" text,
"nationality" text,
"position" text,
"years_for_jazz" text,
"school_club_team" text
); | SELECT "years_for_jazz" FROM "o" WHERE "position"='center' AND "player"='greg ostertag'; | 2-11545282-15 |
What is the Date for the Away team University? | CREATE TABLE "round_4" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "date" FROM "round_4" WHERE "away_team"='university'; | 2-1204658-4 |
What is the Home team score at junction oval? | CREATE TABLE "round_4" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "home_team" FROM "round_4" WHERE "venue"='junction oval'; | 2-1204658-4 |
What is the Away team score when Home team score is at 5.10 (40)? | CREATE TABLE "round_4" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "away_team_score" FROM "round_4" WHERE "home_team_score"='5.10 (40)'; | 2-1204658-4 |
What Date did the Home team play in essendon? | CREATE TABLE "round_4" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "date" FROM "round_4" WHERE "home_team"='essendon'; | 2-1204658-4 |
What country has OF-1 Locotenent? | CREATE TABLE "other_officers" (
"country" text,
"of_5" text,
"of_4" text,
"of_2" text,
"of_1" text
); | SELECT "country" FROM "other_officers" WHERE "of_1"='locotenent'; | 2-1089017-2 |
What country has OF-1 Locotenent? | CREATE TABLE "other_officers" (
"country" text,
"of_5" text,
"of_4" text,
"of_2" text,
"of_1" text
); | SELECT "country" FROM "other_officers" WHERE "of_1"='locotenent'; | 2-1089017-2 |
Which OF-5 is in Ghana? | CREATE TABLE "other_officers" (
"country" text,
"of_5" text,
"of_4" text,
"of_2" text,
"of_1" text
); | SELECT "of_5" FROM "other_officers" WHERE "country"='ghana'; | 2-1089017-2 |
What is the OF-4 of Albania? | CREATE TABLE "other_officers" (
"country" text,
"of_5" text,
"of_4" text,
"of_2" text,
"of_1" text
); | SELECT "of_4" FROM "other_officers" WHERE "country"='albania'; | 2-1089017-2 |
What is the total pick numbers for the CFL team Edmonton Eskimos? | CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT SUM("pick_num") FROM "round_five" WHERE "cfl_team"='edmonton eskimos'; | 2-10975034-5 |
What p;layer attended Concordia College? | CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "player" FROM "round_five" WHERE "college"='concordia'; | 2-10975034-5 |
What is the total number of picks for the position of OL? | CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT SUM("pick_num") FROM "round_five" WHERE "position"='ol'; | 2-10975034-5 |
Name the highest week for result of w 38-13 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT MAX("week") FROM "schedule" WHERE "result"='w 38-13'; | 2-11171998-1 |
I want to know the date with attendance of 35,763 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "attendance"='35,763'; | 2-11171998-1 |
Which series with a total of 27 albums did Dargaud edit? | CREATE TABLE "bibliography" (
"series" text,
"years" text,
"magazine" text,
"albums" text,
"editor" text
); | SELECT "series" FROM "bibliography" WHERE "editor"='dargaud' AND "albums"='27'; | 2-11817248-1 |
What years did the magazine Vaillant and Pif run? | CREATE TABLE "bibliography" (
"series" text,
"years" text,
"magazine" text,
"albums" text,
"editor" text
); | SELECT "years" FROM "bibliography" WHERE "magazine"='vaillant and pif'; | 2-11817248-1 |
What state is susana martinez from? | CREATE TABLE "list_of_current_republican_governors" (
"current_governor" text,
"state" text,
"past" text,
"took_office" real,
"current_term" text
); | SELECT "state" FROM "list_of_current_republican_governors" WHERE "current_governor"='susana martinez'; | 2-1151686-1 |
Which away team has a Home team score of 15.14 (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 "away_team" FROM "round_4" WHERE "home_team_score"='15.14 (104)'; | 2-10823950-4 |
What is the Home team score when away team is hawthorn? | 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_score" FROM "round_4" WHERE "away_team"='hawthorn'; | 2-10823950-4 |
What league is ordabasy-2 in? | CREATE TABLE "club_career_stats" (
"season" text,
"team" text,
"country" text,
"league" text,
"level" real
); | SELECT "league" FROM "club_career_stats" WHERE "team"='ordabasy-2'; | 2-11558025-1 |
How many people attended the game where the home team scored 10.13 (73)? | 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 AVG("crowd") FROM "round_15" WHERE "home_team_score"='10.13 (73)'; | 2-10826385-15 |
What is the lowest amount of people that attended a game where the home team scored 10.13 (73)? | 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 MIN("crowd") FROM "round_15" WHERE "home_team_score"='10.13 (73)'; | 2-10826385-15 |
On what date was Richmond hosted as 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 "date" FROM "round_15" WHERE "away_team"='richmond'; | 2-10826385-15 |
Tell me the Hindu with Jewish of source: uk 2001 census | CREATE TABLE "religions_by_ethnic_group_uk_census_2001" (
"ethnic_group" text,
"christian" text,
"buddhist" text,
"hindu" text,
"jewish" text,
"muslim" text,
"sikh" text,
"other" text,
"no_religion" text,
"not_stated" text
); | SELECT "hindu" FROM "religions_by_ethnic_group_uk_census_2001" WHERE "jewish"='source: uk 2001 census'; | 2-1135593-5 |
Tell me the ethnic group for jewish of 0.47% | CREATE TABLE "religions_by_ethnic_group_uk_census_2001" (
"ethnic_group" text,
"christian" text,
"buddhist" text,
"hindu" text,
"jewish" text,
"muslim" text,
"sikh" text,
"other" text,
"no_religion" text,
"not_stated" text
); | SELECT "ethnic_group" FROM "religions_by_ethnic_group_uk_census_2001" WHERE "jewish"='0.47%'; | 2-1135593-5 |
Tell me the Hindu for ethnic group for white irish | CREATE TABLE "religions_by_ethnic_group_uk_census_2001" (
"ethnic_group" text,
"christian" text,
"buddhist" text,
"hindu" text,
"jewish" text,
"muslim" text,
"sikh" text,
"other" text,
"no_religion" text,
"not_stated" text
); | SELECT "hindu" FROM "religions_by_ethnic_group_uk_census_2001" WHERE "ethnic_group"='white irish'; | 2-1135593-5 |
Name the ethnic group with a buddhist of 0.19% | CREATE TABLE "religions_by_ethnic_group_uk_census_2001" (
"ethnic_group" text,
"christian" text,
"buddhist" text,
"hindu" text,
"jewish" text,
"muslim" text,
"sikh" text,
"other" text,
"no_religion" text,
"not_stated" text
); | SELECT "ethnic_group" FROM "religions_by_ethnic_group_uk_census_2001" WHERE "buddhist"='0.19%'; | 2-1135593-5 |
What was the attendance of week 8? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "week"=8; | 2-10996122-1 |
How many points did the home score at a game that had their opponents scoring 12.16 (88)? | 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 "away_team_score"='12.16 (88)'; | 2-10790099-5 |
Who was the home team that had a score of 13.14 (92)? | 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" FROM "round_5" WHERE "home_team_score"='13.14 (92)'; | 2-10790099-5 |
Who was the opponent of carlton at their home game? | 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 "home_team"='carlton'; | 2-10790099-5 |
Tell me the result for 3 goals | CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "goal"=3; | 2-11559634-1 |
Name the score for november 16 | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "date"='november 16'; | 2-11961582-3 |
On what date did an away team score 22.17 (149)? | 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"='22.17 (149)'; | 2-10809157-13 |
In what Venue was the Away Team Score 19.13 (127)? | 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"='19.13 (127)'; | 2-10809157-13 |
What is the Away Team Score of the Hawthorn 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_score" FROM "round_13" WHERE "home_team"='hawthorn'; | 2-10809157-13 |
What is the Away Team Score of the Collingwood 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_score" FROM "round_13" WHERE "away_team"='collingwood'; | 2-10809157-13 |
What Away Team's venue is Arden Street 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" FROM "round_13" WHERE "venue"='arden street oval'; | 2-10809157-13 |
Name the least Laps for accident and gird more than 13 | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MIN("laps") FROM "classification" WHERE "time_retired"='accident' AND "grid">13; | 2-1122655-1 |
Tell me the lowest Grid for engine and driver of emerson fittipaldi with more laps than 70 | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MIN("grid") FROM "classification" WHERE "time_retired"='engine' AND "driver"='emerson fittipaldi' AND "laps">70; | 2-1122655-1 |
What the score when Richmond played at home and the crowd was larger than 15,184? | 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_score" FROM "round_16" WHERE "crowd">'15,184' AND "home_team"='richmond'; | 2-10808933-16 |
In what venue was the away team South Melbourne? | 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 "venue" FROM "round_16" WHERE "away_team"='south melbourne'; | 2-10808933-16 |
Where did the away team Carlton play? | CREATE TABLE "round_12" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_12" WHERE "away_team"='carlton'; | 2-10808346-12 |
What home team played against Richmond? | CREATE TABLE "round_12" (
"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_12" WHERE "away_team"='richmond'; | 2-10808346-12 |
What is the smallest crowd size for punt road oval? | CREATE TABLE "round_12" (
"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_12" WHERE "venue"='punt road oval'; | 2-10808346-12 |
Where did a home team score 23.20 (158)? | 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 "venue" FROM "round_22" WHERE "home_team_score"='23.20 (158)'; | 2-10826385-22 |
Which team scored 11.17 (83) while away? | 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 "away_team" FROM "round_22" WHERE "away_team_score"='11.17 (83)'; | 2-10826385-22 |
Which Number of people 1991 has a Percent of Slovenes 1991 of 14.4%? | CREATE TABLE "references" (
"village_german" text,
"village_slovenian" text,
"number_of_people_1991" real,
"percent_of_slovenes_1991" text,
"percent_of_slovenes_1951" text
); | SELECT MAX("number_of_people_1991") FROM "references" WHERE "percent_of_slovenes_1991"='14.4%'; | 2-10797463-1 |
Which Percent of Slovenes 1951 has a Number of people 1991 larger than 8, and a Village (German) of plöschenberg? | CREATE TABLE "references" (
"village_german" text,
"village_slovenian" text,
"number_of_people_1991" real,
"percent_of_slovenes_1991" text,
"percent_of_slovenes_1951" text
); | SELECT "percent_of_slovenes_1951" FROM "references" WHERE "number_of_people_1991">8 AND "village_german"='plöschenberg'; | 2-10797463-1 |
Where was Collingwood's away game played? | 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 "venue" FROM "round_14" WHERE "away_team"='collingwood'; | 2-10809271-14 |
What did the home team score in the game that the away team scored 10.17 (77)? | 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 "away_team_score"='10.17 (77)'; | 2-10809271-14 |
What was the away team's score at Western Oval? | 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 "venue"='western oval'; | 2-10809271-14 |
When did Collingwood play an away game? | 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 "date" FROM "round_14" WHERE "away_team"='collingwood'; | 2-10809271-14 |
How many people attended the game that the Away team scored 10.17 (77) points in? | 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 COUNT("crowd") FROM "round_14" WHERE "away_team_score"='10.17 (77)'; | 2-10809271-14 |
Where was the game played when the home team score was 11.9 (75)? | 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 "venue" FROM "round_14" WHERE "home_team_score"='11.9 (75)'; | 2-10809271-14 |
What team is based at junction 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 "home_team" FROM "round_3" WHERE "venue"='junction oval'; | 2-10807253-3 |
What is the team set at junction 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 "home_team" FROM "round_3" WHERE "venue"='junction oval'; | 2-10807253-3 |
What was the home team that scored 20.21 (141)? | 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" FROM "round_3" WHERE "home_team_score"='20.21 (141)'; | 2-10807253-3 |
How big was the crowd in a game that had the home team score 18.19 (127)? | 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"='18.19 (127)'; | 2-10807253-3 |
What was the place that had the home team score 16.19 (115)? | 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 "home_team_score"='16.19 (115)'; | 2-10807253-3 |
What driver has a grid under 12 with a Time/Retired of + 3 laps? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "driver" FROM "race" WHERE "grid"<12 AND "time_retired"='+ 3 laps'; | 2-1122976-2 |
What is the high grid for osella - alfa romeo, and a Laps larger than 61? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MAX("grid") FROM "race" WHERE "constructor"='osella - alfa romeo' AND "laps">61; | 2-1122976-2 |
How many picks does Matt Moran have altogether after round 6? | CREATE TABLE "1985_nfl_draft" (
"round" real,
"pick" real,
"name" text,
"position" text,
"school" text
); | SELECT COUNT("pick") FROM "1985_nfl_draft" WHERE "name"='matt moran' AND "round">6; | 2-11309495-1 |
What position after round 8 has a pick less than 270? | CREATE TABLE "1985_nfl_draft" (
"round" real,
"pick" real,
"name" text,
"position" text,
"school" text
); | SELECT "position" FROM "1985_nfl_draft" WHERE "round">8 AND "pick"<270; | 2-11309495-1 |
What is the total number of rounds that UCLA has? | CREATE TABLE "1985_nfl_draft" (
"round" real,
"pick" real,
"name" text,
"position" text,
"school" text
); | SELECT COUNT("round") FROM "1985_nfl_draft" WHERE "school"='ucla'; | 2-11309495-1 |
What is the lowest round for Georgia Tech? | CREATE TABLE "1985_nfl_draft" (
"round" real,
"pick" real,
"name" text,
"position" text,
"school" text
); | SELECT MIN("round") FROM "1985_nfl_draft" WHERE "school"='georgia tech'; | 2-11309495-1 |
What is the average round for Georgia Tech with a pick greater than 103? | CREATE TABLE "1985_nfl_draft" (
"round" real,
"pick" real,
"name" text,
"position" text,
"school" text
); | SELECT AVG("round") FROM "1985_nfl_draft" WHERE "school"='georgia tech' AND "pick">103; | 2-11309495-1 |
Which player is featured for 2001-2002? | CREATE TABLE "girls_basketball_players_and_coaches_of_" (
"year" text,
"player" text,
"school" text,
"hometown" text,
"college" text
); | SELECT "player" FROM "girls_basketball_players_and_coaches_of_" WHERE "year"='2001-2002'; | 2-11677760-3 |
Which player is from Queens, NY? | CREATE TABLE "girls_basketball_players_and_coaches_of_" (
"year" text,
"player" text,
"school" text,
"hometown" text,
"college" text
); | SELECT "player" FROM "girls_basketball_players_and_coaches_of_" WHERE "hometown"='queens, ny'; | 2-11677760-3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.