question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
How big was the crowd of the Home team of Collingwood?
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 MAX("crowd") FROM "round_16" WHERE "home_team"='collingwood';
2-10790651-16
What away team had a score of 7.9 (51)?
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text );
SELECT "away_team" FROM "round_16" WHERE "away_team_score"='7.9 (51)';
2-1204658-16
What was the home team score when the away team scored 6.13 (49)?
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text );
SELECT "home_team_score" FROM "round_16" WHERE "away_team_score"='6.13 (49)';
2-1204658-16
What date was the home team score 5.9 (39)?
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text );
SELECT "date" FROM "round_16" WHERE "home_team_score"='5.9 (39)';
2-1204658-16
What was the away team when the home team was south melbourne?
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text );
SELECT "away_team" FROM "round_16" WHERE "home_team"='south melbourne';
2-1204658-16
What was the away team when the home team score was 5.9 (39)?
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text );
SELECT "away_team" FROM "round_16" WHERE "home_team_score"='5.9 (39)';
2-1204658-16
What is the home team score when the away team score was 6.13 (49)?
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text );
SELECT "home_team_score" FROM "round_16" WHERE "away_team_score"='6.13 (49)';
2-1204658-16
Who was recruited from Calgary?
CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "player" FROM "round_one" WHERE "college"='calgary';
2-10812938-1
What number of wins was ranked higher than 5?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real );
SELECT SUM("wins") FROM "leaders" WHERE "rank">5;
2-11622771-4
What rank is Miller Barber with more than 11 wins?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real );
SELECT "rank" FROM "leaders" WHERE "wins">11 AND "player"='miller barber';
2-11622771-4
What was the venue when the away team scored 11.11 (77)?
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.11 (77)';
2-10883333-16
What was the venue when Collingwood was the home team?
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 "home_team"='collingwood';
2-10883333-16
What was the venue when the away team scored 11.11 (77)?
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.11 (77)';
2-10883333-16
How many people were in the crowd when the away team scored 17.17 (119)?
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 SUM("crowd") FROM "round_16" WHERE "away_team_score"='17.17 (119)';
2-10883333-16
What was the largest crowd at vfl park?
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 MAX("crowd") FROM "round_16" WHERE "venue"='vfl park';
2-10883333-16
How many people were at the game where the home team was South Melbourne?
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 "crowd" FROM "round_3" WHERE "home_team"='south melbourne';
2-10790099-3
What was the score when the away team was Footscray?
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"='footscray';
2-10790099-3
What was the score when the away team was Collingwood?
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"='collingwood';
2-10790099-3
What was the home team that played 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" FROM "round_3" WHERE "venue"='corio oval';
2-10790099-3
How many goals were scored on November 22, 1994?
CREATE TABLE "international_goals" ( "goal" real, "date" text, "score" text, "result" text, "competition" text );
SELECT SUM("goal") FROM "international_goals" WHERE "date"='november 22, 1994';
2-1115680-1
What was the result of the game with 9 goals?
CREATE TABLE "international_goals" ( "goal" real, "date" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_goals" WHERE "goal"=9;
2-1115680-1
What is the highest number supporting prohibition in British Columbia when the percent opposing is more than 10.8, the percent supporting is less than 72.2, number against is less than 4,756?
CREATE TABLE "results_of_the_national_referendum_on_pr" ( "jurisdiction" text, "for_prohibition" real, "percent_for" real, "against_prohibition" real, "percent_against" real );
SELECT MAX("for_prohibition") FROM "results_of_the_national_referendum_on_pr" WHERE "percent_against">10.8 AND "percent_for"<72.2 AND "jurisdiction"='british columbia' AND "against_prohibition"<'4,756';
2-120778-1
What is the lowest percentage opposing prohibition when the number opposing is 9,575 and the percent supporting is less than 72.2?
CREATE TABLE "results_of_the_national_referendum_on_pr" ( "jurisdiction" text, "for_prohibition" real, "percent_for" real, "against_prohibition" real, "percent_against" real );
SELECT MIN("percent_against") FROM "results_of_the_national_referendum_on_pr" WHERE "against_prohibition"='9,575' AND "percent_for"<72.2;
2-120778-1
What is the highest percent supporting prohibition when the number opposing is less than 2,978 and the percent opposing is less than 31.2 while the number supporting is less than 9,461?
CREATE TABLE "results_of_the_national_referendum_on_pr" ( "jurisdiction" text, "for_prohibition" real, "percent_for" real, "against_prohibition" real, "percent_against" real );
SELECT MAX("percent_for") FROM "results_of_the_national_referendum_on_pr" WHERE "against_prohibition"<'2,978' AND "percent_against"<31.2 AND "for_prohibition"<'9,461';
2-120778-1
what is the apparent magnitude of the constellation sculptor
CREATE TABLE "7701_7800" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text, "apparent_magnitude" real );
SELECT COUNT("apparent_magnitude") FROM "7701_7800" WHERE "constellation"='sculptor';
2-11051840-8
What is the Right ascension of the Object type spiral galaxy that has an Apparent magnitude larger that 12.2
CREATE TABLE "7701_7800" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text, "apparent_magnitude" real );
SELECT "right_ascension_j2000" FROM "7701_7800" WHERE "object_type"='spiral galaxy' AND "apparent_magnitude">12.2;
2-11051840-8
Which Constellation has an Apparent magnitude larger that 7.7, and an NGC number of 7777
CREATE TABLE "7701_7800" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text, "apparent_magnitude" real );
SELECT "constellation" FROM "7701_7800" WHERE "apparent_magnitude">7.7 AND "ngc_number"=7777;
2-11051840-8
What is the name of the Chassis of Diver Maria Teresa de Filippis in round 1?
CREATE TABLE "teams_and_drivers" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "driver" text, "rounds" text );
SELECT "chassis" FROM "teams_and_drivers" WHERE "rounds"='1' AND "driver"='maria teresa de filippis';
2-1140108-2
How many yards have a Player of james macpherson, and a Long smaller than 1?
CREATE TABLE "running_backs" ( "player" text, "car" real, "yards" real, "avg" real, "td_s" real, "long" real );
SELECT COUNT("yards") FROM "running_backs" WHERE "player"='james macpherson' AND "long"<1;
2-11710574-4
How many averages have a TD's of 6, and more than 25 yards?
CREATE TABLE "running_backs" ( "player" text, "car" real, "yards" real, "avg" real, "td_s" real, "long" real );
SELECT COUNT("avg") FROM "running_backs" WHERE "td_s"=6 AND "yards">25;
2-11710574-4
What is the lowest car with more than 122 yards?
CREATE TABLE "running_backs" ( "player" text, "car" real, "yards" real, "avg" real, "td_s" real, "long" real );
SELECT MIN("car") FROM "running_backs" WHERE "yards">122;
2-11710574-4
What away team has a home team score of 10.13 (73)?
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 "away_team" FROM "round_9" WHERE "home_team_score"='10.13 (73)';
2-10809351-9
Which home team has home team score of 12.12 (84)?
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 "home_team" FROM "round_9" WHERE "home_team_score"='12.12 (84)';
2-10809351-9
What round was Ryan Thang drafted in?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT MIN("round") FROM "draft_picks" WHERE "player"='ryan thang';
2-11756731-14
How many laps did Jeff Burton have when he drove car with a # over 9 and more than 118 points?
CREATE TABLE "race_results" ( "driver" text, "car_num" real, "make" text, "points" real, "laps" real, "winnings" text );
SELECT COUNT("laps") FROM "race_results" WHERE "car_num">9 AND "driver"='jeff burton' AND "points">118;
2-11384298-1
What was Scott Riggs points when he had more than 400 laps?
CREATE TABLE "race_results" ( "driver" text, "car_num" real, "make" text, "points" real, "laps" real, "winnings" text );
SELECT SUM("points") FROM "race_results" WHERE "driver"='scott riggs' AND "laps">400;
2-11384298-1
Who drove the dodge with a car # less than 5?
CREATE TABLE "race_results" ( "driver" text, "car_num" real, "make" text, "points" real, "laps" real, "winnings" text );
SELECT "driver" FROM "race_results" WHERE "car_num"<5 AND "make"='dodge';
2-11384298-1
What team had a high rebound of perkins (9) and a game smaller than 78?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "team" FROM "game_log" WHERE "game"<78 AND "high_rebounds"='perkins (9)';
2-11959669-8
What date were the high assists rondo (5) and the high rebounds rondo (10)?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "date" FROM "game_log" WHERE "high_assists"='rondo (5)' AND "high_rebounds"='rondo (10)';
2-11959669-8
On the date April 11, what were the high points?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "high_points" FROM "game_log" WHERE "date"='april 11';
2-11959669-8
On the date April 11, what is the total game number?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT COUNT("game") FROM "game_log" WHERE "date"='april 11';
2-11959669-8
What actor made a film in 1957?
CREATE TABLE "best_supporting_actress" ( "year" text, "name" text, "film" text, "role" text, "status" text );
SELECT "name" FROM "best_supporting_actress" WHERE "year"='1957';
2-11296015-5
What year did Miyoshi Umeki make a film?
CREATE TABLE "best_supporting_actress" ( "year" text, "name" text, "film" text, "role" text, "status" text );
SELECT "year" FROM "best_supporting_actress" WHERE "name"='miyoshi umeki';
2-11296015-5
What status has a role?
CREATE TABLE "best_supporting_actress" ( "year" text, "name" text, "film" text, "role" text, "status" text );
SELECT "status" FROM "best_supporting_actress" WHERE "role"='role';
2-11296015-5
what is the earliest round for nominee david mundy?
CREATE TABLE "winners_by_round" ( "round" real, "nominees" text, "team" text, "match" text, "ground" text );
SELECT MIN("round") FROM "winners_by_round" WHERE "nominees"='david mundy';
2-11222642-1
what round saw the ground of telstra dome and shaun burgoyne as nominees?
CREATE TABLE "winners_by_round" ( "round" real, "nominees" text, "team" text, "match" text, "ground" text );
SELECT MAX("round") FROM "winners_by_round" WHERE "ground"='telstra dome' AND "nominees"='shaun burgoyne';
2-11222642-1
When the total winners was smaller than 2 and 2 woman won, what's the average of the men's half marathon winners?
CREATE TABLE "winners_by_country" ( "country" text, "total" real, "marathon_men_s" real, "marathon_women_s" real, "half_marathon_men_s" real, "half_marathon_women_s" real );
SELECT AVG("half_marathon_men_s") FROM "winners_by_country" WHERE "marathon_women_s"=2 AND "total"<2;
2-11391954-3
What has the lowest number of wins with GA smaller than 39, more than 2 losses, and ties greater than 0?
CREATE TABLE "final_standing" ( "team" text, "games_played" real, "wins" real, "losses" real, "ties" real, "goals_for" real, "goals_against" real );
SELECT MIN("wins") FROM "final_standing" WHERE "goals_against"<39 AND "losses">2 AND "ties">0;
2-11756240-1
Which team has the most ties with fewer than 4 losses and GA smaller than 20?
CREATE TABLE "final_standing" ( "team" text, "games_played" real, "wins" real, "losses" real, "ties" real, "goals_for" real, "goals_against" real );
SELECT MAX("ties") FROM "final_standing" WHERE "losses"<4 AND "goals_against"<20;
2-11756240-1
How many games did the team lose that played 7 games and has a GA of less than 27?
CREATE TABLE "final_standing" ( "team" text, "games_played" real, "wins" real, "losses" real, "ties" real, "goals_for" real, "goals_against" real );
SELECT COUNT("losses") FROM "final_standing" WHERE "games_played"=7 AND "goals_against"<27;
2-11756240-1
what date saw the chicago bears lose in green bay earlier than 1931?
CREATE TABLE "1930s_bears_12_11_1" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "attendance" real, "location" text );
SELECT "date" FROM "1930s_bears_12_11_1" WHERE "loser"='chicago bears' AND "location"='green bay' AND "year"<1931;
2-11650849-5
What is the Away team score for Away team Melbourne?
CREATE TABLE "round_19" ( "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_19" WHERE "away_team"='melbourne';
2-10887379-19
Which Home team with the Hawthorn Away team has a Crowd larger than 21,876?
CREATE TABLE "round_19" ( "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_19" WHERE "crowd">'21,876' AND "away_team"='hawthorn';
2-10887379-19
what is the years for the displacement 4.0l (242cid)?
CREATE TABLE "engines" ( "years" text, "displacement" text, "engine" text, "power" text, "torque" text );
SELECT "years" FROM "engines" WHERE "displacement"='4.0l (242cid)';
2-1105695-6
Which engine has a torgue of lb·ft (n·m)?
CREATE TABLE "engines" ( "years" text, "displacement" text, "engine" text, "power" text, "torque" text );
SELECT "engine" FROM "engines" WHERE "torque"='lb·ft (n·m)';
2-1105695-6
How many years for the team with under 31 ties and a percentage of 0.5451?
CREATE TABLE "ncaa_division_i_fbs_football_win_loss_re" ( "mountain_west" text, "lost" real, "tied" real, "pct" real, "years" real, "total_games" real );
SELECT "years" FROM "ncaa_division_i_fbs_football_win_loss_re" WHERE "tied"<31 AND "pct"=0.5451;
2-11513625-10
How many games tied for the air force with over 57 years participating?
CREATE TABLE "ncaa_division_i_fbs_football_win_loss_re" ( "mountain_west" text, "lost" real, "tied" real, "pct" real, "years" real, "total_games" real );
SELECT COUNT("tied") FROM "ncaa_division_i_fbs_football_win_loss_re" WHERE "mountain_west"='air force' AND "years">57;
2-11513625-10
What is the description where the date is 1911?
CREATE TABLE "coaches" ( "number_name" text, "description" text, "livery" text, "owner_s" text, "date" real );
SELECT "description" FROM "coaches" WHERE "date"=1911;
2-11913905-9
What is the number and name where the date is earlier than 1905?
CREATE TABLE "coaches" ( "number_name" text, "description" text, "livery" text, "owner_s" text, "date" real );
SELECT "number_name" FROM "coaches" WHERE "date"<1905;
2-11913905-9
What year was the name mount roskill grammar school?
CREATE TABLE "secondary_schools" ( "name" text, "years" text, "gender" text, "local_board" text, "suburb" text, "authority" text, "decile" text, "roll" real );
SELECT "years" FROM "secondary_schools" WHERE "name"='mount roskill grammar school';
2-12017602-22
When melbourne played as the home team, who did they play?
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" FROM "round_7" WHERE "home_team"='melbourne';
2-10790397-7
When the home team was geelong, who played as the away team?
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" FROM "round_7" WHERE "home_team"='geelong';
2-10790397-7
If north melbourne played as the home team, who was the away team they played?
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" FROM "round_7" WHERE "home_team"='north melbourne';
2-10790397-7
Who was the away team when the home team scored 10.5 (65)?
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" FROM "round_7" WHERE "home_team_score"='10.5 (65)';
2-10790397-7
When st kilda was playing at home what was the away teams 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 "away_team_score" FROM "round_7" WHERE "home_team"='st kilda';
2-10790397-7
What is the production code of the episode before season 8, with a series number less than 31, and aired on September 21, 1995?
CREATE TABLE "season_2_1995_1996" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "original_air_date" text, "production_code" text );
SELECT "production_code" FROM "season_2_1995_1996" WHERE "season_num"<8 AND "series_num"<31 AND "original_air_date"='september 21, 1995';
2-11951237-2
Where was the game played where the home team scored 14.12 (96)?
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 "venue" FROM "round_1" WHERE "home_team_score"='14.12 (96)';
2-10808346-1
Who was the away team when the home team scored 18.9 (117)?
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 "away_team" FROM "round_1" WHERE "home_team_score"='18.9 (117)';
2-10808346-1
Which home team scored 18.9 (117)?
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" FROM "round_1" WHERE "home_team_score"='18.9 (117)';
2-10808346-1
What is the smallest amount of spectators when the away team was Hawthorn?
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 MIN("crowd") FROM "round_1" WHERE "away_team"='hawthorn';
2-10808346-1
How many people attended when the away team was Richmond?
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 SUM("crowd") FROM "round_1" WHERE "away_team"='richmond';
2-10808346-1
What was the score when the record was 18–14–4 with a toivonen decision?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "score" FROM "december" WHERE "decision"='toivonen' AND "record"='18–14–4';
2-11801649-5
What's the sum of the attendance for the calgary home team?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT SUM("attendance") FROM "december" WHERE "home"='calgary';
2-11801649-5
What was the record when chicago was the visiting team?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "record" FROM "december" WHERE "visitor"='chicago';
2-11801649-5
What was the record of the series at the game attended by 17,181 and a loss of Giguere (0–1)?
CREATE TABLE "postseason" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "series" text, "arena" text );
SELECT "series" FROM "postseason" WHERE "attendance">'17,181' AND "loss"='giguere (0–1)';
2-11801795-10
What was the date of the game when the record of the series was 0–1?
CREATE TABLE "postseason" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "series" text, "arena" text );
SELECT "date" FROM "postseason" WHERE "series"='0–1';
2-11801795-10
what team was the away team when the home team scored 10.16 (76)?
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_score"='10.16 (76)';
2-10790510-10
What is the sum of Crowd when the away team scored 8.12 (60)?
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 SUM("crowd") FROM "round_10" WHERE "away_team_score"='8.12 (60)';
2-10790510-10
What is the number of people in the crowd when the home team scored 15.20 (110)?
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 COUNT("crowd") FROM "round_10" WHERE "home_team_score"='15.20 (110)';
2-10790510-10
What is the score for the away team when South Melbourne was the home 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 "away_team_score" FROM "round_10" WHERE "home_team"='south melbourne';
2-10790510-10
What was the score of the 2001 game held at Network Associates Coliseum?
CREATE TABLE "2000s_chiefs_12_8" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text );
SELECT "result" FROM "2000s_chiefs_12_8" WHERE "year"=2001 AND "location"='network associates coliseum';
2-11840325-7
What region has giuseppe sivori as a home venue?
CREATE TABLE "serie_d" ( "name" text, "short_name" text, "city" text, "region" text, "girone" text, "home_venue" text );
SELECT "region" FROM "serie_d" WHERE "home_venue"='giuseppe sivori';
2-1083851-7
What city has the nickname of pontisola?
CREATE TABLE "serie_d" ( "name" text, "short_name" text, "city" text, "region" text, "girone" text, "home_venue" text );
SELECT "city" FROM "serie_d" WHERE "short_name"='pontisola';
2-1083851-7
What squad plays at comunale in darfo boario terme?
CREATE TABLE "serie_d" ( "name" text, "short_name" text, "city" text, "region" text, "girone" text, "home_venue" text );
SELECT "name" FROM "serie_d" WHERE "home_venue"='comunale' AND "city"='darfo boario terme';
2-1083851-7
What pick was Scott Glennie from the Western hockey league
CREATE TABLE "round_one" ( "pick_num" real, "player" text, "nationality" text, "position" text, "league_from" text );
SELECT "pick_num" FROM "round_one" WHERE "league_from"='western hockey league' AND "player"='scott glennie';
2-10897046-3
What player from the United States played in the western collegiate hockey association?
CREATE TABLE "round_one" ( "pick_num" real, "player" text, "nationality" text, "position" text, "league_from" text );
SELECT "player" FROM "round_one" WHERE "nationality"='united states' AND "league_from"='western collegiate hockey association';
2-10897046-3
Where the time/retired is +1 lap, the constructor is BRM, and the grid is above 1, what's the highest laps recorded?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT MAX("laps") FROM "classification" WHERE "time_retired"='+1 lap' AND "constructor"='brm' AND "grid">1;
2-1122334-1
When the laps driven were under 9 and the time/retired recorded was engine, what's the total number of grid values?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("grid") FROM "classification" WHERE "laps"<9 AND "time_retired"='engine';
2-1122334-1
Which driver has a grid of 3?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "driver" FROM "classification" WHERE "grid"=3;
2-1122334-1
When the laps are 31 and the constructor was honda, what's the sum of all grid values?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT SUM("grid") FROM "classification" WHERE "constructor"='honda' AND "laps"=31;
2-1122334-1
What is the chassis for all rounds on the entrant Benson and Hedges Jordan driven by Damon Hill?
CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text );
SELECT "chassis" FROM "drivers_and_constructors" WHERE "rounds"='all' AND "entrant"='benson and hedges jordan' AND "driver"='damon hill';
2-1137692-1
What is the constructor of driver Alexander Wurz?
CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text );
SELECT "constructor" FROM "drivers_and_constructors" WHERE "driver"='alexander wurz';
2-1137692-1
Who was the driver that had all rounds and a f399 chassis?
CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text );
SELECT "driver" FROM "drivers_and_constructors" WHERE "rounds"='all' AND "chassis"='f399';
2-1137692-1
What were the rounds on the Engine † of the Ferrari 048?
CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text );
SELECT "rounds" FROM "drivers_and_constructors" WHERE "engine"='ferrari 048';
2-1137692-1
Which Semifinal has an Event of team?
CREATE TABLE "badminton" ( "event" text, "2nd_round" text, "quarterfinal" text, "semifinal" text, "final" text, "rank" real );
SELECT "semifinal" FROM "badminton" WHERE "event"='team';
2-10812553-5
Which Quarterfinal has a Rank larger than 9?
CREATE TABLE "badminton" ( "event" text, "2nd_round" text, "quarterfinal" text, "semifinal" text, "final" text, "rank" real );
SELECT "quarterfinal" FROM "badminton" WHERE "rank">9;
2-10812553-5
What is the pick number of the DB?
CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT COUNT("pick_num") FROM "round_two" WHERE "position"='db';
2-10812403-2
What college did the T who was pick after 13 go to?
CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "college" FROM "round_two" WHERE "pick_num">13 AND "position"='t';
2-10812403-2
Which CFL team drafted a pick from Boston College?
CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "cfl_team" FROM "round_two" WHERE "college"='boston college';
2-10812403-2
What position did the Saskatchewan player get drafted as?
CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "position" FROM "round_two" WHERE "college"='saskatchewan';
2-10812403-2