question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
In the match played with partner Andres Molteni, with the outcome of winner, who was the opponent?
CREATE TABLE "doubles_finals" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponent" text, "score" text );
SELECT "opponent" FROM "doubles_finals" WHERE "outcome"='winner' AND "partner"='andres molteni';
2-10713126-4
What is the player with a Span of 1998-2009?
CREATE TABLE "most_caps" ( "player" text, "span" text, "start" text, "tries" text, "conv" text, "pens" text, "drop" text, "lost" text, "draw" text );
SELECT "player" FROM "most_caps" WHERE "span"='1998-2009';
2-1074629-5
What draw has a Span of 1987-1999?
CREATE TABLE "most_caps" ( "player" text, "span" text, "start" text, "tries" text, "conv" text, "pens" text, "drop" text, "lost" text, "draw" text );
SELECT "draw" FROM "most_caps" WHERE "span"='1987-1999';
2-1074629-5
What player has a span of 1997-2009?
CREATE TABLE "most_caps" ( "player" text, "span" text, "start" text, "tries" text, "conv" text, "pens" text, "drop" text, "lost" text, "draw" text );
SELECT "player" FROM "most_caps" WHERE "span"='1997-2009';
2-1074629-5
What drop has a 0 conv and Tries of 6?
CREATE TABLE "most_caps" ( "player" text, "span" text, "start" text, "tries" text, "conv" text, "pens" text, "drop" text, "lost" text, "draw" text );
SELECT "drop" FROM "most_caps" WHERE "conv"='0' AND "tries"='6';
2-1074629-5
What drop had a start of 40?
CREATE TABLE "most_caps" ( "player" text, "span" text, "start" text, "tries" text, "conv" text, "pens" text, "drop" text, "lost" text, "draw" text );
SELECT "drop" FROM "most_caps" WHERE "start"='40';
2-1074629-5
What drop had 0 pens, 1 draw, and 8 tries?
CREATE TABLE "most_caps" ( "player" text, "span" text, "start" text, "tries" text, "conv" text, "pens" text, "drop" text, "lost" text, "draw" text );
SELECT "drop" FROM "most_caps" WHERE "pens"='0' AND "draw"='1' AND "tries"='8';
2-1074629-5
What round did Takayo Hashi face Yoko Hattori?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" real, "time" text, "location" text );
SELECT SUM("round") FROM "mixed_martial_arts_record" WHERE "opponent"='yoko hattori';
2-10727601-2
What was the away team that played at Princes Park?
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" FROM "round_2" WHERE "venue"='princes park';
2-10773616-2
What was the date when Footscray was 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 "date" FROM "round_2" WHERE "away_team"='footscray';
2-10773616-2
What was the home team's score in the match at Victoria Park?
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 "venue"='victoria park';
2-10773616-2
On what date was South Melbourne 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 "date" FROM "round_2" WHERE "away_team"='south melbourne';
2-10773616-2
At what venue did the home team score 12.19 (91)?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_2" WHERE "home_team_score"='12.19 (91)';
2-10773616-2
What away team did Carlton play?
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" FROM "round_2" WHERE "home_team"='carlton';
2-10773616-2
What is the sum of bronze when silver is greater than 3?
CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("bronze") FROM "medals_table" WHERE "silver">3;
2-10642547-3
What is the average total when gold is 0, bronze is 0, and silver is smaller than 1?
CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("total") FROM "medals_table" WHERE "gold"=0 AND "bronze"=0 AND "silver"<1;
2-10642547-3
What was the total attendance in week 8?
CREATE TABLE "game_by_game_results" ( "week" real, "date" text, "opponent" text, "result" text, "stadium" text, "record" text, "attendance" real );
SELECT COUNT("attendance") FROM "game_by_game_results" WHERE "week"=8;
2-10646790-2
Who was the winner in 2007?
CREATE TABLE "list_of_international_matches" ( "date" real, "sport" text, "winner" text, "score" text, "loser" text );
SELECT "winner" FROM "list_of_international_matches" WHERE "date"=2007;
2-1053247-1
What sport was played before 2006 with a loser of france b?
CREATE TABLE "list_of_international_matches" ( "date" real, "sport" text, "winner" text, "score" text, "loser" text );
SELECT "sport" FROM "list_of_international_matches" WHERE "date"<2006 AND "loser"='france b';
2-1053247-1
Who was the winner with the loser being russia-2?
CREATE TABLE "list_of_international_matches" ( "date" real, "sport" text, "winner" text, "score" text, "loser" text );
SELECT "winner" FROM "list_of_international_matches" WHERE "loser"='russia-2';
2-1053247-1
Who was the loser playing football with england b as a winner after 1992?
CREATE TABLE "list_of_international_matches" ( "date" real, "sport" text, "winner" text, "score" text, "loser" text );
SELECT "loser" FROM "list_of_international_matches" WHERE "sport"='football' AND "winner"='england b' AND "date">1992;
2-1053247-1
What was the name of the race that occurred in Brooklyn, Michigan with a sanctioning of cart?
CREATE TABLE "calendar" ( "sanctioning" text, "race_name" text, "circuit" text, "city_location" text, "date" text );
SELECT "race_name" FROM "calendar" WHERE "sanctioning"='cart' AND "city_location"='brooklyn, michigan';
2-10527215-2
Where did the Gould Rex Mays Classic 150 occur?
CREATE TABLE "calendar" ( "sanctioning" text, "race_name" text, "circuit" text, "city_location" text, "date" text );
SELECT "city_location" FROM "calendar" WHERE "race_name"='gould rex mays classic 150';
2-10527215-2
What is the date for the race that has a circuit of Milwaukee Mile and the sanctioning of cart?
CREATE TABLE "calendar" ( "sanctioning" text, "race_name" text, "circuit" text, "city_location" text, "date" text );
SELECT "date" FROM "calendar" WHERE "circuit"='milwaukee mile' AND "sanctioning"='cart';
2-10527215-2
15 albums were released in the UK during which year?
CREATE TABLE "albums" ( "year" text, "us_200" text, "uk_albums" text, "riaa_certification" text, "bpi_certification" text );
SELECT "year" FROM "albums" WHERE "uk_albums"='15';
2-1068160-1
What is the venue where Collingwood 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 "venue" FROM "round_13" WHERE "home_team"='collingwood';
2-10776868-13
Who was the away team for the game where the home team scored 13.11 (89)?
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"='13.11 (89)';
2-10776868-13
What is the size of the crowd for the game with Footscray 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 AVG("crowd") FROM "round_13" WHERE "home_team"='footscray';
2-10776868-13
What is the largest crowd for any game where Footscray is 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 MAX("crowd") FROM "round_13" WHERE "home_team"='footscray';
2-10776868-13
What is the maximum number of draws when the diff is smaller than 186, points are fewer than 12 and games played fewer than 6?
CREATE TABLE "australasia_pool_a" ( "club" text, "played" real, "lost" real, "drawn" real, "against" real, "diff" real, "points" real );
SELECT MAX("drawn") FROM "australasia_pool_a" WHERE "diff"<186 AND "points"<12 AND "played"<6;
2-10637415-1
What is the average diff when games played are more than 6?
CREATE TABLE "australasia_pool_a" ( "club" text, "played" real, "lost" real, "drawn" real, "against" real, "diff" real, "points" real );
SELECT AVG("diff") FROM "australasia_pool_a" WHERE "played">6;
2-10637415-1
What is the highest draws when more than 6 are played and the points against are 54?
CREATE TABLE "australasia_pool_a" ( "club" text, "played" real, "lost" real, "drawn" real, "against" real, "diff" real, "points" real );
SELECT MAX("drawn") FROM "australasia_pool_a" WHERE "against"=54 AND "played">6;
2-10637415-1
What is the maximum number of points against when the team has more than 0 losses and plays fewer than 6 games?
CREATE TABLE "australasia_pool_a" ( "club" text, "played" real, "lost" real, "drawn" real, "against" real, "diff" real, "points" real );
SELECT MAX("against") FROM "australasia_pool_a" WHERE "lost">0 AND "played"<6;
2-10637415-1
What is the number of games played for the team with 12 points and an against smaller than 52?
CREATE TABLE "australasia_pool_a" ( "club" text, "played" real, "lost" real, "drawn" real, "against" real, "diff" real, "points" real );
SELECT AVG("played") FROM "australasia_pool_a" WHERE "points"=12 AND "against"<52;
2-10637415-1
What was the crowd size when the home team scored 10.10 (70)?
CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "crowd" FROM "round_13" WHERE "home_team_score"='10.10 (70)';
2-10766119-13
What was the away team when the home team scored 10.10 (70)?
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"='10.10 (70)';
2-10766119-13
What was the away team's score when the crowd was larger than 16,500 and the home team scored 15.15 (105)?
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 "crowd">'16,500' AND "home_team_score"='15.15 (105)';
2-10766119-13
What is the lowest average parish size with 47.2% of adherents and 4,936 regular attendees?
CREATE TABLE "by_jurisdiction_in_the_usa" ( "adherents" real, "regular_attendees" real, "pct_of_adherents" text, "monasteries" real, "parishes" real, "average_parish_size" real );
SELECT MIN("average_parish_size") FROM "by_jurisdiction_in_the_usa" WHERE "pct_of_adherents"='47.2%' AND "regular_attendees">'4,936';
2-10621658-1
What is the average regular number of attendees that has 79 parishes?
CREATE TABLE "by_jurisdiction_in_the_usa" ( "adherents" real, "regular_attendees" real, "pct_of_adherents" text, "monasteries" real, "parishes" real, "average_parish_size" real );
SELECT AVG("regular_attendees") FROM "by_jurisdiction_in_the_usa" WHERE "parishes"=79;
2-10621658-1
What is the lowest number of monasteries with over 20 parishes, 210,864 regular attendeeds, and over 799,776 adherents?
CREATE TABLE "by_jurisdiction_in_the_usa" ( "adherents" real, "regular_attendees" real, "pct_of_adherents" text, "monasteries" real, "parishes" real, "average_parish_size" real );
SELECT MIN("monasteries") FROM "by_jurisdiction_in_the_usa" WHERE "parishes">20 AND "regular_attendees"='210,864' AND "adherents">'799,776';
2-10621658-1
Which Grand Prix has the Circuit of Lille?
CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "name" FROM "other_grands_prix" WHERE "circuit"='lille';
2-10576510-2
Which winning driver of the Roussillon Grand Prix had an Alfa Romeo?
CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "winning_driver" FROM "other_grands_prix" WHERE "winning_constructor"='alfa romeo' AND "name"='roussillon grand prix';
2-10576510-2
Which Constructor won the Roussillon Grand Prix?
CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "winning_constructor" FROM "other_grands_prix" WHERE "name"='roussillon grand prix';
2-10576510-2
Which Driver won the Circuit of Rio de Janeiro?
CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "winning_driver" FROM "other_grands_prix" WHERE "circuit"='rio de janeiro';
2-10576510-2
Who was the home team for the Essendon away team with attendance over 13,500?
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">'13,500' AND "away_team"='essendon';
2-10776330-4
What day did the VFL pay 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-10776330-4
What was November 4, 1973 attendance?
CREATE TABLE "regular_season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "attendance" FROM "regular_season_schedule" WHERE "date"='november 4, 1973';
2-10651062-3
What is the number of laps with a Constructor of renault, and a driver of jacques villeneuve?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "laps" FROM "race" WHERE "constructor"='renault' AND "driver"='jacques villeneuve';
2-1054525-2
What is the time/retired for grid 3?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "race" WHERE "grid"=3;
2-1054525-2
What is the time/retired for grid 8?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "race" WHERE "grid"=8;
2-1054525-2
What is the time/retired for a grid larger than 11, laps larger than 41, and nick heidfeld?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "race" WHERE "grid">11 AND "laps">41 AND "driver"='nick heidfeld';
2-1054525-2
Who was the driver with less than 53 laps, Grid larger than 17, and a Time/Retired of spin?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "driver" FROM "race" WHERE "laps"<53 AND "grid">17 AND "time_retired"='spin';
2-1054525-2
Who has won $98,860?
CREATE TABLE "race_results" ( "driver" text, "car_num" real, "make" text, "points" text, "laps" real, "winnings" text );
SELECT "driver" FROM "race_results" WHERE "winnings"='$98,860';
2-10607649-1
What team is travelling to play Hawthorn?
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 "home_team"='hawthorn';
2-10775038-10
What is the smallest crowd at the Victoria Park Venue?
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 MIN("crowd") FROM "round_10" WHERE "venue"='victoria park';
2-10775038-10
What is the score given by the Home team Geelong?
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_score" FROM "round_10" WHERE "home_team"='geelong';
2-10775038-10
What is the largest crowd at arden street oval?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT MAX("crowd") FROM "round_1" WHERE "venue"='arden street oval';
2-10767118-1
What is the home side's score at western oval?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_1" WHERE "venue"='western oval';
2-10767118-1
What venue is in the state of Connecticut?
CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );
SELECT "venue" FROM "first_and_second_rounds" WHERE "state"='connecticut';
2-10722506-4
What venue is in the city of Durham?
CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );
SELECT "venue" FROM "first_and_second_rounds" WHERE "city"='durham';
2-10722506-4
In what state is the Thomas Assembly Center located?
CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );
SELECT "state" FROM "first_and_second_rounds" WHERE "venue"='thomas assembly center';
2-10722506-4
What venue is located in Indiana and hosted at Purdue University?
CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );
SELECT "venue" FROM "first_and_second_rounds" WHERE "state"='indiana' AND "host"='purdue university';
2-10722506-4
What city is located in Oklahoma?
CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );
SELECT "city" FROM "first_and_second_rounds" WHERE "state"='oklahoma';
2-10722506-4
In what city is the United Spirit Arena located?
CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );
SELECT "city" FROM "first_and_second_rounds" WHERE "venue"='united spirit arena';
2-10722506-4
What was the result when they had their bye week?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "tv_time" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "date"='bye';
2-10659471-1
What was the attendance of the Browns' September 7, 1953 game?
CREATE TABLE "exhibition_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "attendance" FROM "exhibition_schedule" WHERE "date"='september 7, 1953';
2-10649583-1
When was the Browns' game that over 36,796 attended?
CREATE TABLE "exhibition_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "date" FROM "exhibition_schedule" WHERE "attendance">'36,796';
2-10649583-1
What Young rider classification has a Stage of 18?
CREATE TABLE "classification_leadership" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "young_rider_classification" text, "team_classification" text );
SELECT "young_rider_classification" FROM "classification_leadership" WHERE "stage"='18';
2-1063029-2
Who has a Team classification of la vie claire, a stage of 20, a General classification of greg lemond?
CREATE TABLE "classification_leadership" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "young_rider_classification" text, "team_classification" text );
SELECT "winner" FROM "classification_leadership" WHERE "team_classification"='la vie claire' AND "general_classification"='greg lemond' AND "stage"='20';
2-1063029-2
What is the classification with a Team classification of la vie claire and a Stage of 12?
CREATE TABLE "classification_leadership" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "young_rider_classification" text, "team_classification" text );
SELECT "general_classification" FROM "classification_leadership" WHERE "team_classification"='la vie claire' AND "stage"='12';
2-1063029-2
What is guido bontempi's general classification when he has a stage of 6?
CREATE TABLE "classification_leadership" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "young_rider_classification" text, "team_classification" text );
SELECT "general_classification" FROM "classification_leadership" WHERE "winner"='guido bontempi' AND "stage"='6';
2-1063029-2
What is Ludo Peeters' team classification?
CREATE TABLE "classification_leadership" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "young_rider_classification" text, "team_classification" text );
SELECT "team_classification" FROM "classification_leadership" WHERE "winner"='ludo peeters';
2-1063029-2
What was the date of the game where the home team scored 17.14 (116)?
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 "home_team_score"='17.14 (116)';
2-10776868-11
Who was the away team at the game where Footscray was the home team and the crowd was larger than 20,200?
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 "crowd">'20,200' AND "home_team"='footscray';
2-10776868-11
Which date had less than 3 goals and a result of (w) 2-0?
CREATE TABLE "england_career" ( "date" text, "venue" text, "opposition" text, "att" real, "result" text, "goals" real );
SELECT "date" FROM "england_career" WHERE "goals"<3 AND "result"='(w) 2-0';
2-10556257-2
Which home team scored 13.11 (89)?
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 "home_team_score"='13.11 (89)';
2-10701045-16
When an away team scored 11.17 (83), at which venue were they playing?
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_score"='11.17 (83)';
2-10701045-16
On what date was a match held at MCG?
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 "date" FROM "round_16" WHERE "venue"='mcg';
2-10701045-16
When Fitzroy are the away team, what is the average crowd size?
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 AVG("crowd") FROM "round_16" WHERE "away_team"='fitzroy';
2-10701045-16
What is footscray's away team score?
CREATE TABLE "round_8_national_day_round" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team_score" FROM "round_8_national_day_round" WHERE "home_team"='footscray';
2-10750694-8
What is the record of Jeremija Sanders' opponent?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "opponent"='jeremija sanders';
2-10705194-2
What is the average number of tries that has a start larger than 32, is a player of seremaia bai that also has a conversion score larger than 47?
CREATE TABLE "most_points" ( "player" text, "span" text, "start" real, "tries" real, "conv" real, "pens" real, "drop" real );
SELECT AVG("tries") FROM "most_points" WHERE "start">32 AND "player"='seremaia bai' AND "conv">47;
2-1074616-7
For the player fero lasagavibau who has the lowest start?
CREATE TABLE "most_points" ( "player" text, "span" text, "start" real, "tries" real, "conv" real, "pens" real, "drop" real );
SELECT MIN("start") FROM "most_points" WHERE "player"='fero lasagavibau';
2-1074616-7
Who was the opponent when Raphael was 4-0?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" real, "time" text, "location" text );
SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "record"='4-0';
2-10516844-3
What was the average round when he had a 3-0 record?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" real, "time" text, "location" text );
SELECT AVG("round") FROM "mixed_martial_arts_record" WHERE "record"='3-0';
2-10516844-3
What was the location when he had a 2-0 record?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" real, "time" text, "location" text );
SELECT "location" FROM "mixed_martial_arts_record" WHERE "record"='2-0';
2-10516844-3
What was the result when he went 1 round against jeremy beck?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" real, "time" text, "location" text );
SELECT "res" FROM "mixed_martial_arts_record" WHERE "round"=1 AND "opponent"='jeremy beck';
2-10516844-3
What was the result of the game in halifax?
CREATE TABLE "round_5" ( "date" text, "result" text, "score" text, "stadium" text, "city" text, "crowd" real );
SELECT "result" FROM "round_5" WHERE "city"='halifax';
2-10637415-9
What stadium is located in Halifax?
CREATE TABLE "round_5" ( "date" text, "result" text, "score" text, "stadium" text, "city" text, "crowd" real );
SELECT "stadium" FROM "round_5" WHERE "city"='halifax';
2-10637415-9
What day did they play in salford?
CREATE TABLE "round_5" ( "date" text, "result" text, "score" text, "stadium" text, "city" text, "crowd" real );
SELECT "date" FROM "round_5" WHERE "city"='salford';
2-10637415-9
What was the earliest week the team played the chicago cardinals in front of less than 25,312?
CREATE TABLE "regular_season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MIN("week") FROM "regular_season_schedule" WHERE "opponent"='chicago cardinals' AND "attendance"<'25,312';
2-10651573-2
What day did they play on week 4?
CREATE TABLE "regular_season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "date" FROM "regular_season_schedule" WHERE "week"=4;
2-10651573-2
What team did the Brows play against on October 20, 1963 to a crowd larger than 55,096?
CREATE TABLE "regular_season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "opponent" FROM "regular_season_schedule" WHERE "attendance">'55,096' AND "date"='october 20, 1963';
2-10651843-2
What was the attendance during the week 1 match?
CREATE TABLE "regular_season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "attendance" FROM "regular_season_schedule" WHERE "week"=1;
2-10651843-2
During what week was the match on November 10, 1963?
CREATE TABLE "regular_season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT AVG("week") FROM "regular_season_schedule" WHERE "date"='november 10, 1963';
2-10651843-2
What was the result of the match on December 1, 1963?
CREATE TABLE "regular_season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "result" FROM "regular_season_schedule" WHERE "date"='december 1, 1963';
2-10651843-2
When did a crowd larger than 23,135 watch an away team score 3.8 (26)?
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 "crowd">'23,135' AND "away_team_score"='3.8 (26)';
2-10775890-3
What was the Away team score against a home team with 5.12 (42)?
CREATE TABLE "round_3" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team_score" FROM "round_3" WHERE "home_team_score"='5.12 (42)';
2-10775890-3
What day is hawthorn the away side?
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 "away_team"='hawthorn';
2-10767118-3
What is the average crowd size for games with north melbourne as the away side?
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 AVG("crowd") FROM "round_3" WHERE "away_team"='north melbourne';
2-10767118-3