question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Who was the away team at the game at Punt Road Oval with a crowd larger than 13,000?
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" FROM "round_10" WHERE "crowd">'13,000' AND "venue"='punt road oval';
2-10747009-10
Which stadium held the game that 65,677 people attended?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" text );
SELECT "stadium" FROM "schedule" WHERE "attendance"='65,677';
2-10652530-2
What was the attendance of the game on October 17, 2004?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "date"='october 17, 2004';
2-10652530-2
Which week was the October 17, 2004 game played?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" text );
SELECT "week" FROM "schedule" WHERE "date"='october 17, 2004';
2-10652530-2
What was the Browns record after they played the game at the Paul Brown stadium?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" text );
SELECT "record" FROM "schedule" WHERE "stadium"='paul brown stadium';
2-10652530-2
Which player went to Gonzaga?
CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text );
SELECT "player" FROM "s" WHERE "school_country"='gonzaga';
2-10560886-19
What is the nationality of the forward/center who started playing in 1951?
CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text );
SELECT "nationality" FROM "s" WHERE "position"='forward/center' AND "from"='1951';
2-10560886-19
What school did the guard who began playing in 1991 come from?
CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text );
SELECT "school_country" FROM "s" WHERE "position"='guard' AND "from"='1991';
2-10560886-19
What is the nationality of the guard/forward who began playing in 1977?
CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text );
SELECT "nationality" FROM "s" WHERE "position"='guard/forward' AND "from"='1977';
2-10560886-19
Which Rams opponent had a record of 2-3?
CREATE TABLE "schedule" ( "week" real, "opponent" text, "result" text, "record" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "record"='2-3';
2-10689097-1
What is the number of podiums for the races of 13/15?
CREATE TABLE "champions" ( "season" real, "series_name" text, "champion" text, "races" text, "pole_positions" text, "wins" text, "podiums" text, "fastest_laps" text, "points" text, "margin_pts" text );
SELECT "podiums" FROM "champions" WHERE "races"='13/15';
2-10628119-1
How many wins are there for the Races of 12/12?
CREATE TABLE "champions" ( "season" real, "series_name" text, "champion" text, "races" text, "pole_positions" text, "wins" text, "podiums" text, "fastest_laps" text, "points" text, "margin_pts" text );
SELECT "wins" FROM "champions" WHERE "races"='12/12';
2-10628119-1
What is the fastest lap for a season smaller than 1979?
CREATE TABLE "champions" ( "season" real, "series_name" text, "champion" text, "races" text, "pole_positions" text, "wins" text, "podiums" text, "fastest_laps" text, "points" text, "margin_pts" text );
SELECT "fastest_laps" FROM "champions" WHERE "season"<1979;
2-10628119-1
For the 12/12 races, what is the fastest lap?
CREATE TABLE "champions" ( "season" real, "series_name" text, "champion" text, "races" text, "pole_positions" text, "wins" text, "podiums" text, "fastest_laps" text, "points" text, "margin_pts" text );
SELECT "fastest_laps" FROM "champions" WHERE "races"='12/12';
2-10628119-1
What is the name of the home team that played at The Brunswick Street Oval to a crowd of 7,000?
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 "crowd">'7,000' AND "venue"='brunswick street oval';
2-10746200-10
What was the largest crowd where Carlton was the away 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 MAX("crowd") FROM "round_10" WHERE "away_team"='carlton';
2-10746200-10
Which team's home is the Western 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"='western oval';
2-10746200-10
Which team's home is the Arden Street 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"='arden street oval';
2-10746200-10
What was the lowest attendance at a Fitzroy match?
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 MIN("crowd") FROM "round_8" WHERE "home_team"='fitzroy';
2-10767118-8
What is the highest rank that corresponds to an all-time rank of 86 and a debut year before 1995?
CREATE TABLE "appearances" ( "rank" real, "all_time_rank" text, "name" text, "debut_year" real, "current_club" text, "apps" real );
SELECT MAX("rank") FROM "appearances" WHERE "all_time_rank"='86' AND "debut_year"<1995;
2-10724559-4
What is the current club with more than 368 apps and a debut year earlier than 1994?
CREATE TABLE "appearances" ( "rank" real, "all_time_rank" text, "name" text, "debut_year" real, "current_club" text, "apps" real );
SELECT "current_club" FROM "appearances" WHERE "apps">368 AND "debut_year"<1994;
2-10724559-4
What is the highest rank with more than 498 apps, an all time rank of 6, and a debut year later than 1992?
CREATE TABLE "appearances" ( "rank" real, "all_time_rank" text, "name" text, "debut_year" real, "current_club" text, "apps" real );
SELECT MAX("rank") FROM "appearances" WHERE "apps">498 AND "all_time_rank"='6' AND "debut_year">1992;
2-10724559-4
What is the all-time rank associated with a rank less than 9 and a debut in 1994?
CREATE TABLE "appearances" ( "rank" real, "all_time_rank" text, "name" text, "debut_year" real, "current_club" text, "apps" real );
SELECT "all_time_rank" FROM "appearances" WHERE "rank"<9 AND "debut_year"=1994;
2-10724559-4
Which tournament was played on clay and there was a score of 4–6, 6–1, 6–4?
CREATE TABLE "doubles_5" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "tournament" FROM "doubles_5" WHERE "surface"='clay' AND "score"='4–6, 6–1, 6–4';
2-10679888-4
What is the score for the match where albert montañés was the partner?
CREATE TABLE "doubles_5" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "score" FROM "doubles_5" WHERE "partner"='albert montañés';
2-10679888-4
What is the score for the match where the opponent in the final was james cerretani todd perry?
CREATE TABLE "doubles_5" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "score" FROM "doubles_5" WHERE "opponents_in_the_final"='james cerretani todd perry';
2-10679888-4
What is the date when the opponent in the final is gastón etlis martín rodríguez?
CREATE TABLE "doubles_5" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "date" FROM "doubles_5" WHERE "opponents_in_the_final"='gastón etlis martín rodríguez';
2-10679888-4
What was the score for the match were the opponent in the final was james cerretani todd perry?
CREATE TABLE "doubles_5" ( "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "score" FROM "doubles_5" WHERE "opponents_in_the_final"='james cerretani todd perry';
2-10679888-4
Who is Birmingham City's outgoing manager?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );
SELECT "outgoing_manager" FROM "managerial_changes" WHERE "team"='birmingham city';
2-10592536-8
What is the name of the replacement manager for the Bolton Wanderers?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );
SELECT "replaced_by" FROM "managerial_changes" WHERE "team"='bolton wanderers';
2-10592536-8
How was Sammy Lee's team doing on the table before being replaced?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );
SELECT "position_in_table" FROM "managerial_changes" WHERE "outgoing_manager"='sammy lee';
2-10592536-8
Which team hired Gary Megson as the replacement manager?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );
SELECT "team" FROM "managerial_changes" WHERE "replaced_by"='gary megson';
2-10592536-8
What was the date of the match played at MCG?
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 "date" FROM "round_4" WHERE "venue"='mcg';
2-10775038-4
What was Carlton's score as the home team?
CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_4" WHERE "home_team"='carlton';
2-10775038-4
What home team plays at Princes Park?
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 "venue"='princes park';
2-10775038-4
What was Geelong's score as the home team?
CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_4" WHERE "home_team"='geelong';
2-10775038-4
What was the away team that scored 12.8 (80)?
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 "away_team_score"='12.8 (80)';
2-10775038-4
What was the home teams score when the away team scored 11.11 (77) in front of a crowd of 16,112?
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 "crowd">'16,112' AND "away_team_score"='11.11 (77)';
2-10775038-4
ON WHAT DATE DID THE HOME TEAM SCORE 12.16 (88)?
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 "date" FROM "round_3" WHERE "home_team_score"='12.16 (88)';
2-10774891-3
WHAT WAS COLLINGWOOD'S LOWEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM?
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 MIN("crowd") FROM "round_3" WHERE "away_team"='collingwood';
2-10774891-3
WHAT WAS ESSENDON'S HIGHEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM?
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 MAX("crowd") FROM "round_3" WHERE "away_team"='essendon';
2-10774891-3
WHAT VENUE HAD AN AWAY TEAM SCORE OF 12.15 (87)?
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_score"='12.15 (87)';
2-10774891-3
WHAT DID HAWTHORN SCORE AT ITS AWAY GAME?
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 "away_team"='hawthorn';
2-10774891-3
Who was the opponent on November 26, 1989?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "attendance" real );
SELECT "opponent" FROM "schedule" WHERE "date"='november 26, 1989';
2-10672336-1
What was the result on October 29, 1989?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "attendance" real );
SELECT "result" FROM "schedule" WHERE "date"='october 29, 1989';
2-10672336-1
What was the result on October 1, 1989?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "attendance" real );
SELECT "result" FROM "schedule" WHERE "date"='october 1, 1989';
2-10672336-1
What is the highest number of losses that a team who had an away record of 1-6 and more than 4 wins had?
CREATE TABLE "standings" ( "team" text, "wins" real, "losses" real, "percentage" real, "home" text, "away" text, "streak" text );
SELECT MAX("losses") FROM "standings" WHERE "away"='1-6' AND "wins">4;
2-10739773-1
What is the home team's score at corio 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_score" FROM "round_3" WHERE "venue"='corio oval';
2-10766119-3
What network is in the language of Bengali?
CREATE TABLE "middle_east" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text );
SELECT "service" FROM "middle_east" WHERE "language"='bengali';
2-10503963-4
What network has an origin in India, a genre of general, and broadcasts in Bengali?
CREATE TABLE "middle_east" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text );
SELECT "network" FROM "middle_east" WHERE "origin_of_programming"='india' AND "genre"='general' AND "language"='bengali';
2-10503963-4
What language does the Ary Digital network broadcast in?
CREATE TABLE "middle_east" ( "network" text, "origin_of_programming" text, "language" text, "genre" text, "service" text );
SELECT "language" FROM "middle_east" WHERE "network"='ary digital';
2-10503963-4
What is the average crowd for Carlton?
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 AVG("crowd") FROM "round_7" WHERE "away_team"='carlton';
2-10776330-7
How many points did Carlton score?
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 "home_team_score" FROM "round_7" WHERE "away_team"='carlton';
2-10776330-7
What was the largest crowd for North Melbourne
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 MAX("crowd") FROM "round_7" WHERE "home_team"='north melbourne';
2-10776330-7
What is the score for Footscray?
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 "away_team"='footscray';
2-10776330-7
What is the result of week 5?
CREATE TABLE "exhibition_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "result" FROM "exhibition_schedule" WHERE "week"=5;
2-10651821-1
What is the name of the gun with a shoulder that measures 10.688 (.420)?
CREATE TABLE "264in_6_6mm_and_up" ( "name" text, "bullet" text, "length" text, "base" text, "shoulder" text, "neck" text );
SELECT "name" FROM "264in_6_6mm_and_up" WHERE "shoulder"='10.688 (.420)';
2-1058122-4
What is the shoulder measurement of the gun with a length of 57.85 (2.278)?
CREATE TABLE "264in_6_6mm_and_up" ( "name" text, "bullet" text, "length" text, "base" text, "shoulder" text, "neck" text );
SELECT "shoulder" FROM "264in_6_6mm_and_up" WHERE "length"='57.85 (2.278)';
2-1058122-4
What is the neck measurement of the gun with a shoulder measurement of 10.688 (.420)?
CREATE TABLE "264in_6_6mm_and_up" ( "name" text, "bullet" text, "length" text, "base" text, "shoulder" text, "neck" text );
SELECT "neck" FROM "264in_6_6mm_and_up" WHERE "shoulder"='10.688 (.420)';
2-1058122-4
What is the length of the gun that has a shoulder measurement of 12.18 (.480)?
CREATE TABLE "264in_6_6mm_and_up" ( "name" text, "bullet" text, "length" text, "base" text, "shoulder" text, "neck" text );
SELECT "length" FROM "264in_6_6mm_and_up" WHERE "shoulder"='12.18 (.480)';
2-1058122-4
What bullet does the gun with a shoulder measurement of 12.5 (.491)?
CREATE TABLE "264in_6_6mm_and_up" ( "name" text, "bullet" text, "length" text, "base" text, "shoulder" text, "neck" text );
SELECT "bullet" FROM "264in_6_6mm_and_up" WHERE "shoulder"='12.5 (.491)';
2-1058122-4
What was the attendance for the game held on September 18, 1994, with a week less than 5?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "tv_time" text, "attendance" real );
SELECT "attendance" FROM "schedule" WHERE "week"<5 AND "date"='september 18, 1994';
2-10650101-1
What was the average attendance when the opponent was at Philadelphia Eagles and the week was later than week 6?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "tv_time" text, "attendance" real );
SELECT AVG("attendance") FROM "schedule" WHERE "week">6 AND "opponent"='at philadelphia eagles';
2-10650101-1
What was the attendance for the game on October 30, 1994 for a week after week 2?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "tv_time" text, "attendance" real );
SELECT COUNT("attendance") FROM "schedule" WHERE "week">2 AND "date"='october 30, 1994';
2-10650101-1
What is the title of the episode that aired on September 25, 2005?
CREATE TABLE "season_3" ( "episode_number" real, "title" text, "podcast_date" text, "run_time" text, "historical_references" text );
SELECT "title" FROM "season_3" WHERE "podcast_date"='september 25, 2005';
2-10621888-3
What is the run time of the episode that aired on September 4, 2005?
CREATE TABLE "season_3" ( "episode_number" real, "title" text, "podcast_date" text, "run_time" text, "historical_references" text );
SELECT "run_time" FROM "season_3" WHERE "podcast_date"='september 4, 2005';
2-10621888-3
What is the historical reference of the episode that aired on October 23, 2005?
CREATE TABLE "season_3" ( "episode_number" real, "title" text, "podcast_date" text, "run_time" text, "historical_references" text );
SELECT "historical_references" FROM "season_3" WHERE "podcast_date"='october 23, 2005';
2-10621888-3
What is the date of the episode that is before 307, run time equals 5:48 and has P.T. Barnum as the topic?
CREATE TABLE "season_3" ( "episode_number" real, "title" text, "podcast_date" text, "run_time" text, "historical_references" text );
SELECT "podcast_date" FROM "season_3" WHERE "episode_number"<307 AND "historical_references"='p.t. barnum' AND "run_time"='5:48';
2-10621888-3
What is the topic of the episode that runs 6:07?
CREATE TABLE "season_3" ( "episode_number" real, "title" text, "podcast_date" text, "run_time" text, "historical_references" text );
SELECT "historical_references" FROM "season_3" WHERE "run_time"='6:07';
2-10621888-3
What is the episode number of the episode that aired on August 8, 2005?
CREATE TABLE "season_3" ( "episode_number" real, "title" text, "podcast_date" text, "run_time" text, "historical_references" text );
SELECT "episode_number" FROM "season_3" WHERE "podcast_date"='august 8, 2005';
2-10621888-3
What is the biggest crowd when the home side scores 7.7 (49)?
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"='7.7 (49)';
2-10774891-13
What day is south melbourne the away side?
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"='south melbourne';
2-10774891-13
Whom is the away team when the home team score is 11.12 (78)?
CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team" FROM "round_13" WHERE "home_team_score"='11.12 (78)';
2-10774891-13
Did the fighter beat Ryo Takigawa?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "res" FROM "mixed_martial_arts_record" WHERE "opponent"='ryo takigawa';
2-10659362-2
What is the incident number of the incident that occurred in Dantewada, Chattisgarh?
CREATE TABLE "2005" ( "incident_no" text, "date" text, "place" text, "killed" real, "injured" real );
SELECT "incident_no" FROM "2005" WHERE "place"='dantewada, chattisgarh';
2-1074011-2
WHich province has an IATA of UYN?
CREATE TABLE "references" ( "city" text, "province" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "province" FROM "references" WHERE "iata"='uyn';
2-10639266-2
Which city has an ICAO of ZSXZ?
CREATE TABLE "references" ( "city" text, "province" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "city" FROM "references" WHERE "icao"='zsxz';
2-10639266-2
Which province is Luogang International Airport located in?
CREATE TABLE "references" ( "city" text, "province" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "province" FROM "references" WHERE "airport"='luogang international airport';
2-10639266-2
WHich province has an IATA of WNZ?
CREATE TABLE "references" ( "city" text, "province" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "province" FROM "references" WHERE "iata"='wnz';
2-10639266-2
What is the IATA for Korla Airport.
CREATE TABLE "references" ( "city" text, "province" text, "country" text, "iata" text, "icao" text, "airport" text );
SELECT "iata" FROM "references" WHERE "airport"='korla airport';
2-10639266-2
In what division did they place 4th?
CREATE TABLE "1890s" ( "season" text, "tier" text, "division" text, "position" text, "top_scorer" text );
SELECT "division" FROM "1890s" WHERE "position"='4th';
2-10510446-2
What was the top scorer in the 1890-91 season?
CREATE TABLE "1890s" ( "season" text, "tier" text, "division" text, "position" text, "top_scorer" text );
SELECT "top_scorer" FROM "1890s" WHERE "season"='1890-91';
2-10510446-2
Which position has a player at Arizona state?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT "position" FROM "nfl_draft" WHERE "school_club_team"='arizona state';
2-10672413-1
Which school/club has a pick smaller than 196, a round higher than 5 and has Blake Miller?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT "school_club_team" FROM "nfl_draft" WHERE "pick"<196 AND "round">5 AND "player"='blake miller';
2-10672413-1
What is the average round at which is the position of Tight End and Randy Bethel?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT AVG("round") FROM "nfl_draft" WHERE "position"='tight end' AND "player"='randy bethel';
2-10672413-1
What day did they play the New Orleans Saints?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "date" FROM "schedule" WHERE "opponent"='new orleans saints';
2-10650570-1
Which coach has a conference record of 42-78?
CREATE TABLE "coaching_history" ( "coach" text, "years" text, "record" text, "conference_record" text, "overall_win_percentage" text );
SELECT "coach" FROM "coaching_history" WHERE "conference_record"='42-78';
2-10631744-2
In what years was the conference record 18-15?
CREATE TABLE "coaching_history" ( "coach" text, "years" text, "record" text, "conference_record" text, "overall_win_percentage" text );
SELECT "years" FROM "coaching_history" WHERE "conference_record"='18-15';
2-10631744-2
In what years, when the conference record was 63-9, was the coach Walter Meanwell?
CREATE TABLE "coaching_history" ( "coach" text, "years" text, "record" text, "conference_record" text, "overall_win_percentage" text );
SELECT "years" FROM "coaching_history" WHERE "coach"='walter meanwell' AND "conference_record"='63-9';
2-10631744-2
What was coach Dick Bennett's overall win percentage?
CREATE TABLE "coaching_history" ( "coach" text, "years" text, "record" text, "conference_record" text, "overall_win_percentage" text );
SELECT "overall_win_percentage" FROM "coaching_history" WHERE "coach"='dick bennett';
2-10631744-2
What are the notes for the shirt that said Pavv before 2005?
CREATE TABLE "shirt_sponsors_and_manufacturers" ( "year" real, "kit_supplier" text, "sponsor" text, "shirt_printing" text, "notes" text );
SELECT "notes" FROM "shirt_sponsors_and_manufacturers" WHERE "shirt_printing"='pavv' AND "year"<2005;
2-1054817-4
What are the notes for the shirt that said Pavv after 2007?
CREATE TABLE "shirt_sponsors_and_manufacturers" ( "year" real, "kit_supplier" text, "sponsor" text, "shirt_printing" text, "notes" text );
SELECT "notes" FROM "shirt_sponsors_and_manufacturers" WHERE "shirt_printing"='pavv' AND "year">2007;
2-1054817-4
What is the average of all the years when the notes are “electronics brand?”
CREATE TABLE "shirt_sponsors_and_manufacturers" ( "year" real, "kit_supplier" text, "sponsor" text, "shirt_printing" text, "notes" text );
SELECT AVG("year") FROM "shirt_sponsors_and_manufacturers" WHERE "notes"='electronics brand';
2-1054817-4
What are the notes for the shirt that says 名品+1 in the kit supplied by Rapido?
CREATE TABLE "shirt_sponsors_and_manufacturers" ( "year" real, "kit_supplier" text, "sponsor" text, "shirt_printing" text, "notes" text );
SELECT "notes" FROM "shirt_sponsors_and_manufacturers" WHERE "kit_supplier"='rapido' AND "shirt_printing"='名品+1';
2-1054817-4
What is the largest crowd at Lake Oval?
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 MAX("crowd") FROM "round_2" WHERE "venue"='lake oval';
2-10747009-2
What was the home team for the game with more than 25,000 crowd?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_2" WHERE "crowd">'25,000';
2-10747009-2
What was the score for Footscray when they were the away team?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team_score" FROM "round_2" WHERE "away_team"='footscray';
2-10747009-2
What is the result from March 14, 2007?
CREATE TABLE "under_23_international_career" ( "date" text, "venue" text, "result" text, "goals" real, "competition" text );
SELECT "result" FROM "under_23_international_career" WHERE "date"='march 14, 2007';
2-10749310-3
How many goals have a result of 0-1 on march 28, 2007?
CREATE TABLE "under_23_international_career" ( "date" text, "venue" text, "result" text, "goals" real, "competition" text );
SELECT COUNT("goals") FROM "under_23_international_career" WHERE "result"='0-1' AND "date"='march 28, 2007';
2-10749310-3
What venue has a Result of 3-0?
CREATE TABLE "under_23_international_career" ( "date" text, "venue" text, "result" text, "goals" real, "competition" text );
SELECT "venue" FROM "under_23_international_career" WHERE "result"='3-0';
2-10749310-3