question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
On what Date was the Attendance 16,212?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "date" FROM "game_log" WHERE "attendance"='16,212';
2-11664564-5
What was the Attendance on May 12, when the New York Yankees were the Opponent?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "attendance" FROM "game_log" WHERE "opponent"='new york yankees' AND "date"='may 12';
2-11664564-5
Which Venue has a Home team score of 22.13 (145)?
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"='22.13 (145)';
2-10790510-12
Which Date has a Venue of junction 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 "date" FROM "round_12" WHERE "venue"='junction oval';
2-10790510-12
Which total number of Crowd has a Home team of melbourne?
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 COUNT("crowd") FROM "round_12" WHERE "home_team"='melbourne';
2-10790510-12
What is the lowest 1st prize for florida tournaments and a Score of 200 (-16)?
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real );
SELECT MIN("1st_prize") FROM "tournament_results" WHERE "location"='florida' AND "score"='200 (-16)';
2-11622771-1
Which grid has a time/retired of +27.347?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("grid") FROM "moto_gp_classification" WHERE "time_retired"='+27.347';
2-11385584-1
Who was the Singles Champions in Trieste, Italy?
CREATE TABLE "events" ( "tournament" text, "date" text, "city" text, "country" text, "surface" text, "singles_champions" text );
SELECT "singles_champions" FROM "events" WHERE "country"='italy' AND "city"='trieste';
2-11900378-1
On what Surface will the Venezuela F5 Futures in Caracas be played?
CREATE TABLE "events" ( "tournament" text, "date" text, "city" text, "country" text, "surface" text, "singles_champions" text );
SELECT "surface" FROM "events" WHERE "city"='caracas' AND "tournament"='venezuela f5 futures';
2-11900378-1
What is the type of Surface for the New Zealand F1 Futures Tournament?
CREATE TABLE "events" ( "tournament" text, "date" text, "city" text, "country" text, "surface" text, "singles_champions" text );
SELECT "surface" FROM "events" WHERE "tournament"='new zealand f1 futures';
2-11900378-1
In what Country will Dennis Blömke play the Germany F13 Futures Tournament?
CREATE TABLE "events" ( "tournament" text, "date" text, "city" text, "country" text, "surface" text, "singles_champions" text );
SELECT "country" FROM "events" WHERE "singles_champions"='dennis blömke' AND "tournament"='germany f13 futures';
2-11900378-1
On what Date will the Argentina F17 Futures Tournament be played in Argentina?
CREATE TABLE "events" ( "tournament" text, "date" text, "city" text, "country" text, "surface" text, "singles_champions" text );
SELECT "date" FROM "events" WHERE "country"='argentina' AND "tournament"='argentina f17 futures';
2-11900378-1
What are the average laps for jackie stewart?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT AVG("laps") FROM "classification" WHERE "driver"='jackie stewart';
2-1122366-1
When did the away team have a score of 11.14 (80)?
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 "date" FROM "round_2" WHERE "away_team_score"='11.14 (80)';
2-10790397-2
Which was the home team that had an opponent have a score of 11.6 (72)?
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_score" FROM "round_2" WHERE "away_team_score"='11.6 (72)';
2-10790397-2
What is the result in fort lauderdale, florida?
CREATE TABLE "international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_goals" WHERE "venue"='fort lauderdale, florida';
2-1122303-1
What venue had less than 2 goals?
CREATE TABLE "international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "venue" FROM "international_goals" WHERE "goal"<2;
2-1122303-1
What was the attendance when Fitzroy played 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 AVG("crowd") FROM "round_9" WHERE "away_team"='fitzroy';
2-10869646-9
Who was the trainer with Robert Courtney was owner?
CREATE TABLE "winners_of_the_colonial_turf_cup" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance_miles" text, "time" text );
SELECT "trainer" FROM "winners_of_the_colonial_turf_cup" WHERE "owner"='robert courtney';
2-11237859-1
What year was Jeff Mullins?
CREATE TABLE "winners_of_the_colonial_turf_cup" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance_miles" text, "time" text );
SELECT MIN("year") FROM "winners_of_the_colonial_turf_cup" WHERE "trainer"='jeff mullins';
2-11237859-1
In what grid did Richard Robarts make 36 laps?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT SUM("grid") FROM "classification" WHERE "driver"='richard robarts' AND "laps"<36;
2-1122599-1
How many laps were completed in grid 18?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT SUM("laps") FROM "classification" WHERE "grid"=18;
2-1122599-1
What was the venue where the result was 12th?
CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "event" text );
SELECT "venue" FROM "achievements" WHERE "result"='12th';
2-11408874-1
What species has more than 2,030 genes?
CREATE TABLE "group" ( "species" text, "strain" text, "type" text, "base_pairs" real, "genes" real );
SELECT "species" FROM "group" WHERE "genes">'2,030';
2-11664498-8
How many genes in the species Rubrobacter Xylanophilus?
CREATE TABLE "group" ( "species" text, "strain" text, "type" text, "base_pairs" real, "genes" real );
SELECT "genes" FROM "group" WHERE "species"='rubrobacter xylanophilus';
2-11664498-8
What is the lowest number of genes in Rubrobacter Xylanophilus?
CREATE TABLE "group" ( "species" text, "strain" text, "type" text, "base_pairs" real, "genes" real );
SELECT MIN("genes") FROM "group" WHERE "species"='rubrobacter xylanophilus';
2-11664498-8
What is the average number of base pairs with 784 genes?
CREATE TABLE "group" ( "species" text, "strain" text, "type" text, "base_pairs" real, "genes" real );
SELECT AVG("base_pairs") FROM "group" WHERE "genes"=784;
2-11664498-8
What is the lowest number of genes with less than 927,303 base pairs in Acidobacteria Bacterium?
CREATE TABLE "group" ( "species" text, "strain" text, "type" text, "base_pairs" real, "genes" real );
SELECT MIN("genes") FROM "group" WHERE "base_pairs"<'927,303' AND "species"='acidobacteria bacterium';
2-11664498-8
How many points are obtained when a standing broad jump is 207-215 cm?
CREATE TABLE "ippt_standards" ( "grade" text, "points" real, "sit_up_reps" text, "standing_broad_jump_cm" text, "chin_up_reps" text, "shuttle_run_sec" text, "2_4km_run_min_sec" text );
SELECT COUNT("points") FROM "ippt_standards" WHERE "standing_broad_jump_cm"='207-215';
2-10890692-4
How many points are there, when the grade is A?
CREATE TABLE "ippt_standards" ( "grade" text, "points" real, "sit_up_reps" text, "standing_broad_jump_cm" text, "chin_up_reps" text, "shuttle_run_sec" text, "2_4km_run_min_sec" text );
SELECT MAX("points") FROM "ippt_standards" WHERE "grade"='a';
2-10890692-4
If a person does 3 chin-up reps, what grade do they obtain?
CREATE TABLE "ippt_standards" ( "grade" text, "points" real, "sit_up_reps" text, "standing_broad_jump_cm" text, "chin_up_reps" text, "shuttle_run_sec" text, "2_4km_run_min_sec" text );
SELECT "grade" FROM "ippt_standards" WHERE "chin_up_reps"='3';
2-10890692-4
How many seconds is a shuttle run that give 2 points?
CREATE TABLE "ippt_standards" ( "grade" text, "points" real, "sit_up_reps" text, "standing_broad_jump_cm" text, "chin_up_reps" text, "shuttle_run_sec" text, "2_4km_run_min_sec" text );
SELECT "shuttle_run_sec" FROM "ippt_standards" WHERE "points"=2;
2-10890692-4
Tell me the outgoing manager for resigned and replaced by manolo villanova for real zaragoza
CREATE TABLE "away" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "position_in_the_table" text );
SELECT "outgoing_manager" FROM "away" WHERE "manner_of_departure"='resigned' AND "team"='real zaragoza' AND "replaced_by"='manolo villanova';
2-11834742-8
Name the replaced by for racing santander
CREATE TABLE "away" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "position_in_the_table" text );
SELECT "replaced_by" FROM "away" WHERE "team"='racing santander';
2-11834742-8
What Grid had 14 laps completed?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT AVG("grid") FROM "moto_gp_classification" WHERE "laps"=14;
2-11842413-1
What is the lowest Grid with 25 laps manufactured by Honda with a time of +54.103?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT MIN("grid") FROM "moto_gp_classification" WHERE "laps"=25 AND "manufacturer"='honda' AND "time_retired"='+54.103';
2-11842413-1
How many laps were timed at +1:02.315?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("laps") FROM "moto_gp_classification" WHERE "time_retired"='+1:02.315';
2-11842413-1
What is the points ranking of Chicago Fire?
CREATE TABLE "all_time_playoffs_records" ( "pts_rank" text, "club" text, "appearances_vs_seasons" text, "appearances_percetages" text, "ppg_rank" text );
SELECT "pts_rank" FROM "all_time_playoffs_records" WHERE "club"='chicago fire';
2-11148572-10
Who is the opponent with a time of 1:16?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" text, "time" text, "location" text );
SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "time"='1:16';
2-12073743-3
What round has a method of submission?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" text, "time" text, "location" text );
SELECT "round" FROM "mixed_martial_arts_record" WHERE "method"='submission';
2-12073743-3
Which competition did he win on August 15, 2012?
CREATE TABLE "international_career" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "competition" FROM "international_career" WHERE "result"='win' AND "date"='august 15, 2012';
2-11978803-1
Where was the competition on August 15, 2012?
CREATE TABLE "international_career" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "venue" FROM "international_career" WHERE "date"='august 15, 2012';
2-11978803-1
When was the competition that had a score of 3-0?
CREATE TABLE "international_career" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "date" FROM "international_career" WHERE "score"='3-0';
2-11978803-1
What was the result of the UEFA Euro 2008 Qualifying competition?
CREATE TABLE "international_career" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_career" WHERE "competition"='uefa euro 2008 qualifying';
2-11978803-1
What nationality is Steven Anthony?
CREATE TABLE "round_seven" ( "pick_num" real, "player" text, "nationality" text, "position" text, "league_from" text );
SELECT "nationality" FROM "round_seven" WHERE "player"='steven anthony';
2-10897046-9
What is the highest pick number from Slovakia?
CREATE TABLE "round_seven" ( "pick_num" real, "player" text, "nationality" text, "position" text, "league_from" text );
SELECT MAX("pick_num") FROM "round_seven" WHERE "nationality"='slovakia';
2-10897046-9
What is the lowest pick number for the Russian Major League?
CREATE TABLE "round_seven" ( "pick_num" real, "player" text, "nationality" text, "position" text, "league_from" text );
SELECT MIN("pick_num") FROM "round_seven" WHERE "league_from"='russian major league';
2-10897046-9
What team is from the Russian Major League?
CREATE TABLE "round_seven" ( "pick_num" real, "player" text, "nationality" text, "position" text, "league_from" text );
SELECT "position" FROM "round_seven" WHERE "league_from"='russian major league';
2-10897046-9
Which league has a pick number larger than 204 from Canada and LW as the position?
CREATE TABLE "round_seven" ( "pick_num" real, "player" text, "nationality" text, "position" text, "league_from" text );
SELECT "league_from" FROM "round_seven" WHERE "pick_num">204 AND "nationality"='canada' AND "position"='lw';
2-10897046-9
Who is the player from Aurillac?
CREATE TABLE "2007_rugby_world_cup_squads" ( "player" text, "position" text, "date_of_birth_age" text, "caps" real, "club_province" text );
SELECT "player" FROM "2007_rugby_world_cup_squads" WHERE "club_province"='aurillac';
2-11783766-17
Where did the away team score 13.14 (92)?
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 "venue" FROM "round_11" WHERE "away_team_score"='13.14 (92)';
2-10807990-11
what is the points when the rank is more than 1 and the places is 33?
CREATE TABLE "pairs" ( "rank" real, "name" text, "nation" text, "points" real, "places" real );
SELECT "points" FROM "pairs" WHERE "rank">1 AND "places"=33;
2-11312764-5
what is the highest rank for east germany with points of 128.98 and places less than 70?
CREATE TABLE "pairs" ( "rank" real, "name" text, "nation" text, "points" real, "places" real );
SELECT MAX("rank") FROM "pairs" WHERE "nation"='east germany' AND "points"=128.98 AND "places"<70;
2-11312764-5
what is the points for rank 12?
CREATE TABLE "pairs" ( "rank" real, "name" text, "nation" text, "points" real, "places" real );
SELECT SUM("points") FROM "pairs" WHERE "rank"=12;
2-11312764-5
Which team has an away score of 15.9 (99)?
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 "away_team_score"='15.9 (99)';
2-10869537-12
Which team has a home team score of 17.12 (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_score" FROM "round_12" WHERE "home_team_score"='17.12 (114)';
2-10869537-12
Which home team score has an Away team score of 15.9 (99)?
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"='15.9 (99)';
2-10809142-14
What is the Home team with Away team score of 15.9 (99)?
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"='15.9 (99)';
2-10809142-14
What is the name of the home team that played an away team who scored 13.11 (89)?
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 "away_team_score"='13.11 (89)';
2-10809529-3
How much did the away team Carlton score when the crowd was larger than 19,000?
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 "crowd">'19,000' AND "away_team"='carlton';
2-10809529-3
What is the average PI GP when the pick is smaller tha 70 and the reg GP is 97?
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("pl_gp") FROM "list_of_vancouver_canucks_draft_picks" WHERE "reg_gp"=97 AND "pick_num"<70;
2-11636955-18
Name the gloss for [χdəm]
CREATE TABLE "tamazight_schwa_epenthesis" ( "environment" text, "realization" text, "example" text, "pronunciation" text, "gloss" text );
SELECT "gloss" FROM "tamazight_schwa_epenthesis" WHERE "pronunciation"='[χdəm]';
2-12052170-5
Name the realization for 'to be, to do'
CREATE TABLE "tamazight_schwa_epenthesis" ( "environment" text, "realization" text, "example" text, "pronunciation" text, "gloss" text );
SELECT "realization" FROM "tamazight_schwa_epenthesis" WHERE "gloss"='''to be, to do''';
2-12052170-5
What is the Crowd number for the Away team whose score is 14.18 (102)?
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 SUM("crowd") FROM "round_11" WHERE "away_team_score"='14.18 (102)';
2-10790510-11
What is the lowest number of places for Sherri Baier / Robin Cowan when ranked lower than 1?
CREATE TABLE "pairs" ( "rank" real, "name" text, "nation" text, "points" real, "places" real );
SELECT MIN("places") FROM "pairs" WHERE "name"='sherri baier / robin cowan' AND "rank"<1;
2-11025881-3
What platform is nds4droid on for the nintendo ds?
CREATE TABLE "nintendo_ds" ( "name" text, "current_version" text, "system" text, "platform" text, "license" text );
SELECT "platform" FROM "nintendo_ds" WHERE "system"='nintendo ds' AND "name"='nds4droid';
2-11561548-14
Who has a license of proprietary (available on inquiry)?
CREATE TABLE "nintendo_ds" ( "name" text, "current_version" text, "system" text, "platform" text, "license" text );
SELECT "name" FROM "nintendo_ds" WHERE "license"='proprietary (available on inquiry)';
2-11561548-14
What platform is nds4droid on for the nintendo ds with a license of gpl v2?
CREATE TABLE "nintendo_ds" ( "name" text, "current_version" text, "system" text, "platform" text, "license" text );
SELECT "platform" FROM "nintendo_ds" WHERE "system"='nintendo ds' AND "license"='gpl v2' AND "name"='nds4droid';
2-11561548-14
What system has a current version of 1.4e?
CREATE TABLE "nintendo_ds" ( "name" text, "current_version" text, "system" text, "platform" text, "license" text );
SELECT "system" FROM "nintendo_ds" WHERE "current_version"='1.4e';
2-11561548-14
Who has a licence of gpl v2 and a current version of 0.9.9?
CREATE TABLE "nintendo_ds" ( "name" text, "current_version" text, "system" text, "platform" text, "license" text );
SELECT "name" FROM "nintendo_ds" WHERE "license"='gpl v2' AND "current_version"='0.9.9';
2-11561548-14
What was the performance length of the 1999 season in bydgoszcz, poland?
CREATE TABLE "performance_progression" ( "discipline" text, "season" real, "performance" text, "place" text, "date" text );
SELECT "performance" FROM "performance_progression" WHERE "season"=1999 AND "place"='bydgoszcz, poland';
2-1096958-3
What were the performance lengths in the 3000 m events in and after 2003?
CREATE TABLE "performance_progression" ( "discipline" text, "season" real, "performance" text, "place" text, "date" text );
SELECT "performance" FROM "performance_progression" WHERE "season">2003 AND "discipline"='3000 m';
2-1096958-3
How many seasons took place in santiago de chile, chile?
CREATE TABLE "performance_progression" ( "discipline" text, "season" real, "performance" text, "place" text, "date" text );
SELECT COUNT("season") FROM "performance_progression" WHERE "place"='santiago de chile, chile';
2-1096958-3
During which Season did the may 11, 2002 event take place?
CREATE TABLE "performance_progression" ( "discipline" text, "season" real, "performance" text, "place" text, "date" text );
SELECT "season" FROM "performance_progression" WHERE "date"='may 11, 2002';
2-1096958-3
What is the average round for players from california?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "college" text );
SELECT AVG("round") FROM "nfl_draft" WHERE "college"='california';
2-11172882-1
What's the Nationality of Round 8 Vancouver Canucks NHL Team of Swift Current Broncos (WHL)?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "nationality" text, "nhl_team" text, "college_junior_club_team_league" text );
SELECT "nationality" FROM "draft_picks" WHERE "nhl_team"='vancouver canucks' AND "college_junior_club_team_league"='swift current broncos (whl)' AND "round"=8;
2-11129464-8
If the Away team score was 14.10 (94), which Date was that?
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"='14.10 (94)';
2-10823950-11
When the Home team score was 20.16 (136), which Away team were they playing?
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" FROM "round_11" WHERE "home_team_score"='20.16 (136)';
2-10823950-11
If the Home team score was 12.10 (82) on the Date of 8 june 1981, which Home team was playing?
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 "date"='8 june 1981' AND "home_team_score"='12.10 (82)';
2-10823950-11
When the Away team of essendon was playing, what was the Home team's score?
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_score" FROM "round_11" WHERE "away_team"='essendon';
2-10823950-11
For the Venue of western oval, what's the Away team playing?
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" FROM "round_11" WHERE "venue"='western oval';
2-10823950-11
Which venue has a Home team score of 9.12 (66)?
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 "venue" FROM "round_6" WHERE "home_team_score"='9.12 (66)';
2-10809271-6
How large is the crowd with an Away team score of 7.13 (55)?
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_score"='7.13 (55)';
2-10809271-6
Which venue has an Away team score of 12.11 (83)?
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 "venue" FROM "round_6" WHERE "away_team_score"='12.11 (83)';
2-10809271-6
Who was the opponent on week 7?
CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "home_away_game" text, "result" text );
SELECT "opponent" FROM "schedule" WHERE "week"='7';
2-11786687-1
Who was the opponent on week 5?
CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "home_away_game" text, "result" text );
SELECT "opponent" FROM "schedule" WHERE "week"='5';
2-11786687-1
Who was the leading scorer of the game that had a score of 107–97?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "leading_scorer" FROM "march" WHERE "score"='107–97';
2-11963601-8
Who was the visiting team when the Suns were the home team?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "visitor" FROM "march" WHERE "home"='suns';
2-11963601-8
What is the average number of ties for the Detroit Lions team when they have fewer than 5 wins, fewer than 3 losses, and a win percentage of 0.800?
CREATE TABLE "coaching_record_vs_other_teams" ( "team" text, "wins" real, "losses" real, "ties" real, "win_pct" text );
SELECT AVG("ties") FROM "coaching_record_vs_other_teams" WHERE "losses"<3 AND "wins"<5 AND "win_pct"='0.800' AND "team"='detroit lions';
2-1169451-2
What is the most recent year in which the score was 4–6, 6–3, 7–5?
CREATE TABLE "titles_5" ( "year" real, "championship" text, "partner" text, "opponents" text, "score" text );
SELECT MAX("year") FROM "titles_5" WHERE "score"='4–6, 6–3, 7–5';
2-10815587-4
Which player has a height of 6-7?
CREATE TABLE "2006_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );
SELECT "player" FROM "2006_boys_team" WHERE "height"='6-7';
2-11677760-16
What is the NBA draft result of the player from Washington, DC?
CREATE TABLE "2006_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );
SELECT "nba_draft" FROM "2006_boys_team" WHERE "hometown"='washington, dc';
2-11677760-16
What is the NBA draft result of the player from the College of Kansas?
CREATE TABLE "2006_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );
SELECT "nba_draft" FROM "2006_boys_team" WHERE "college"='kansas';
2-11677760-16
Who is the player from La Costa Canyon High School?
CREATE TABLE "2006_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );
SELECT "player" FROM "2006_boys_team" WHERE "school"='la costa canyon high school';
2-11677760-16
How tall is the player from Nacogdoches High School?
CREATE TABLE "2006_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );
SELECT "height" FROM "2006_boys_team" WHERE "school"='nacogdoches high school';
2-11677760-16
What is the school of the player from Dallas, TX?
CREATE TABLE "2006_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text );
SELECT "school" FROM "2006_boys_team" WHERE "hometown"='dallas, tx';
2-11677760-16
What is the result for world group, consolation round?
CREATE TABLE "1970_1979" ( "year" text, "competition" text, "date" text, "location" text, "result" text );
SELECT "result" FROM "1970_1979" WHERE "competition"='world group, consolation round';
2-11280842-5
What was the long of Trandon Harvey who had an greater than 8 average, more than 3 rec., and more than 28 TD's?
CREATE TABLE "wide_receivers" ( "player" text, "rec" real, "yards" real, "avg" real, "td_s" real, "long" real );
SELECT SUM("long") FROM "wide_receivers" WHERE "avg">8 AND "rec">3 AND "player"='trandon harvey' AND "td_s">28;
2-11787570-4
How many attended tie number 1?
CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" real );
SELECT SUM("attendance") FROM "fifth_round_proper" WHERE "tie_no"='1';
2-11647944-6
How many attended tie number 3?
CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" real );
SELECT MAX("attendance") FROM "fifth_round_proper" WHERE "tie_no"='3';
2-11647944-6