question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What is the score from the Sacramento monarchs from the west and the Connecticut sun from the east?
CREATE TABLE "history" ( "year" real, "western_champion" text, "result" text, "eastern_champion" text, "finals_mvp" text );
SELECT "result" FROM "history" WHERE "western_champion"='sacramento monarchs' AND "eastern_champion"='connecticut sun';
2-1164512-2
Who is the nominee for Best Lead Actress?
CREATE TABLE "awards" ( "year" real, "ceremony" text, "category" text, "nominee" text, "result" text );
SELECT "nominee" FROM "awards" WHERE "category"='best lead actress';
2-11891977-1
In what category is Carmen Salinas nominated?
CREATE TABLE "awards" ( "year" real, "ceremony" text, "category" text, "nominee" text, "result" text );
SELECT "category" FROM "awards" WHERE "nominee"='carmen salinas';
2-11891977-1
What year was there a category of Best Supporting Actress?
CREATE TABLE "awards" ( "year" real, "ceremony" text, "category" text, "nominee" text, "result" text );
SELECT SUM("year") FROM "awards" WHERE "category"='best supporting actress';
2-11891977-1
What Londongborough has a Dialcode of 01992?
CREATE TABLE "see_also" ( "location" text, "londonborough" text, "post_town" text, "postcodedistrict" text, "dialcode" text );
SELECT "londonborough" FROM "see_also" WHERE "dialcode"='01992';
2-11915713-1
What is the Dialcode of whitechapel?
CREATE TABLE "see_also" ( "location" text, "londonborough" text, "post_town" text, "postcodedistrict" text, "dialcode" text );
SELECT "dialcode" FROM "see_also" WHERE "location"='whitechapel';
2-11915713-1
What is the name of the Post code district that is in Eden Park?
CREATE TABLE "see_also" ( "location" text, "londonborough" text, "post_town" text, "postcodedistrict" text, "dialcode" text );
SELECT "postcodedistrict" FROM "see_also" WHERE "location"='eden park';
2-11915713-1
Which Post Town has a Dialcode of 020 and is located in Hook?
CREATE TABLE "see_also" ( "location" text, "londonborough" text, "post_town" text, "postcodedistrict" text, "dialcode" text );
SELECT "post_town" FROM "see_also" WHERE "dialcode"='020' AND "location"='hook';
2-11915713-1
What Dialcode has a location of Edmonton?
CREATE TABLE "see_also" ( "location" text, "londonborough" text, "post_town" text, "postcodedistrict" text, "dialcode" text );
SELECT "dialcode" FROM "see_also" WHERE "location"='edmonton';
2-11915713-1
Which average rank has an Earning amount that is less than $224,589?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real );
SELECT AVG("rank") FROM "leaders" WHERE "earnings"<'224,589';
2-11622862-4
Which country has a rank of 2?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real );
SELECT "country" FROM "leaders" WHERE "rank"=2;
2-11622862-4
What is the total number on roll for Shelly Park school?
CREATE TABLE "howick_local_board" ( "name" text, "years" text, "area" text, "authority" text, "decile" real, "roll" real );
SELECT COUNT("roll") FROM "howick_local_board" WHERE "name"='shelly park school';
2-12017602-18
What week was the record 0-5?
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"='0-5';
2-11449311-2
What was the result of the game with the attendance of 45,320?
CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text );
SELECT "result" FROM "schedule" WHERE "attendance"='45,320';
2-11449311-2
What time was the kickoff on September 15, 1985?
CREATE TABLE "schedule" ( "week" text, "date" text, "opponent" text, "result" text, "kickoff_a" text, "game_site" text, "attendance" text, "record" text );
SELECT "kickoff_a" FROM "schedule" WHERE "date"='september 15, 1985';
2-11449311-2
Which Player had a Long of 5 and Yards of 6?
CREATE TABLE "running_backs" ( "player" text, "car" real, "yards" text, "avg" text, "td_s" real, "long" text );
SELECT "player" FROM "running_backs" WHERE "long"='5' AND "yards"='6';
2-11786754-4
What was the total number of TD's for Player Lashaun Ward while also having a Long of 2?
CREATE TABLE "running_backs" ( "player" text, "car" real, "yards" text, "avg" text, "td_s" real, "long" text );
SELECT COUNT("td_s") FROM "running_backs" WHERE "long"='2' AND "player"='lashaun ward';
2-11786754-4
How many Yards did Player Rob Turner collect?
CREATE TABLE "running_backs" ( "player" text, "car" real, "yards" text, "avg" text, "td_s" real, "long" text );
SELECT "yards" FROM "running_backs" WHERE "player"='rob turner';
2-11786754-4
Who is the home team on March 5?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "home" FROM "game_log" WHERE "date"='march 5';
2-11945691-7
Who is the visitor on March 24?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "visitor" FROM "game_log" WHERE "date"='march 24';
2-11945691-7
Who was the home team on March 24?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "home" FROM "game_log" WHERE "date"='march 24';
2-11945691-7
What was the total crowd at the game where the home team score was 8.21 (69)
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 COUNT("crowd") FROM "round_11" WHERE "home_team_score"='8.21 (69)';
2-1164217-11
What date did a home team score 16.15 (111)
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"='16.15 (111)';
2-1164217-11
what was the total crowd in the game where the home teams score was 18.12 (120)
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 MIN("crowd") FROM "round_11" WHERE "home_team_score"='18.12 (120)';
2-1164217-11
On which date was the game where the home teams score was 22.15 (147), and the away teams score was 9.8 (62)
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"='22.15 (147)' AND "away_team_score"='9.8 (62)';
2-1164217-11
what is the lowest solo when assisted is less than 10, td's is 0, sack is less than 3 and yards is more than 5?
CREATE TABLE "defense" ( "player" text, "tackles" real, "solo" real, "assisted" real, "sack" real, "yards" real, "td_s" real );
SELECT MIN("solo") FROM "defense" WHERE "assisted"<10 AND "td_s"=0 AND "sack"<3 AND "yards">5;
2-11938731-7
what is the assisted when the solo is 6 and sack is less than 5?
CREATE TABLE "defense" ( "player" text, "tackles" real, "solo" real, "assisted" real, "sack" real, "yards" real, "td_s" real );
SELECT "assisted" FROM "defense" WHERE "solo"=6 AND "sack"<5;
2-11938731-7
what is the highest td's when the sack is less than 13, tackles is less than 8 and yards is less than 0?
CREATE TABLE "defense" ( "player" text, "tackles" real, "solo" real, "assisted" real, "sack" real, "yards" real, "td_s" real );
SELECT MAX("td_s") FROM "defense" WHERE "sack"<13 AND "tackles"<8 AND "yards"<0;
2-11938731-7
How many losses had a played number that was more than 34?
CREATE TABLE "first_phase" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT COUNT("losses") FROM "first_phase" WHERE "played">34;
2-12109851-2
Which highest 'goals against' number had wins of 19 and a 'goals for' number that was bigger than 53?
CREATE TABLE "first_phase" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT MAX("goals_against") FROM "first_phase" WHERE "wins"=19 AND "goals_for">53;
2-12109851-2
Which mean number of losses had a played number that was bigger than 34?
CREATE TABLE "first_phase" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT AVG("losses") FROM "first_phase" WHERE "played">34;
2-12109851-2
Which lowest goals for number had a played number of less than 34?
CREATE TABLE "first_phase" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT MIN("goals_for") FROM "first_phase" WHERE "played"<34;
2-12109851-2
Which Played number had a goal difference of more than 0 when the club was Valencia CF?
CREATE TABLE "first_phase" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT COUNT("played") FROM "first_phase" WHERE "goal_difference">0 AND "club"='valencia cf';
2-12109851-2
What player has a college named san sebastian?
CREATE TABLE "round_5" ( "pick" real, "player" text, "country_of_origin" text, "pba_team" text, "college" text );
SELECT "player" FROM "round_5" WHERE "college"='san sebastian';
2-10791466-7
What college has pick 45
CREATE TABLE "round_5" ( "pick" real, "player" text, "country_of_origin" text, "pba_team" text, "college" text );
SELECT "college" FROM "round_5" WHERE "pick"=45;
2-10791466-7
Name the air date for the seasons before 14 and series less than 183 with production code more than 709
CREATE TABLE "season_7_2011" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "original_air_date" text, "production_code" real );
SELECT "original_air_date" FROM "season_7_2011" WHERE "season_num"<14 AND "production_code">709 AND "series_num"<183;
2-11630008-9
Tell me the title for the production code less than 706 with series number more than 175
CREATE TABLE "season_7_2011" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "original_air_date" text, "production_code" real );
SELECT "title" FROM "season_7_2011" WHERE "series_num">175 AND "production_code"<706;
2-11630008-9
Name the least series number with production code of 717 and season number less than 17
CREATE TABLE "season_7_2011" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "original_air_date" text, "production_code" real );
SELECT MIN("series_num") FROM "season_7_2011" WHERE "production_code"=717 AND "season_num"<17;
2-11630008-9
Which Can Yayınları has a Güzelçamlı’nin Kayıp Panteri of çevreci peri?
CREATE TABLE "children_s_books" ( "g_zel_aml_nin_kay_p_panteri" text, "g_zel_aml_s_lost_panther" text, "collection_of_short_stories" text, "can_yay_nlar" text, "2005" real );
SELECT "can_yay_nlar" FROM "children_s_books" WHERE "g_zel_aml_nin_kay_p_panteri"='çevreci peri';
2-10829100-2
Which 2005 has a Güzelçamlı’s Lost Panther of green fairy?
CREATE TABLE "children_s_books" ( "g_zel_aml_nin_kay_p_panteri" text, "g_zel_aml_s_lost_panther" text, "collection_of_short_stories" text, "can_yay_nlar" text, "2005" real );
SELECT "2005" FROM "children_s_books" WHERE "g_zel_aml_s_lost_panther"='green fairy';
2-10829100-2
Which 2005 has a Güzelçamlı’s Lost Panther of the muse?
CREATE TABLE "children_s_books" ( "g_zel_aml_nin_kay_p_panteri" text, "g_zel_aml_s_lost_panther" text, "collection_of_short_stories" text, "can_yay_nlar" text, "2005" real );
SELECT MAX("2005") FROM "children_s_books" WHERE "g_zel_aml_s_lost_panther"='the muse';
2-10829100-2
what is the grid when the driver is pierre levegh?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "grid" FROM "race" WHERE "driver"='pierre levegh';
2-1122054-2
what is the grid when the laps is 2?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "grid" FROM "race" WHERE "laps"=2;
2-1122054-2
what is the time/retired when the driver is toulo de graffenried?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "race" WHERE "driver"='toulo de graffenried';
2-1122054-2
what is the time/retired when the grid is less than 13, the constructor is alfa romeo and the laps is more than 12?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "race" WHERE "grid"<13 AND "constructor"='alfa romeo' AND "laps">12;
2-1122054-2
what is the grid when the laps is more than 20?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT SUM("grid") FROM "race" WHERE "laps">20;
2-1122054-2
What is the D 49 √ when D 47 √ is d 67 +?
CREATE TABLE "senate_composition_as_a_result_of_the_el" ( "d_50" text, "d_49" text, "d_48" text, "d_47" text, "d_46" text, "d_45" text, "d_44" text, "d_43" text, "d_42" text, "d_41" text );
SELECT "d_49" FROM "senate_composition_as_a_result_of_the_el" WHERE "d_47"='d 67 +';
2-1177591-2
What is the number for D 44 √ when D 47 √ is r 7?
CREATE TABLE "senate_composition_as_a_result_of_the_el" ( "d_50" text, "d_49" text, "d_48" text, "d_47" text, "d_46" text, "d_45" text, "d_44" text, "d_43" text, "d_42" text, "d_41" text );
SELECT "d_44" FROM "senate_composition_as_a_result_of_the_el" WHERE "d_47"='r 7';
2-1177591-2
What is the D 42 √ number when the D 45 √ is r 16?
CREATE TABLE "senate_composition_as_a_result_of_the_el" ( "d_50" text, "d_49" text, "d_48" text, "d_47" text, "d_46" text, "d_45" text, "d_44" text, "d_43" text, "d_42" text, "d_41" text );
SELECT "d_42" FROM "senate_composition_as_a_result_of_the_el" WHERE "d_45"='r 16';
2-1177591-2
What is the D 49 √ number when the D 41 √ is d 61 √?
CREATE TABLE "senate_composition_as_a_result_of_the_el" ( "d_50" text, "d_49" text, "d_48" text, "d_47" text, "d_46" text, "d_45" text, "d_44" text, "d_43" text, "d_42" text, "d_41" text );
SELECT "d_49" FROM "senate_composition_as_a_result_of_the_el" WHERE "d_41"='d 61 √';
2-1177591-2
What is the D 42 √ figure when D 46 √ is r 6?
CREATE TABLE "senate_composition_as_a_result_of_the_el" ( "d_50" text, "d_49" text, "d_48" text, "d_47" text, "d_46" text, "d_45" text, "d_44" text, "d_43" text, "d_42" text, "d_41" text );
SELECT "d_42" FROM "senate_composition_as_a_result_of_the_el" WHERE "d_46"='r 6';
2-1177591-2
What is the D 50 √ when the D 47 √ is r 27 √?
CREATE TABLE "senate_composition_as_a_result_of_the_el" ( "d_50" text, "d_49" text, "d_48" text, "d_47" text, "d_46" text, "d_45" text, "d_44" text, "d_43" text, "d_42" text, "d_41" text );
SELECT "d_50" FROM "senate_composition_as_a_result_of_the_el" WHERE "d_47"='r 27 √';
2-1177591-2
Tell me the player for ballarat football league
CREATE TABLE "goal_to_win" ( "player" text, "competition" text, "team" text, "opponent" text, "year" real, "score" text );
SELECT "player" FROM "goal_to_win" WHERE "competition"='ballarat football league';
2-11694586-6
Tell me the player for east perth
CREATE TABLE "goal_to_win" ( "player" text, "competition" text, "team" text, "opponent" text, "year" real, "score" text );
SELECT "player" FROM "goal_to_win" WHERE "team"='east perth';
2-11694586-6
Tell met he score for team of waaia
CREATE TABLE "goal_to_win" ( "player" text, "competition" text, "team" text, "opponent" text, "year" real, "score" text );
SELECT "score" FROM "goal_to_win" WHERE "team"='waaia';
2-11694586-6
Tell me the team for victorian football league
CREATE TABLE "goal_to_win" ( "player" text, "competition" text, "team" text, "opponent" text, "year" real, "score" text );
SELECT "team" FROM "goal_to_win" WHERE "competition"='victorian football league';
2-11694586-6
What round was the debut of Scott Tunbridge?
CREATE TABLE "in" ( "name" text, "position" text, "from_club" text, "date_joined" text, "debut" text );
SELECT "debut" FROM "in" WHERE "name"='scott tunbridge';
2-10866458-1
What round was the debut of defender Stephen Laybutt?
CREATE TABLE "in" ( "name" text, "position" text, "from_club" text, "date_joined" text, "debut" text );
SELECT "debut" FROM "in" WHERE "position"='defender' AND "name"='stephen laybutt';
2-10866458-1
What position had a debut in round 6?
CREATE TABLE "in" ( "name" text, "position" text, "from_club" text, "date_joined" text, "debut" text );
SELECT "position" FROM "in" WHERE "debut"='round 6';
2-10866458-1
What is the name of the player that had a debut in round 6?
CREATE TABLE "in" ( "name" text, "position" text, "from_club" text, "date_joined" text, "debut" text );
SELECT "name" FROM "in" WHERE "debut"='round 6';
2-10866458-1
What date did the player from Santo André debut?
CREATE TABLE "in" ( "name" text, "position" text, "from_club" text, "date_joined" text, "debut" text );
SELECT "date_joined" FROM "in" WHERE "from_club"='santo andré';
2-10866458-1
what is the venue when the score is 20½–11½?
CREATE TABLE "results" ( "year" real, "venue" text, "location" text, "winning_team" text, "score" text, "u_s_captain" text, "international_captain" text );
SELECT "venue" FROM "results" WHERE "score"='20½–11½';
2-1122682-1
Who is the winning team when the year is more than 2003, the score is 19½–14½ and the venue is harding park golf club?
CREATE TABLE "results" ( "year" real, "venue" text, "location" text, "winning_team" text, "score" text, "u_s_captain" text, "international_captain" text );
SELECT "winning_team" FROM "results" WHERE "year">2003 AND "score"='19½–14½' AND "venue"='harding park golf club';
2-1122682-1
what is the highest year that the U.S. captain is ken venturi?
CREATE TABLE "results" ( "year" real, "venue" text, "location" text, "winning_team" text, "score" text, "u_s_captain" text, "international_captain" text );
SELECT MAX("year") FROM "results" WHERE "u_s_captain"='ken venturi';
2-1122682-1
what is the location when the year is less than 1998 and the international captain is david graham?
CREATE TABLE "results" ( "year" real, "venue" text, "location" text, "winning_team" text, "score" text, "u_s_captain" text, "international_captain" text );
SELECT "location" FROM "results" WHERE "year"<1998 AND "international_captain"='david graham';
2-1122682-1
How much did jim colbert earned ranked above 2?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real );
SELECT COUNT("earnings") FROM "leaders" WHERE "player"='jim colbert' AND "rank"<2;
2-11621747-4
What is the away team score where the crowd is greater than 25,000 and the Away team is south melbourne?
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 "crowd">'25,000' AND "away_team"='south melbourne';
2-10809529-11
What is the largest crowd with a Home team score of 9.17 (71)?
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 MAX("crowd") FROM "round_11" WHERE "home_team_score"='9.17 (71)';
2-10809529-11
What day did the VFL play at 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 "date" FROM "round_18" WHERE "venue"='junction oval';
2-10809271-18
Where did Footscray play as the home team?
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 "venue" FROM "round_18" WHERE "home_team"='footscray';
2-10809271-18
Who was the opponent when Footscray played as the home team?
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 "home_team"='footscray';
2-10809271-18
What was the attendance when the VFL played Arden Street 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 COUNT("crowd") FROM "round_18" WHERE "venue"='arden street oval';
2-10809271-18
What was the score June 22?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text );
SELECT "loss" FROM "game_log" WHERE "date"='june 22';
2-11512208-4
Which school has a hometown of winter park, FL?
CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text );
SELECT "school" FROM "2007_boys_team" WHERE "hometown"='winter park, fl';
2-11677760-19
What's the college of the player with a height of 6-4 and went to lake howell high school?
CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text );
SELECT "college" FROM "2007_boys_team" WHERE "height"='6-4' AND "school"='lake howell high school';
2-11677760-19
What's the hometown of the player with a college of lsu?
CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text );
SELECT "hometown" FROM "2007_boys_team" WHERE "college"='lsu';
2-11677760-19
What's the heigh of the player who went to lake howell high school?
CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text );
SELECT "height" FROM "2007_boys_team" WHERE "school"='lake howell high school';
2-11677760-19
What's the heigh of nolan smith?
CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text );
SELECT "height" FROM "2007_boys_team" WHERE "player"='nolan smith';
2-11677760-19
What's the height of the player who went to oak hill academy?
CREATE TABLE "2007_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text );
SELECT "height" FROM "2007_boys_team" WHERE "school"='oak hill academy';
2-11677760-19
What tyre did Paul Russo have on his fastest lap?
CREATE TABLE "season_review" ( "race" text, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "tyre" text, "report" text );
SELECT "tyre" FROM "season_review" WHERE "fastest_lap"='paul russo';
2-1140112-1
What is the date that Stirling Moss had his fastest lap in a Maserati?
CREATE TABLE "season_review" ( "race" text, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "tyre" text, "report" text );
SELECT "date" FROM "season_review" WHERE "constructor"='maserati' AND "fastest_lap"='stirling moss';
2-1140112-1
Who was the winning driver on 30 May?
CREATE TABLE "season_review" ( "race" text, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "tyre" text, "report" text );
SELECT "winning_driver" FROM "season_review" WHERE "date"='30 may';
2-1140112-1
What was the fastest lap in the Belgian Grand Prix?
CREATE TABLE "season_review" ( "race" text, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "tyre" text, "report" text );
SELECT "fastest_lap" FROM "season_review" WHERE "race"='belgian grand prix';
2-1140112-1
Who was the home team when the away team was Hawthorn?
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" FROM "round_18" WHERE "away_team"='hawthorn';
2-10824095-18
On what date did the game at Windy Hill take place?
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 "date" FROM "round_18" WHERE "venue"='windy hill';
2-10824095-18
What was the venue when the away team was Hawthorn?
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 "venue" FROM "round_18" WHERE "away_team"='hawthorn';
2-10824095-18
What was the home team when the game was at Windy Hill?
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" FROM "round_18" WHERE "venue"='windy hill';
2-10824095-18
What position has less than 343 laps in 2010?
CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text );
SELECT "pos" FROM "24_hours_of_le_mans_results" WHERE "laps"<343 AND "year"=2010;
2-1148454-4
What are panoz motor sports' lowest number of laps before 2002?
CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text );
SELECT MIN("laps") FROM "24_hours_of_le_mans_results" WHERE "team"='panoz motor sports' AND "year"<2002;
2-1148454-4
What's the sum of the games that had paul (9) for high assists?
CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text );
SELECT SUM("game") FROM "playoffs" WHERE "high_assists"='paul (9)';
2-11963536-11
What team had a high points of west (20)?
CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text );
SELECT "team" FROM "playoffs" WHERE "high_points"='west (20)';
2-11963536-11
What week was the game played at Robert f. Kennedy memorial stadium with more than 54,633 people in attendance?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" real );
SELECT COUNT("week") FROM "schedule" WHERE "game_site"='robert f. kennedy memorial stadium' AND "attendance">'54,633';
2-11309680-2
What was the result of the game played in texas stadium with more than 46,267 in the crowd and against the pittsburgh steelers?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" real );
SELECT "result" FROM "schedule" WHERE "game_site"='texas stadium' AND "attendance">'46,267' AND "opponent"='pittsburgh steelers';
2-11309680-2
What opponent had a game with more than 50,705 in attendace on September 13, 1982?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" real );
SELECT "opponent" FROM "schedule" WHERE "attendance">'50,705' AND "date"='september 13, 1982';
2-11309680-2
What is the time/retired associated with a grid of 5 and under 73 laps?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "race" WHERE "laps"<73 AND "grid"=5;
2-1123245-2
What was the free score of the skater with a total of 156.67?
CREATE TABLE "men" ( "rank" real, "name" text, "nation" text, "placings" real, "figures" real, "free" real, "total" real );
SELECT "free" FROM "men" WHERE "total"=156.67;
2-11343995-1
What was the average figure score of the skater with a free score under 56.35?
CREATE TABLE "men" ( "rank" real, "name" text, "nation" text, "placings" real, "figures" real, "free" real, "total" real );
SELECT AVG("figures") FROM "men" WHERE "free"<56.35;
2-11343995-1
Which opponent had round 1?
CREATE TABLE "competitive" ( "date" text, "tournament" text, "round" text, "ground" text, "opponent" text, "score_1" text );
SELECT "opponent" FROM "competitive" WHERE "round"='1';
2-12098629-9
Which date's opponent was Dender when the tournament was in the Jupiler League and the ground was a?
CREATE TABLE "competitive" ( "date" text, "tournament" text, "round" text, "ground" text, "opponent" text, "score_1" text );
SELECT "date" FROM "competitive" WHERE "opponent"='dender' AND "tournament"='jupiler league' AND "ground"='a';
2-12098629-9
Which ground's round was 33?
CREATE TABLE "competitive" ( "date" text, "tournament" text, "round" text, "ground" text, "opponent" text, "score_1" text );
SELECT "ground" FROM "competitive" WHERE "round"='33';
2-12098629-9