question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which champion was from the location of Morrisville, NC, and whose SemiFinalist #2 of Clemson?
CREATE TABLE "division_ii" ( "year" real, "champion" text, "score" text, "runner_up" text, "location" text, "semi_finalist_num1" text, "semi_finalist_num2" text );
SELECT "champion" FROM "division_ii" WHERE "location"='morrisville, nc' AND "semi_finalist_num2"='clemson';
2-11214772-2
Which champion got a score of 12-1?
CREATE TABLE "division_ii" ( "year" real, "champion" text, "score" text, "runner_up" text, "location" text, "semi_finalist_num1" text, "semi_finalist_num2" text );
SELECT "champion" FROM "division_ii" WHERE "score"='12-1';
2-11214772-2
Who was champion in 2005 where the semi-finalist was #1 in western Carolina?
CREATE TABLE "division_ii" ( "year" real, "champion" text, "score" text, "runner_up" text, "location" text, "semi_finalist_num1" text, "semi_finalist_num2" text );
SELECT "champion" FROM "division_ii" WHERE "year"=2005 AND "semi_finalist_num1"='western carolina';
2-11214772-2
Which runner-up placed in a year prior to 2006 and whose Champion was Elon?
CREATE TABLE "division_ii" ( "year" real, "champion" text, "score" text, "runner_up" text, "location" text, "semi_finalist_num1" text, "semi_finalist_num2" text );
SELECT "runner_up" FROM "division_ii" WHERE "year"<2006 AND "champion"='elon';
2-11214772-2
What is the wheel arrangement of cf-16-4, and 16 produced?
CREATE TABLE "fairbanks_morse" ( "prr_class" text, "builder_s_model" text, "build_date" text, "total_produced" real, "wheel_arrangement" text, "service" text, "power_output" text );
SELECT "wheel_arrangement" FROM "fairbanks_morse" WHERE "builder_s_model"='cf-16-4' AND "total_produced"=16;
2-1140522-5
What is the power of b-b wheel arrangement, built in 1952?
CREATE TABLE "fairbanks_morse" ( "prr_class" text, "builder_s_model" text, "build_date" text, "total_produced" real, "wheel_arrangement" text, "service" text, "power_output" text );
SELECT "power_output" FROM "fairbanks_morse" WHERE "wheel_arrangement"='b-b' AND "build_date"='1952';
2-1140522-5
When was the build date for c-c wheel arrangement and freight service?
CREATE TABLE "fairbanks_morse" ( "prr_class" text, "builder_s_model" text, "build_date" text, "total_produced" real, "wheel_arrangement" text, "service" text, "power_output" text );
SELECT "build_date" FROM "fairbanks_morse" WHERE "service"='freight' AND "wheel_arrangement"='c-c';
2-1140522-5
When was the build date for ff20 PRR class and erie built builder's model?
CREATE TABLE "fairbanks_morse" ( "prr_class" text, "builder_s_model" text, "build_date" text, "total_produced" real, "wheel_arrangement" text, "service" text, "power_output" text );
SELECT "build_date" FROM "fairbanks_morse" WHERE "prr_class"='ff20' AND "builder_s_model"='erie built';
2-1140522-5
what is the debut when the play er is radoslava topalova and the years played is less than 2?
CREATE TABLE "team_representatives" ( "player" text, "w_l_total" text, "w_l_singles" text, "w_l_doubles" text, "ties" real, "debut" real, "years_played" real );
SELECT AVG("debut") FROM "team_representatives" WHERE "player"='radoslava topalova' AND "years_played"<2;
2-11280458-6
What was the average attendance of the 2011 season that had games smaller than 519 with several teams bigger than 14 that were also part of the sport of association football?
CREATE TABLE "outdoor_sports" ( "league" text, "sport" text, "season" text, "num_of_teams" real, "games" real, "total_attendance" text, "average_attendance" real );
SELECT "average_attendance" FROM "outdoor_sports" WHERE "season"='2011' AND "games"<519 AND "num_of_teams">14 AND "sport"='association football';
2-10815352-2
What was the total number of average attendance for games of 1311?
CREATE TABLE "outdoor_sports" ( "league" text, "sport" text, "season" text, "num_of_teams" real, "games" real, "total_attendance" text, "average_attendance" real );
SELECT SUM("average_attendance") FROM "outdoor_sports" WHERE "games"=1311;
2-10815352-2
When was the season that had more teams larger than 14 in the super rugby league?
CREATE TABLE "outdoor_sports" ( "league" text, "sport" text, "season" text, "num_of_teams" real, "games" real, "total_attendance" text, "average_attendance" real );
SELECT "season" FROM "outdoor_sports" WHERE "num_of_teams">14 AND "league"='super rugby';
2-10815352-2
What is the label for the album with a catalog number of 83061-2?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog_num" text );
SELECT "label" FROM "release_history" WHERE "catalog_num"='83061-2';
2-11533573-4
What is the catalog number of the album whose region is the United Kingdom?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog_num" text );
SELECT "catalog_num" FROM "release_history" WHERE "region"='united kingdom';
2-11533573-4
What is the region for the album with a catalog number of 7567-83061-2?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog_num" text );
SELECT "region" FROM "release_history" WHERE "catalog_num"='7567-83061-2';
2-11533573-4
What is the label for the album with a catalog number of 83061-4?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog_num" text );
SELECT "label" FROM "release_history" WHERE "catalog_num"='83061-4';
2-11533573-4
What is the catalog number of the album whose label is Atlantic Records and region is the United States?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog_num" text );
SELECT "catalog_num" FROM "release_history" WHERE "label"='atlantic records' AND "region"='united states';
2-11533573-4
What school/club team did the center Rafael Araújo play for?
CREATE TABLE "a" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );
SELECT "school_club_team" FROM "a" WHERE "position"='center' AND "player"='rafael araújo';
2-11545282-1
What is the nationality of the guard who played for Florida International?
CREATE TABLE "a" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );
SELECT "nationality" FROM "a" WHERE "position"='guard' AND "school_club_team"='florida international';
2-11545282-1
What player had the position guard/forward?
CREATE TABLE "a" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );
SELECT "player" FROM "a" WHERE "position"='guard/forward';
2-11545282-1
Who is the driver for laps of 45
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "driver" FROM "race" WHERE "laps"=45;
2-1123389-2
Who was the visiting team on December 17?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "visitor" FROM "december" WHERE "date"='december 17';
2-11961701-4
How many people were at Washington's home game against Miami?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT COUNT("attendance") FROM "december" WHERE "visitor"='miami' AND "home"='washington';
2-11961701-4
Who was the home team that played against the visiting team Minnesota?
CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "home" FROM "december" WHERE "visitor"='minnesota';
2-11961701-4
What was total attendance on the day they went 17-7?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT COUNT("attendance") FROM "game_log" WHERE "record"='17-7';
2-11867642-2
What was the score on April 22?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "score" FROM "game_log" WHERE "date"='april 22';
2-11867642-2
What event had zhamash l 1–2 in the quarterfinal?
CREATE TABLE "wushu" ( "athlete" text, "event" text, "round_of_16" text, "quarterfinal" text, "semifinal" text, "final" text );
SELECT "event" FROM "wushu" WHERE "quarterfinal"='zhamash l 1–2';
2-10831471-38
Hossein Ojaghi participated in what semifinal.
CREATE TABLE "wushu" ( "athlete" text, "event" text, "round_of_16" text, "quarterfinal" text, "semifinal" text, "final" text );
SELECT "semifinal" FROM "wushu" WHERE "athlete"='hossein ojaghi';
2-10831471-38
Alireza Rouzbahani did not advance to the quarterfinal in what event?
CREATE TABLE "wushu" ( "athlete" text, "event" text, "round_of_16" text, "quarterfinal" text, "semifinal" text, "final" text );
SELECT "event" FROM "wushu" WHERE "quarterfinal"='did not advance' AND "athlete"='alireza rouzbahani';
2-10831471-38
How many games have more than 288 goals and less than 34 losses?
CREATE TABLE "regular_season" ( "season" text, "games" real, "lost" real, "tied" real, "points" real, "goals_for" real, "goals_against" real, "standing" text );
SELECT COUNT("games") FROM "regular_season" WHERE "goals_against">288 AND "lost"<34;
2-1166259-1
What is the lowest tie with less than 100 points and 277 goals?
CREATE TABLE "regular_season" ( "season" text, "games" real, "lost" real, "tied" real, "points" real, "goals_for" real, "goals_against" real, "standing" text );
SELECT MIN("tied") FROM "regular_season" WHERE "points"<100 AND "goals_for"=277;
2-1166259-1
What is the team with position G?
CREATE TABLE "draft" ( "round" real, "pick" real, "player" text, "position" text, "nationality" text, "team" text, "college" text );
SELECT "team" FROM "draft" WHERE "position"='g';
2-12085872-3
What is the player from Illinois?
CREATE TABLE "draft" ( "round" real, "pick" real, "player" text, "position" text, "nationality" text, "team" text, "college" text );
SELECT "player" FROM "draft" WHERE "college"='illinois';
2-12085872-3
What is the phone number of the station located at 53 Dayton Road?
CREATE TABLE "fire_station_locations_and_apparatus" ( "station" text, "engine_company" text, "ambulance" text, "address" text, "phone" text );
SELECT "phone" FROM "fire_station_locations_and_apparatus" WHERE "address"='53 dayton road';
2-108839-1
What is the name of the engine company that is located at 89 Rope Ferry Road?
CREATE TABLE "fire_station_locations_and_apparatus" ( "station" text, "engine_company" text, "ambulance" text, "address" text, "phone" text );
SELECT "engine_company" FROM "fire_station_locations_and_apparatus" WHERE "address"='89 rope ferry road';
2-108839-1
What was the Record of the game in which the Trail Blazers was the visiting team?
CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "record" FROM "november" WHERE "visitor"='trail blazers';
2-11963735-3
What was the date of the friendly match, ending in a result of 1-1?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "date" FROM "international_goals" WHERE "competition"='friendly match' AND "result"='1-1';
2-12039760-1
What was the result of the game held at the As-Salt venue?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_goals" WHERE "venue"='as-salt';
2-12039760-1
What was the team's record on May 17?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "date"='may 17';
2-11485080-3
Which zone had mădălina gojnea monica niculescu as the opponent?
CREATE TABLE "fed_cup_doubles_performances_10" ( "edition" real, "zone" text, "round" text, "date" text, "against" text, "surface" text, "partner" text, "opponents" text, "result" text );
SELECT "zone" FROM "fed_cup_doubles_performances_10" WHERE "opponents"='mădălina gojnea monica niculescu';
2-11326124-4
Who was against the opponents, mădălina gojnea monica niculescu?
CREATE TABLE "fed_cup_doubles_performances_10" ( "edition" real, "zone" text, "round" text, "date" text, "against" text, "surface" text, "partner" text, "opponents" text, "result" text );
SELECT "against" FROM "fed_cup_doubles_performances_10" WHERE "opponents"='mădălina gojnea monica niculescu';
2-11326124-4
What was the surface on the game with margit rüütel anett schutting as the opponent?
CREATE TABLE "fed_cup_doubles_performances_10" ( "edition" real, "zone" text, "round" text, "date" text, "against" text, "surface" text, "partner" text, "opponents" text, "result" text );
SELECT "surface" FROM "fed_cup_doubles_performances_10" WHERE "opponents"='margit rüütel anett schutting';
2-11326124-4
What is the zone of the game played against Estonia?
CREATE TABLE "fed_cup_doubles_performances_10" ( "edition" real, "zone" text, "round" text, "date" text, "against" text, "surface" text, "partner" text, "opponents" text, "result" text );
SELECT "zone" FROM "fed_cup_doubles_performances_10" WHERE "against"='estonia';
2-11326124-4
Who had the high rebounds on February 24?
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_rebounds" FROM "game_log" WHERE "date"='february 24';
2-11960407-5
On February 10, what was the location attendance?
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 "location_attendance" FROM "game_log" WHERE "date"='february 10';
2-11960407-5
Tell me the player with econ of 4.23
CREATE TABLE "most_wickets_in_the_tournament" ( "player" text, "overs" text, "runs" text, "wkts" text, "mdns" text, "econ" text );
SELECT "player" FROM "most_wickets_in_the_tournament" WHERE "econ"='4.23';
2-11611293-4
Tell me the runs for b lee
CREATE TABLE "most_wickets_in_the_tournament" ( "player" text, "overs" text, "runs" text, "wkts" text, "mdns" text, "econ" text );
SELECT "runs" FROM "most_wickets_in_the_tournament" WHERE "player"='b lee';
2-11611293-4
Tell me the player with overs of 87.4
CREATE TABLE "most_wickets_in_the_tournament" ( "player" text, "overs" text, "runs" text, "wkts" text, "mdns" text, "econ" text );
SELECT "player" FROM "most_wickets_in_the_tournament" WHERE "overs"='87.4';
2-11611293-4
Tell me the runs for econ of 3.63
CREATE TABLE "most_wickets_in_the_tournament" ( "player" text, "overs" text, "runs" text, "wkts" text, "mdns" text, "econ" text );
SELECT "runs" FROM "most_wickets_in_the_tournament" WHERE "econ"='3.63';
2-11611293-4
Tell me the wkts for econ of 4.23
CREATE TABLE "most_wickets_in_the_tournament" ( "player" text, "overs" text, "runs" text, "wkts" text, "mdns" text, "econ" text );
SELECT "wkts" FROM "most_wickets_in_the_tournament" WHERE "econ"='4.23';
2-11611293-4
Tell me the overs for mdns of 4
CREATE TABLE "most_wickets_in_the_tournament" ( "player" text, "overs" text, "runs" text, "wkts" text, "mdns" text, "econ" text );
SELECT "overs" FROM "most_wickets_in_the_tournament" WHERE "mdns"='4';
2-11611293-4
If collingwood is playing away, who played as the home team?
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 "away_team"='collingwood';
2-10887680-1
What was the away teams score when they played at kardinia park?
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_score" FROM "round_1" WHERE "venue"='kardinia park';
2-10887680-1
What's the highest turnout when carlton was playing as the away team?
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 "away_team"='carlton';
2-10887680-1
Which home team scored 15.11 (101)?
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"='15.11 (101)';
2-10887680-1
What away team played when the crowd was over 27,463 people?
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 "crowd">'27,463';
2-10887680-1
Which away team scored 23.11 (149)?
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 "away_team_score"='23.11 (149)';
2-10887680-1
On waht date did Antoinette Jeanne Yvonne Boegner get married?
CREATE TABLE "house_of_rohan_chabot" ( "name" text, "birth" text, "marriage" text, "became_duke" text, "ceased_to_be_duke" text, "death" text, "spouse" text );
SELECT "marriage" FROM "house_of_rohan_chabot" WHERE "spouse"='antoinette jeanne yvonne boegner';
2-10957315-3
What is the Crowd number for the team that has a Home team score of 18.16 (124)?
CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "crowd" FROM "round_6" WHERE "home_team_score"='18.16 (124)';
2-10809157-6
What is the largest Crowd number for the Home team of North Melbourne?
CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT MAX("crowd") FROM "round_6" WHERE "home_team"='north melbourne';
2-10809157-6
What is the total Crowd number for the team that has a Home team score of 13.9 (87)?
CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT SUM("crowd") FROM "round_6" WHERE "home_team_score"='13.9 (87)';
2-10809157-6
What home team did South Melbourne play as 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 "home_team" FROM "round_10" WHERE "away_team"='south melbourne';
2-10784349-10
What did the home team score against the away team 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 "home_team_score" FROM "round_10" WHERE "away_team"='hawthorn';
2-10784349-10
In the Western Oval venue, what is the average crowd?
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 AVG("crowd") FROM "round_10" WHERE "venue"='western oval';
2-10784349-10
When Richmond is the away team, what is the crowd size?
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 "crowd" FROM "round_10" WHERE "away_team"='richmond';
2-10784349-10
Who is the person from round 8?
CREATE TABLE "1986_nfl_draft" ( "round" real, "pick" real, "name" text, "position" text, "school" text );
SELECT "name" FROM "1986_nfl_draft" WHERE "round"=8;
2-11309481-1
What is the round for Arizona with a pick over 100?
CREATE TABLE "1986_nfl_draft" ( "round" real, "pick" real, "name" text, "position" text, "school" text );
SELECT AVG("round") FROM "1986_nfl_draft" WHERE "school"='arizona' AND "pick">100;
2-11309481-1
What pick had a wide receiver named johnny holloway?
CREATE TABLE "1986_nfl_draft" ( "round" real, "pick" real, "name" text, "position" text, "school" text );
SELECT "pick" FROM "1986_nfl_draft" WHERE "position"='wide receiver' AND "name"='johnny holloway';
2-11309481-1
Which score has a Home Team of saskatoon accelerators?
CREATE TABLE "regular_season_schedule" ( "date" text, "home_team" text, "score" text, "visiting_team" text, "stadium" text );
SELECT "score" FROM "regular_season_schedule" WHERE "home_team"='saskatoon accelerators';
2-12042534-1
Which Visiting Team has a Stadium of servus centre on march 7?
CREATE TABLE "regular_season_schedule" ( "date" text, "home_team" text, "score" text, "visiting_team" text, "stadium" text );
SELECT "visiting_team" FROM "regular_season_schedule" WHERE "stadium"='servus centre' AND "date"='march 7';
2-12042534-1
Which Visiting Team has a Stadium of servus centre?
CREATE TABLE "regular_season_schedule" ( "date" text, "home_team" text, "score" text, "visiting_team" text, "stadium" text );
SELECT "visiting_team" FROM "regular_season_schedule" WHERE "stadium"='servus centre';
2-12042534-1
How many heavy attacks did the 450 Luftflotte 2 conduct?
CREATE TABLE "the_blitz_estimated_luftwaffe_sorties" ( "month_year" text, "day_sorties_losses" text, "night_sorties_losses" text, "luftflotte_2_sorties" real, "luftflotte_3_sorties" real, "major_attacks" text, "heavy_attacks" real );
SELECT COUNT("heavy_attacks") FROM "the_blitz_estimated_luftwaffe_sorties" WHERE "luftflotte_2_sorties"=450;
2-112274-1
What is the time/retired for grid 19?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "classification" WHERE "grid"=19;
2-1122355-1
What is the grid total for bruce mclaren with over 73 laps?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT SUM("grid") FROM "classification" WHERE "laps">73 AND "driver"='bruce mclaren';
2-1122355-1
What film was released in 1971?
CREATE TABLE "filmography" ( "year" real, "film" text, "director" text, "producer" text, "cinematographer" text );
SELECT "film" FROM "filmography" WHERE "year"=1971;
2-1187065-1
What grade was the 2.4km Run (min:sec) of 13:01-13:40?
CREATE TABLE "ippt_standards" ( "grade" text, "points" real, "sit_up_reps" text, "standing_broad_jump_cm" text, "chin_up_reps" text, "shuttle_run_sec" text, "2_4km_run_min_sec" text );
SELECT "grade" FROM "ippt_standards" WHERE "2_4km_run_min_sec"='13:01-13:40';
2-10890692-3
What shuttle Run (sec) time has a 2.4km Run (min:sec) of 12:21-13:00?
CREATE TABLE "ippt_standards" ( "grade" text, "points" real, "sit_up_reps" text, "standing_broad_jump_cm" text, "chin_up_reps" text, "shuttle_run_sec" text, "2_4km_run_min_sec" text );
SELECT "shuttle_run_sec" FROM "ippt_standards" WHERE "2_4km_run_min_sec"='12:21-13:00';
2-10890692-3
When was steve bartalo picked?
CREATE TABLE "nfl_draft" ( "pick" real, "round" text, "player" text, "position" text, "school" text );
SELECT MAX("pick") FROM "nfl_draft" WHERE "player"='steve bartalo';
2-11452373-1
What player is a cornerback?
CREATE TABLE "nfl_draft" ( "pick" real, "round" text, "player" text, "position" text, "school" text );
SELECT "player" FROM "nfl_draft" WHERE "position"='cornerback';
2-11452373-1
What was the highest crowd turnout when the away team scored 12.13 (85)?
CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT MAX("crowd") FROM "round_6" WHERE "away_team_score"='12.13 (85)';
2-10883333-6
Which venue did the home team score 22.23 (155) at?
CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_6" WHERE "home_team_score"='22.23 (155)';
2-10883333-6
Windy hill is the home to what team?
CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_6" WHERE "venue"='windy hill';
2-10883333-6
What is the name of the competition with a score of 1-5?
CREATE TABLE "results" ( "date" text, "opponents" text, "score" text, "competition" text, "match_report" text );
SELECT "competition" FROM "results" WHERE "score"='1-5';
2-11432855-3
What is the name of the competition with opponents of Sv Werder Bremen and a score of 1-2?
CREATE TABLE "results" ( "date" text, "opponents" text, "score" text, "competition" text, "match_report" text );
SELECT "competition" FROM "results" WHERE "opponents"='sv werder bremen' AND "score"='1-2';
2-11432855-3
What regular season result had an average attendance less than 942?
CREATE TABLE "year_by_year" ( "year" text, "league" text, "reg_season" text, "playoffs" text, "avg_attendance" real );
SELECT "reg_season" FROM "year_by_year" WHERE "avg_attendance"<942;
2-1185387-1
Which league had a playoffs result of a lost semifinal?
CREATE TABLE "year_by_year" ( "year" text, "league" text, "reg_season" text, "playoffs" text, "avg_attendance" real );
SELECT "league" FROM "year_by_year" WHERE "playoffs"='lost semifinal';
2-1185387-1
What regular season result had an average attendance bigger than 3,170?
CREATE TABLE "year_by_year" ( "year" text, "league" text, "reg_season" text, "playoffs" text, "avg_attendance" real );
SELECT "reg_season" FROM "year_by_year" WHERE "avg_attendance">'3,170';
2-1185387-1
what is the length (miles) when the east or north terminus is ne 2 in lincoln?
CREATE TABLE "connecting_links" ( "county" text, "name" text, "length_miles" real, "west_or_south_terminus" text, "east_or_north_terminus" text );
SELECT COUNT("length_miles") FROM "connecting_links" WHERE "east_or_north_terminus"='ne 2 in lincoln';
2-11091913-1
what is the length (miles) when the name is l-56g?
CREATE TABLE "connecting_links" ( "county" text, "name" text, "length_miles" real, "west_or_south_terminus" text, "east_or_north_terminus" text );
SELECT MAX("length_miles") FROM "connecting_links" WHERE "name"='l-56g';
2-11091913-1
what is the name when the west or south terminus is ne 112 west of blue springs?
CREATE TABLE "connecting_links" ( "county" text, "name" text, "length_miles" real, "west_or_south_terminus" text, "east_or_north_terminus" text );
SELECT "name" FROM "connecting_links" WHERE "west_or_south_terminus"='ne 112 west of blue springs';
2-11091913-1
What is the Time/Retired value for Driver Johnny Herbert with Constructor Benetton - Renault
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text );
SELECT "time_retired" FROM "race" WHERE "constructor"='benetton - renault' AND "driver"='johnny herbert';
2-1123253-2
What is the Time/Retired value for constructor Jordan - Peugeot with 66 laps and grid value 5?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text );
SELECT "time_retired" FROM "race" WHERE "laps"='66' AND "constructor"='jordan - peugeot' AND "grid"='5';
2-1123253-2
What is the Time/Retired value of driver Pedro Diniz?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text );
SELECT "time_retired" FROM "race" WHERE "driver"='pedro diniz';
2-1123253-2
Which driver has grid value of 18?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text );
SELECT "driver" FROM "race" WHERE "grid"='18';
2-1123253-2
What is the constructor with grid value 5?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text );
SELECT "constructor" FROM "race" WHERE "grid"='5';
2-1123253-2
What is the grid value which has Time/Retired value of accident?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text );
SELECT "grid" FROM "race" WHERE "time_retired"='accident';
2-1123253-2
Who was the leading scorer that was a visitor of the Trail Blazers?
CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "leading_scorer" FROM "january" WHERE "visitor"='trail blazers';
2-11961849-6
Who is the leading scorer when they were at home of the Clippers?
CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "leading_scorer" FROM "january" WHERE "home"='clippers';
2-11961849-6
Who was the visitor on January 19, 2008?
CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "visitor" FROM "january" WHERE "date"='january 19, 2008';
2-11961849-6
What was the score when there was a visitor of Magic and at home with the Clippers?
CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "score" FROM "january" WHERE "visitor"='magic' AND "home"='clippers';
2-11961849-6