question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What city is Jaffna Airport in? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "city" FROM "destinations" WHERE "airport"='jaffna airport'; | 2-11160779-2 |
Which city has an ICAO of TBA? | CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
); | SELECT "city" FROM "destinations" WHERE "icao"='tba'; | 2-11160779-2 |
Which player went to the College of Wyoming? | CREATE TABLE "draft" (
"round" text,
"pick" text,
"player" text,
"position" text,
"nationality" text,
"team" text,
"college" text
); | SELECT "player" FROM "draft" WHERE "college"='wyoming'; | 2-11157130-3 |
What was the smallest crowd at a game when Richmond was the away team? | 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 MIN("crowd") FROM "round_14" WHERE "away_team"='richmond'; | 2-10887379-14 |
Who was the home team at the game that had a crowd of over 24,520? | 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 "crowd">'24,520'; | 2-10887379-14 |
Name the total number of since for belletti | CREATE TABLE "squad_information" (
"nat" text,
"name" text,
"since" real,
"goals" real,
"transfer_fee" text
); | SELECT COUNT("since") FROM "squad_information" WHERE "name"='belletti'; | 2-11873099-1 |
Name the highest goals for youth system and ita | CREATE TABLE "squad_information" (
"nat" text,
"name" text,
"since" real,
"goals" real,
"transfer_fee" text
); | SELECT MAX("goals") FROM "squad_information" WHERE "nat"='ita' AND "transfer_fee"='youth system'; | 2-11873099-1 |
What is the time/retired for eddie irvine with a grid of greater than 3? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "classification" WHERE "grid">3 AND "driver"='eddie irvine'; | 2-1123314-1 |
How many laps had a grid of greater than 17 and retired due to collision? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT SUM("laps") FROM "classification" WHERE "grid">17 AND "time_retired"='collision'; | 2-1123314-1 |
How many silvers for south korea with under 1 gold medal? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("silver") FROM "medal_table" WHERE "nation"='south korea' AND "gold"<1; | 2-11744335-3 |
How many golds for uganda with under 3 total medals? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("gold") FROM "medal_table" WHERE "nation"='uganda' AND "total"<3; | 2-11744335-3 |
How many bronzes for nations ranked above 7, under 3 golds, and under 10 total medals? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("bronze") FROM "medal_table" WHERE "rank"<7 AND "gold"<3 AND "total"<10; | 2-11744335-3 |
Which week has a result showing L 24-10? | CREATE TABLE "schedule" (
"week" text,
"date" text,
"opponent" text,
"result" text,
"kickoff_a" text,
"game_site" text,
"attendance" text,
"record" text
); | SELECT "week" FROM "schedule" WHERE "result"='l 24-10'; | 2-11406866-2 |
Which week has a Kickoff time of 1:00 with a record of 4-5-1? | CREATE TABLE "schedule" (
"week" text,
"date" text,
"opponent" text,
"result" text,
"kickoff_a" text,
"game_site" text,
"attendance" text,
"record" text
); | SELECT "week" FROM "schedule" WHERE "kickoff_a"='1:00' AND "record"='4-5-1'; | 2-11406866-2 |
Which week has a record of 5-7-1? | CREATE TABLE "schedule" (
"week" text,
"date" text,
"opponent" text,
"result" text,
"kickoff_a" text,
"game_site" text,
"attendance" text,
"record" text
); | SELECT "week" FROM "schedule" WHERE "record"='5-7-1'; | 2-11406866-2 |
Who is the opponent on the game that will be played at metropolitan stadium? | CREATE TABLE "schedule" (
"week" text,
"date" text,
"opponent" text,
"result" text,
"kickoff_a" text,
"game_site" text,
"attendance" text,
"record" text
); | SELECT "opponent" FROM "schedule" WHERE "game_site"='metropolitan stadium'; | 2-11406866-2 |
Who was the home team at Victoria 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"='victoria park'; | 2-10809823-18 |
What did the away team score 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 "away_team_score" FROM "round_18" WHERE "venue"='kardinia park'; | 2-10809823-18 |
What was the away team's score in Junction 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 "away_team_score" FROM "round_18" WHERE "venue"='junction oval'; | 2-10809823-18 |
When did the away team score 11.7 (73)? | CREATE TABLE "round_11" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_11" WHERE "away_team_score"='11.7 (73)'; | 2-10826072-11 |
Which home team scored 12.11 (83)? | CREATE TABLE "round_11" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "round_11" WHERE "home_team_score"='12.11 (83)'; | 2-10826072-11 |
What did the away team score at Moorabbin Oval? | CREATE TABLE "round_11" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_11" WHERE "venue"='moorabbin oval'; | 2-10826072-11 |
Who constructed the car that has a Time/Retired of engine, and over 50 laps? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "constructor" FROM "classification" WHERE "time_retired"='engine' AND "laps">50; | 2-1122486-1 |
What is the time/retired for ronnie peterson with under 75 laps and a grid under 15? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "classification" WHERE "laps"<75 AND "grid"<15 AND "driver"='ronnie peterson'; | 2-1122486-1 |
What is the location of the tournament with more than 6 OWGR points and Ryu Hyun-Woo as the winner? | CREATE TABLE "2013_schedule" (
"dates" text,
"tournament" text,
"location" text,
"prize_fund_krw" text,
"winner" text,
"owgr_points" real
); | SELECT "location" FROM "2013_schedule" WHERE "owgr_points">6 AND "winner"='ryu hyun-woo'; | 2-11613207-1 |
Who was the away team at Arden Street 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 "away_team" FROM "round_15" WHERE "venue"='arden street oval'; | 2-10790397-15 |
Where did Collingwood play their home game with an attendance of 14,962? | 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 "crowd">'14,962' AND "home_team"='collingwood'; | 2-10790397-15 |
How many people attended the game with an away team score of 10.8 (68)? | 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 COUNT("crowd") FROM "round_15" WHERE "away_team_score"='10.8 (68)'; | 2-10790397-15 |
I want the team with assists greater than 118 and rank less than 2 | CREATE TABLE "assists" (
"rank" real,
"name" text,
"team" text,
"games" real,
"assists" real
); | SELECT "team" FROM "assists" WHERE "assists">118 AND "rank"<2; | 2-11194153-5 |
What region has a 5 rank? | CREATE TABLE "the_easternmost_high_summits_of_the_rock" (
"rank" real,
"mountain_peak" text,
"region" text,
"mountain_range" text,
"location" text
); | SELECT "region" FROM "the_easternmost_high_summits_of_the_rock" WHERE "rank"=5; | 2-12069382-4 |
Which mountain peak has spanish peaks? | CREATE TABLE "the_easternmost_high_summits_of_the_rock" (
"rank" real,
"mountain_peak" text,
"region" text,
"mountain_range" text,
"location" text
); | SELECT "mountain_peak" FROM "the_easternmost_high_summits_of_the_rock" WHERE "mountain_range"='spanish peaks'; | 2-12069382-4 |
Who was the home team at Junction Oval when attendance was over 16,000? | 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" FROM "round_17" WHERE "crowd">'16,000' AND "venue"='junction oval'; | 2-10809368-17 |
What date did Essendon play as the home team? | CREATE TABLE "round_17" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_17" WHERE "home_team"='essendon'; | 2-10809368-17 |
What was the attendance at Windy Hill? | CREATE TABLE "round_17" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT MAX("crowd") FROM "round_17" WHERE "venue"='windy hill'; | 2-10809368-17 |
What was the smallest crowd of vfl park? | CREATE TABLE "round_20" (
"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_20" WHERE "venue"='vfl park'; | 2-10809823-20 |
What was the away team score at kardinia park? | CREATE TABLE "round_20" (
"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_20" WHERE "venue"='kardinia park'; | 2-10809823-20 |
Who was the away team at the home game of north melbourne? | CREATE TABLE "round_20" (
"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_20" WHERE "home_team"='north melbourne'; | 2-10809823-20 |
What was the average crowd size at a home game that had a score of 14.15 (99)? | CREATE TABLE "round_20" (
"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_20" WHERE "home_team_score"='14.15 (99)'; | 2-10809823-20 |
What is the average number of yards on a red tee that has a hole of 1 and a par above 4? | CREATE TABLE "course_detail" (
"hole" text,
"yards_red_tees" real,
"par_red_tees" real,
"yards_white_tees" real,
"par_white_tees" real
); | SELECT AVG("yards_red_tees") FROM "course_detail" WHERE "hole"='1' AND "par_white_tees">4; | 2-10832970-1 |
How many bronzes did netherlands win? | CREATE TABLE "medal_count" (
"nation" text,
"gold" text,
"silver" text,
"bronze" text,
"total" real
); | SELECT "bronze" FROM "medal_count" WHERE "nation"='netherlands'; | 2-11871903-2 |
What is the nation for 6 total? | CREATE TABLE "medal_count" (
"nation" text,
"gold" text,
"silver" text,
"bronze" text,
"total" real
); | SELECT "nation" FROM "medal_count" WHERE "total"=6; | 2-11871903-2 |
What is the bronze when silver is 4 and gold is 1 and the total is more than 2 | CREATE TABLE "medal_count" (
"nation" text,
"gold" text,
"silver" text,
"bronze" text,
"total" real
); | SELECT "bronze" FROM "medal_count" WHERE "total">2 AND "gold"='1' AND "silver"='4'; | 2-11871903-2 |
Tell me the gold for netherlands | CREATE TABLE "medal_count" (
"nation" text,
"gold" text,
"silver" text,
"bronze" text,
"total" real
); | SELECT "gold" FROM "medal_count" WHERE "nation"='netherlands'; | 2-11871903-2 |
Which Away team score has a Home team of richmond? | CREATE TABLE "round_20" (
"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_20" WHERE "home_team"='richmond'; | 2-10824095-20 |
Which Venue has a Home team score of 17.16 (118)? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_20" WHERE "home_team_score"='17.16 (118)'; | 2-10824095-20 |
Which Venue has an Away team score of 13.12 (90)? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_20" WHERE "away_team_score"='13.12 (90)'; | 2-10824095-20 |
Which Home team score has an Away team of carlton? | CREATE TABLE "round_20" (
"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_20" WHERE "away_team"='carlton'; | 2-10824095-20 |
What is the total series numbers that is directed by Jefferson Kibbee and has a production code of 2398191? | CREATE TABLE "season_7_1998_1999" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text,
"production_code" text
); | SELECT SUM("no_in_series") FROM "season_7_1998_1999" WHERE "director"='jefferson kibbee' AND "production_code"='2398191'; | 2-10953197-7 |
What is the 1st Edition for the Episode 4? | CREATE TABLE "viewing_figures" (
"episode" text,
"1st_edition" text,
"2nd_edition" text,
"3rd_edition" text,
"4th_edition" text
); | SELECT "1st_edition" FROM "viewing_figures" WHERE "episode"='4'; | 2-11680517-11 |
What is the 1st Edition for Episode 11? | CREATE TABLE "viewing_figures" (
"episode" text,
"1st_edition" text,
"2nd_edition" text,
"3rd_edition" text,
"4th_edition" text
); | SELECT "1st_edition" FROM "viewing_figures" WHERE "episode"='11'; | 2-11680517-11 |
What is the 3rd Edition for Episode 4? | CREATE TABLE "viewing_figures" (
"episode" text,
"1st_edition" text,
"2nd_edition" text,
"3rd_edition" text,
"4th_edition" text
); | SELECT "3rd_edition" FROM "viewing_figures" WHERE "episode"='4'; | 2-11680517-11 |
Which home teams had crowds larger than 4,000? | 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 "crowd">'4,000'; | 2-10807990-16 |
I want to know the date for western oval venue | 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"='western oval'; | 2-10809444-5 |
What is the declination with a right ascension of 11h53m41.9s? | CREATE TABLE "3901_4000" (
"ngc_number" real,
"object_type" text,
"constellation" text,
"right_ascension_j2000" text,
"declination_j2000" text,
"apparent_magnitude" real
); | SELECT "declination_j2000" FROM "3901_4000" WHERE "right_ascension_j2000"='11h53m41.9s'; | 2-11097691-10 |
What is the 1st leg when team 1 is Chelsea? | CREATE TABLE "first_knockout_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "1st_leg" FROM "first_knockout_round" WHERE "team_1"='chelsea'; | 2-11399628-25 |
What was the name of the home team, when the score for home team was 10.17 (77)? | CREATE TABLE "round_13" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "home_team" FROM "round_13" WHERE "home_team_score"='10.17 (77)'; | 2-1204658-13 |
What was the away team score, when the away team was Fitzroy? | CREATE TABLE "round_13" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "away_team_score" FROM "round_13" WHERE "away_team"='fitzroy'; | 2-1204658-13 |
What is the name of the home team when the away team was Melbourne? | CREATE TABLE "round_13" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "home_team" FROM "round_13" WHERE "away_team"='melbourne'; | 2-1204658-13 |
What is the name of the home team that has a venue called EMCG? | CREATE TABLE "round_13" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "home_team" FROM "round_13" WHERE "venue"='emcg'; | 2-1204658-13 |
What is the name of the venue where the game played had an away team of Melbourne? | CREATE TABLE "round_13" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"date" text
); | SELECT "venue" FROM "round_13" WHERE "away_team"='melbourne'; | 2-1204658-13 |
What is the average number lost with a difference of -16, 19 points, and more than 24 against? | CREATE TABLE "torneo_apertura_opening_tournament" (
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"diff" real
); | SELECT AVG("lost") FROM "torneo_apertura_opening_tournament" WHERE "diff">-16 AND "points"=19 AND "against">24; | 2-11161833-1 |
What is the highest number of losses with 25 points? | CREATE TABLE "torneo_apertura_opening_tournament" (
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"diff" real
); | SELECT MAX("lost") FROM "torneo_apertura_opening_tournament" WHERE "points"=25; | 2-11161833-1 |
What is the sum of the difference for 9 draws and over 18 played? | CREATE TABLE "torneo_apertura_opening_tournament" (
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"diff" real
); | SELECT SUM("diff") FROM "torneo_apertura_opening_tournament" WHERE "drawn"=9 AND "played">18; | 2-11161833-1 |
What is the lowest number drawn with less than 2 lost? | CREATE TABLE "torneo_apertura_opening_tournament" (
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"diff" real
); | SELECT MIN("drawn") FROM "torneo_apertura_opening_tournament" WHERE "lost"<2; | 2-11161833-1 |
What is the sum of all points when number played is less than 18? | CREATE TABLE "torneo_apertura_opening_tournament" (
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"diff" real
); | SELECT SUM("points") FROM "torneo_apertura_opening_tournament" WHERE "played"<18; | 2-11161833-1 |
Which date has a Score of 6–4, 6–3? | CREATE TABLE "doubles_21_13_8" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "date" FROM "doubles_21_13_8" WHERE "score"='6–4, 6–3'; | 2-11739415-10 |
What is the total PI GP that a Reg GP has larger than 3? | 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("pl_gp") FROM "list_of_vancouver_canucks_draft_picks" WHERE "reg_gp">3; | 2-11636955-43 |
What average Reg GP has a pick # larger than 210? | 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 AVG("reg_gp") FROM "list_of_vancouver_canucks_draft_picks" WHERE "pick_num">210; | 2-11636955-43 |
Which result has a Goal of deacon 2/5? | CREATE TABLE "2004_fixtures_and_results" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "result" FROM "2004_fixtures_and_results" WHERE "goals"='deacon 2/5'; | 2-10814481-7 |
Which date has a Goal of deacon 4/4, withers 1 dg? | CREATE TABLE "2004_fixtures_and_results" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "date" FROM "2004_fixtures_and_results" WHERE "goals"='deacon 4/4, withers 1 dg'; | 2-10814481-7 |
What are the goals for 8/4/04? | CREATE TABLE "2004_fixtures_and_results" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "goals" FROM "2004_fixtures_and_results" WHERE "date"='8/4/04'; | 2-10814481-7 |
Which venue has a Result of w, and a Goal of deacon 5/5? | CREATE TABLE "2004_fixtures_and_results" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "venue" FROM "2004_fixtures_and_results" WHERE "result"='w' AND "goals"='deacon 5/5'; | 2-10814481-7 |
Which result has a Goal of deacon 3/5, bridge 2/2? | CREATE TABLE "2004_fixtures_and_results" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "result" FROM "2004_fixtures_and_results" WHERE "goals"='deacon 3/5, bridge 2/2'; | 2-10814481-7 |
Which competition has a Goal of deacon 10/10, and a Score of 40–12? | CREATE TABLE "2004_fixtures_and_results" (
"date" text,
"competition" text,
"venue" text,
"result" text,
"score" text,
"goals" text
); | SELECT "competition" FROM "2004_fixtures_and_results" WHERE "goals"='deacon 10/10' AND "score"='40–12'; | 2-10814481-7 |
What is the total number of playoff games played by the Seattle Thunderbirds team where the number of regular games played is less than 5 and pick number is less than 131? | 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("pl_gp") FROM "list_of_vancouver_canucks_draft_picks" WHERE "reg_gp"<5 AND "team_league"='seattle thunderbirds' AND "pick_num"<131; | 2-11636955-40 |
What player has a number of playoff games played greater 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 "player" FROM "list_of_vancouver_canucks_draft_picks" WHERE "pl_gp">0; | 2-11636955-40 |
What is the sum of the number of regular games played by Morgan Clark with the number of road games less than 7? | 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 SUM("reg_gp") FROM "list_of_vancouver_canucks_draft_picks" WHERE "player"='morgan clark' AND "rd_num"<7; | 2-11636955-40 |
What player has a number of playoff games played greater 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 "player" FROM "list_of_vancouver_canucks_draft_picks" WHERE "pl_gp">0; | 2-11636955-40 |
What is the pick number for the player from higher than round 3 and a PI GP bigger 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 "pick_num" FROM "list_of_vancouver_canucks_draft_picks" WHERE "rd_num">3 AND "pl_gp">0; | 2-11636955-27 |
What is the lowest regular GP Larry Courville, who has a PI GP smaller than 0, has? | 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("reg_gp") FROM "list_of_vancouver_canucks_draft_picks" WHERE "player"='larry courville' AND "pl_gp"<0; | 2-11636955-27 |
What was Essendon's opponents away score? | 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_score" FROM "round_17" WHERE "home_team"='essendon'; | 2-10806592-17 |
What was the attendance at Corio 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 "crowd" FROM "round_17" WHERE "venue"='corio oval'; | 2-10806592-17 |
If the home team scored 6.7 (43), what was the away teams score? | 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 "away_team_score" FROM "round_12" WHERE "home_team_score"='6.7 (43)'; | 2-10790651-12 |
When collingwood played as the away team what did they score? | 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 "away_team_score" FROM "round_12" WHERE "away_team"='collingwood'; | 2-10790651-12 |
What was the away team playing when the home team scored 16.18 (114)? | 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 "away_team" FROM "round_12" WHERE "home_team_score"='16.18 (114)'; | 2-10790651-12 |
Which venue was it at when 10.14 (74) was the home teams score? | 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 "home_team_score"='10.14 (74)'; | 2-10790651-12 |
What was the locaction of the Evans test blast? | CREATE TABLE "hardtack_ii_tests" (
"name" text,
"location" text,
"elevation_height" text,
"delivery" text,
"purpose" text,
"yield" text
); | SELECT "location" FROM "hardtack_ii_tests" WHERE "name"='evans'; | 2-1107059-1 |
What was the yield for a blast that was in nts area 3s? | CREATE TABLE "hardtack_ii_tests" (
"name" text,
"location" text,
"elevation_height" text,
"delivery" text,
"purpose" text,
"yield" text
); | SELECT "yield" FROM "hardtack_ii_tests" WHERE "location"='nts area 3s'; | 2-1107059-1 |
What was the purpose of the Quay test blast? | CREATE TABLE "hardtack_ii_tests" (
"name" text,
"location" text,
"elevation_height" text,
"delivery" text,
"purpose" text,
"yield" text
); | SELECT "purpose" FROM "hardtack_ii_tests" WHERE "name"='quay'; | 2-1107059-1 |
For an apparent magnitude greater than 11.8 what Right ascension value is assigned? | CREATE TABLE "3601_3700" (
"ngc_number" real,
"object_type" text,
"constellation" text,
"right_ascension_j2000" text,
"declination_j2000" text,
"apparent_magnitude" real
); | SELECT "right_ascension_j2000" FROM "3601_3700" WHERE "apparent_magnitude">11.8; | 2-11097691-7 |
What is the least apparent magnitude for all constellations from hydra? | CREATE TABLE "3601_3700" (
"ngc_number" real,
"object_type" text,
"constellation" text,
"right_ascension_j2000" text,
"declination_j2000" text,
"apparent_magnitude" real
); | SELECT MIN("apparent_magnitude") FROM "3601_3700" WHERE "constellation"='hydra'; | 2-11097691-7 |
What is the highest Car with more than 155 yards? | CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT MAX("car") FROM "running_backs" WHERE "yards">155; | 2-11783574-4 |
How many pages were in the book by Stefano D'Arrigo? | CREATE TABLE "list_of_longest_novels" (
"book_title" text,
"author" text,
"edition_publisher" text,
"page_count" text,
"page_size" text,
"language" text
); | SELECT "page_count" FROM "list_of_longest_novels" WHERE "author"='stefano d''arrigo'; | 2-1101767-1 |
Which author wrote Sironia, Texas in English? | CREATE TABLE "list_of_longest_novels" (
"book_title" text,
"author" text,
"edition_publisher" text,
"page_count" text,
"page_size" text,
"language" text
); | SELECT "author" FROM "list_of_longest_novels" WHERE "language"='english' AND "book_title"='sironia, texas'; | 2-1101767-1 |
Who is the edition/publisher for Xavier Herbert? | CREATE TABLE "list_of_longest_novels" (
"book_title" text,
"author" text,
"edition_publisher" text,
"page_count" text,
"page_size" text,
"language" text
); | SELECT "edition_publisher" FROM "list_of_longest_novels" WHERE "author"='xavier herbert'; | 2-1101767-1 |
What language is the book Miss Macintosh, My Darling in? | CREATE TABLE "list_of_longest_novels" (
"book_title" text,
"author" text,
"edition_publisher" text,
"page_count" text,
"page_size" text,
"language" text
); | SELECT "language" FROM "list_of_longest_novels" WHERE "book_title"='miss macintosh, my darling'; | 2-1101767-1 |
Who published in Italian with a page size of 8 inches (20cm) x 5.4 inches (14cm)? | CREATE TABLE "list_of_longest_novels" (
"book_title" text,
"author" text,
"edition_publisher" text,
"page_count" text,
"page_size" text,
"language" text
); | SELECT "edition_publisher" FROM "list_of_longest_novels" WHERE "language"='italian' AND "page_size"='8 inches (20cm) x 5.4 inches (14cm)'; | 2-1101767-1 |
What is the total average for long 10? | CREATE TABLE "wide_receivers" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT COUNT("avg") FROM "wide_receivers" WHERE "long"=10; | 2-11783640-5 |
Name the college that has 7 rounds and boston celtics team | CREATE TABLE "other_picks" (
"round" text,
"pick" text,
"player" text,
"position" text,
"nationality" text,
"team" text,
"college" text
); | SELECT "college" FROM "other_picks" WHERE "team"='boston celtics' AND "round"='7'; | 2-12086839-4 |
Name the position that has baltimore bullets and college of texas tech | CREATE TABLE "other_picks" (
"round" text,
"pick" text,
"player" text,
"position" text,
"nationality" text,
"team" text,
"college" text
); | SELECT "position" FROM "other_picks" WHERE "team"='baltimore bullets' AND "college"='texas tech'; | 2-12086839-4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.