question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What school is located in Huntsville, Texas?
CREATE TABLE "division_ii" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );
SELECT "institution" FROM "division_ii" WHERE "location"='Huntsville, Texas';
1-28243691-2
How many students are enrolled in the team nicknamed Comets?
CREATE TABLE "division_ii" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text );
SELECT "enrollment" FROM "division_ii" WHERE "team_nickname"='Comets';
1-28243691-2
Name the number of tenants for russia at the saransk stadium
CREATE TABLE "currently_proposed" ( "stadium" text, "capacity" real, "city" text, "country" text, "tenant" text, "opening" text );
SELECT COUNT("tenant") FROM "currently_proposed" WHERE "country"='Russia' AND "stadium"='Saransk Stadium';
1-28281704-1
Name the country for lusail national stadium
CREATE TABLE "currently_proposed" ( "stadium" text, "capacity" real, "city" text, "country" text, "tenant" text, "opening" text );
SELECT "country" FROM "currently_proposed" WHERE "stadium"='Lusail National Stadium';
1-28281704-1
Name the city for los angeles stadium
CREATE TABLE "currently_proposed" ( "stadium" text, "capacity" real, "city" text, "country" text, "tenant" text, "opening" text );
SELECT "city" FROM "currently_proposed" WHERE "stadium"='Los Angeles Stadium';
1-28281704-1
Name the stadium for nizhny novgorod
CREATE TABLE "currently_proposed" ( "stadium" text, "capacity" real, "city" text, "country" text, "tenant" text, "opening" text );
SELECT "stadium" FROM "currently_proposed" WHERE "city"='Nizhny Novgorod';
1-28281704-1
Name the country for athens
CREATE TABLE "currently_proposed" ( "stadium" text, "capacity" real, "city" text, "country" text, "tenant" text, "opening" text );
SELECT COUNT("country") FROM "currently_proposed" WHERE "city"='Athens';
1-28281704-1
When did the episode 1.13 air for the first time?
CREATE TABLE "table1_28283535_4" ( "episode" text, "date_aired" text, "timeslot" text, "rating" text, "nightly_rank" real, "weekly_rank" text );
SELECT "date_aired" FROM "table1_28283535_4" WHERE "episode"='1.13';
1-28283535-4
What's the weekly rank of episode 1.03?
CREATE TABLE "table1_28283535_4" ( "episode" text, "date_aired" text, "timeslot" text, "rating" text, "nightly_rank" real, "weekly_rank" text );
SELECT "weekly_rank" FROM "table1_28283535_4" WHERE "episode"='1.03';
1-28283535-4
What is the rating of episode 1.04?
CREATE TABLE "table1_28283535_4" ( "episode" text, "date_aired" text, "timeslot" text, "rating" text, "nightly_rank" real, "weekly_rank" text );
SELECT "rating" FROM "table1_28283535_4" WHERE "episode"='1.04';
1-28283535-4
How many items are listed under caps when burnley is the club team?
CREATE TABLE "canada" ( "player" text, "cap_s" real, "goal_s" real, "international_debut" text, "club_s" text );
SELECT COUNT("cap_s") FROM "canada" WHERE "club_s"='Burnley';
1-28286776-12
What club did the championship player come from who had 10 goals?
CREATE TABLE "canada" ( "player" text, "cap_s" real, "goal_s" real, "international_debut" text, "club_s" text );
SELECT "club_s" FROM "canada" WHERE "goal_s"=10;
1-28286776-12
How many goals did the player from Ipswich town score?
CREATE TABLE "canada" ( "player" text, "cap_s" real, "goal_s" real, "international_debut" text, "club_s" text );
SELECT MIN("goal_s") FROM "canada" WHERE "club_s"='Ipswich Town';
1-28286776-12
When 16 is the cap who is the player?
CREATE TABLE "new_zealand" ( "player" text, "cap_s" real, "goal_s" real, "international_debut" text, "club_s" text );
SELECT "player" FROM "new_zealand" WHERE "cap_s"=16;
1-28286776-50
When 2010 v australia is the interantional debut what is the club?
CREATE TABLE "new_zealand" ( "player" text, "cap_s" real, "goal_s" real, "international_debut" text, "club_s" text );
SELECT "club_s" FROM "new_zealand" WHERE "international_debut"='2010 v Australia';
1-28286776-50
When winston reid category:articles with hcards is the player what is the club?
CREATE TABLE "new_zealand" ( "player" text, "cap_s" real, "goal_s" real, "international_debut" text, "club_s" text );
SELECT "club_s" FROM "new_zealand" WHERE "player"='Winston Reid Category:Articles with hCards';
1-28286776-50
When tommy smith category:articles with hcards is the player and 1 is the goal how many cap(s) are there?
CREATE TABLE "new_zealand" ( "player" text, "cap_s" real, "goal_s" real, "international_debut" text, "club_s" text );
SELECT COUNT("cap_s") FROM "new_zealand" WHERE "goal_s"=1 AND "player"='Tommy Smith Category:Articles with hCards';
1-28286776-50
When rory fallon category:articles with hcards is the player when is the international debut?
CREATE TABLE "new_zealand" ( "player" text, "cap_s" real, "goal_s" real, "international_debut" text, "club_s" text );
SELECT "international_debut" FROM "new_zealand" WHERE "player"='Rory Fallon Category:Articles with hCards';
1-28286776-50
What is th title of the episode written by Nick Thiel?
CREATE TABLE "table1_2828803_1" ( "series_num" real, "title" text, "written_by" text, "directed_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );
SELECT "title" FROM "table1_2828803_1" WHERE "written_by"='Nick Thiel';
1-2828803-1
How many million u.s. viewers watched the episode with a production code of 2t7004?
CREATE TABLE "table1_2828803_1" ( "series_num" real, "title" text, "written_by" text, "directed_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );
SELECT "u_s_viewers_millions" FROM "table1_2828803_1" WHERE "production_code"='2T7004';
1-2828803-1
What is the name of the episode that was directed by Dennis Smith?
CREATE TABLE "table1_2828803_1" ( "series_num" real, "title" text, "written_by" text, "directed_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );
SELECT "title" FROM "table1_2828803_1" WHERE "directed_by"='Dennis Smith';
1-2828803-1
What date did "The runner" originally air on?
CREATE TABLE "table1_2828803_1" ( "series_num" real, "title" text, "written_by" text, "directed_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );
SELECT "original_air_date" FROM "table1_2828803_1" WHERE "title"='\"The Runner\"';
1-2828803-1
What is the name of the episode nick thiel wrote?
CREATE TABLE "table1_2828803_1" ( "series_num" real, "title" text, "written_by" text, "directed_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_millions" text );
SELECT "title" FROM "table1_2828803_1" WHERE "written_by"='Nick Thiel';
1-2828803-1
How many site entries are there at 3:30pm and the visiting team is coastal carolina?
CREATE TABLE "week_one" ( "date" text, "time" text, "visiting_team" text, "home_team" text, "site" text, "broadcast" text, "result" text, "attendance" real );
SELECT COUNT("site") FROM "week_one" WHERE "time"='3:30pm' AND "visiting_team"='Coastal Carolina';
1-28298589-2
What is the result when the visiting team is syracuse?
CREATE TABLE "week_one" ( "date" text, "time" text, "visiting_team" text, "home_team" text, "site" text, "broadcast" text, "result" text, "attendance" real );
SELECT "result" FROM "week_one" WHERE "visiting_team"='Syracuse';
1-28298589-2
When svein tuft is the winner what is the highest stage?
CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text );
SELECT MAX("stage") FROM "classification_leadership" WHERE "winner"='Svein Tuft';
1-28298471-14
when svein tuft is the winner how many stages are there?
CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text );
SELECT COUNT("stage") FROM "classification_leadership" WHERE "winner"='Svein Tuft';
1-28298471-14
when hayden roulston is the winner what is the team classification?
CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text );
SELECT "team_classification" FROM "classification_leadership" WHERE "winner"='Hayden Roulston';
1-28298471-14
When michael reihs is the mountains classification what is the stage?
CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text );
SELECT "stage" FROM "classification_leadership" WHERE "mountains_classification"='Michael Reihs';
1-28298471-14
When michael van stayen is the points classification what is the team classification?
CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text );
SELECT "team_classification" FROM "classification_leadership" WHERE "points_classification"='Michael Van Stayen';
1-28298471-14
When hayden roulston is the winner what is the stage?
CREATE TABLE "classification_leadership" ( "stage" real, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" text, "team_classification" text );
SELECT "stage" FROM "classification_leadership" WHERE "winner"='Hayden Roulston';
1-28298471-14
What date was the game where Texas Southern was the visiting team?
CREATE TABLE "week_two" ( "date" text, "time" text, "visiting_team" text, "home_team" text, "site" text, "broadcast" text, "result" text, "attendance" real );
SELECT "date" FROM "week_two" WHERE "visiting_team"='Texas Southern';
1-28298589-4
How many Connecticut home games were broadcast?
CREATE TABLE "week_two" ( "date" text, "time" text, "visiting_team" text, "home_team" text, "site" text, "broadcast" text, "result" text, "attendance" real );
SELECT COUNT("broadcast") FROM "week_two" WHERE "home_team"='Connecticut';
1-28298589-4
In what facility was Pittsburgh's home game played?
CREATE TABLE "week_two" ( "date" text, "time" text, "visiting_team" text, "home_team" text, "site" text, "broadcast" text, "result" text, "attendance" real );
SELECT "site" FROM "week_two" WHERE "home_team"='Pittsburgh';
1-28298589-4
What was the final score of Washington's home game?
CREATE TABLE "week_two" ( "date" text, "time" text, "visiting_team" text, "home_team" text, "site" text, "broadcast" text, "result" text, "attendance" real );
SELECT "result" FROM "week_two" WHERE "home_team"='Washington';
1-28298589-4
Where is the team that has a stadium capable of a capacity of 10,517 5,006 located?
CREATE TABLE "current_clubs" ( "club" text, "location" text, "home_venue" text, "capacity" text, "founded" real, "years_active" text );
SELECT "location" FROM "current_clubs" WHERE "capacity"='10,517 5,006';
1-283203-1
Where is the home venue of the team founded in 1993?
CREATE TABLE "current_clubs" ( "club" text, "location" text, "home_venue" text, "capacity" text, "founded" real, "years_active" text );
SELECT "home_venue" FROM "current_clubs" WHERE "founded"=1993;
1-283203-1
How long has the team who owns North Shore Events Centre Vector Arena been active?
CREATE TABLE "current_clubs" ( "club" text, "location" text, "home_venue" text, "capacity" text, "founded" real, "years_active" text );
SELECT "years_active" FROM "current_clubs" WHERE "home_venue"='North Shore Events Centre Vector Arena';
1-283203-1
What is the capacity for the Home Venue of the New Zealand Breakers club?
CREATE TABLE "current_clubs" ( "club" text, "location" text, "home_venue" text, "capacity" text, "founded" real, "years_active" text );
SELECT "capacity" FROM "current_clubs" WHERE "club"='New Zealand Breakers';
1-283203-1
Who directed "From Russia With Love"?
CREATE TABLE "table1_28334498_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );
SELECT "directed_by" FROM "table1_28334498_3" WHERE "title"='\"From Russia With Love\"';
1-28334498-3
How many episodes were directed by Jeff Melman and 1.21million viewers?
CREATE TABLE "table1_28334498_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );
SELECT MIN("no_in_season") FROM "table1_28334498_3" WHERE "directed_by"='Jeff Melman' AND "u_s_viewers_millions"='1.21';
1-28334498-3
What air date had 1.01 million U.S. viewers?
CREATE TABLE "table1_28334498_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real, "u_s_viewers_millions" text );
SELECT "original_air_date" FROM "table1_28334498_3" WHERE "u_s_viewers_millions"='1.01';
1-28334498-3
Name the aircraft type for furstenau/vorden
CREATE TABLE "table1_28342423_1" ( "parent_unit" text, "geschwader_base" text, "unit_gruppe_staffel" text, "aircraft_type" text, "commanding_officer" text );
SELECT "aircraft_type" FROM "table1_28342423_1" WHERE "geschwader_base"='Furstenau/Vorden';
1-28342423-1
Name the parent unit for ludwig franzisket
CREATE TABLE "table1_28342423_1" ( "parent_unit" text, "geschwader_base" text, "unit_gruppe_staffel" text, "aircraft_type" text, "commanding_officer" text );
SELECT "parent_unit" FROM "table1_28342423_1" WHERE "commanding_officer"='Ludwig Franzisket';
1-28342423-1
Name the aircraft type for jagdgeschwader 6
CREATE TABLE "table1_28342423_1" ( "parent_unit" text, "geschwader_base" text, "unit_gruppe_staffel" text, "aircraft_type" text, "commanding_officer" text );
SELECT "aircraft_type" FROM "table1_28342423_1" WHERE "parent_unit"='Jagdgeschwader 6';
1-28342423-1
Name the aircraft type for jagdgeschwader 26
CREATE TABLE "table1_28342423_1" ( "parent_unit" text, "geschwader_base" text, "unit_gruppe_staffel" text, "aircraft_type" text, "commanding_officer" text );
SELECT "aircraft_type" FROM "table1_28342423_1" WHERE "parent_unit"='Jagdgeschwader 26';
1-28342423-1
Name the parent unit for josef priller
CREATE TABLE "table1_28342423_1" ( "parent_unit" text, "geschwader_base" text, "unit_gruppe_staffel" text, "aircraft_type" text, "commanding_officer" text );
SELECT "parent_unit" FROM "table1_28342423_1" WHERE "commanding_officer"='Josef Priller';
1-28342423-1
Name who directed the episode "bro-lo el cuñado"
CREATE TABLE "table1_28348757_3" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "directed_by" FROM "table1_28348757_3" WHERE "title"='\"Bro-Lo El Cuñado\"';
1-28348757-3
Name the production code for number 8
CREATE TABLE "table1_28348757_3" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "production_code" FROM "table1_28348757_3" WHERE "num"=8;
1-28348757-3
Name the least number for xle02007
CREATE TABLE "table1_28348757_3" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT MIN("no") FROM "table1_28348757_3" WHERE "production_code"='XLE02007';
1-28348757-3
Who wrote the episode with the code xle05012?
CREATE TABLE "table1_28348757_6" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "written_by" FROM "table1_28348757_6" WHERE "production_code"='XLE05012';
1-28348757-6
what are the numbers of episodes that had 0.79 million US views?
CREATE TABLE "table1_28348757_6" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "num" FROM "table1_28348757_6" WHERE "u_s_viewers_million"='0.79';
1-28348757-6
What female fenced with a saber on the team that had an average fencer rank of 3.5?
CREATE TABLE "mixed_team_event" ( "team" text, "female_p_e" text, "male_p_e" text, "female_foil" text, "male_foil" text, "female_saber" text, "male_saber" text, "average_fencers_rank" text, "initial_team_rank" real );
SELECT "female_saber" FROM "mixed_team_event" WHERE "average_fencers_rank"='3.5';
1-28372291-1
What team had an average fencer rank of 1.33?
CREATE TABLE "mixed_team_event" ( "team" text, "female_p_e" text, "male_p_e" text, "female_foil" text, "male_foil" text, "female_saber" text, "male_saber" text, "average_fencers_rank" text, "initial_team_rank" real );
SELECT "team" FROM "mixed_team_event" WHERE "average_fencers_rank"='1.33';
1-28372291-1
What is the name of the corporation that incorporated on october 15, 1955?
CREATE TABLE "list" ( "name" text, "corporate_name" text, "regional_district" text, "incorporation_date_city" text, "population_2011" real, "population_2006" real, "change_pct" text, "area_km" text, "population_density" text );
SELECT "corporate_name" FROM "list" WHERE "incorporation_date_city"='October 15, 1955';
1-28367242-1
What is the area of the corporation named the powell river, the corporation of the city of?
CREATE TABLE "list" ( "name" text, "corporate_name" text, "regional_district" text, "incorporation_date_city" text, "population_2011" real, "population_2006" real, "change_pct" text, "area_km" text, "population_density" text );
SELECT "area_km" FROM "list" WHERE "corporate_name"='Powell River, The Corporation of the City of';
1-28367242-1
How many Area's are there for Armstrong?
CREATE TABLE "list" ( "name" text, "corporate_name" text, "regional_district" text, "incorporation_date_city" text, "population_2011" real, "population_2006" real, "change_pct" text, "area_km" text, "population_density" text );
SELECT COUNT("area_km") FROM "list" WHERE "name"='Armstrong';
1-28367242-1
What is the name of the city which incorporated on july 16, 1860?
CREATE TABLE "list" ( "name" text, "corporate_name" text, "regional_district" text, "incorporation_date_city" text, "population_2011" real, "population_2006" real, "change_pct" text, "area_km" text, "population_density" text );
SELECT "name" FROM "list" WHERE "incorporation_date_city"='July 16, 1860';
1-28367242-1
What is the name of the corporation with an area of 15.63 km?
CREATE TABLE "list" ( "name" text, "corporate_name" text, "regional_district" text, "incorporation_date_city" text, "population_2011" real, "population_2006" real, "change_pct" text, "area_km" text, "population_density" text );
SELECT "corporate_name" FROM "list" WHERE "area_km"='15.63';
1-28367242-1
How many areas are there for the corporation named fort st. john, city of?
CREATE TABLE "list" ( "name" text, "corporate_name" text, "regional_district" text, "incorporation_date_city" text, "population_2011" real, "population_2006" real, "change_pct" text, "area_km" text, "population_density" text );
SELECT COUNT("area_km") FROM "list" WHERE "corporate_name"='Fort St. John, City of';
1-28367242-1
What was Emma Bunton's score for the performance with a total score of 22?
CREATE TABLE "table1_28352386_1" ( "week" real, "portraying" text, "song" text, "julian_clary" text, "emma_bunton" text, "guest_judge" text, "bonus_points" text, "total" text, "result" text );
SELECT "emma_bunton" FROM "table1_28352386_1" WHERE "total"='22';
1-28352386-1
What was the total score when the guest judge gave a score of 10?
CREATE TABLE "table1_28352386_1" ( "week" real, "portraying" text, "song" text, "julian_clary" text, "emma_bunton" text, "guest_judge" text, "bonus_points" text, "total" text, "result" text );
SELECT "total" FROM "table1_28352386_1" WHERE "guest_judge"='10';
1-28352386-1
how many millions of north american viewers had the episode called "smother"?
CREATE TABLE "table1_28358487_3" ( "no" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_air_date" text, "production_code" real );
SELECT "u_s_viewers_million" FROM "table1_28358487_3" WHERE "title"='\"Smother\"';
1-28358487-3
what is the number of the episode in the season whose production code is 101?
CREATE TABLE "table1_28358487_3" ( "no" real, "title" text, "directed_by" text, "written_by" text, "u_s_viewers_million" text, "original_air_date" text, "production_code" real );
SELECT COUNT("no") FROM "table1_28358487_3" WHERE "production_code"=101;
1-28358487-3
During what conference is North Carolina listed as the tournament winner?
CREATE TABLE "conference_winners_and_tournaments" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text );
SELECT "conference" FROM "conference_winners_and_tournaments" WHERE "tournament_winner"='North Carolina';
1-28365816-2
During the Big Seven Conference which team was the regular season winner?
CREATE TABLE "conference_winners_and_tournaments" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text );
SELECT "regular_season_winner" FROM "conference_winners_and_tournaments" WHERE "conference"='Big Seven Conference';
1-28365816-2
What tournament venue is listed during the Missouri Valley Conference?
CREATE TABLE "conference_winners_and_tournaments" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text );
SELECT "tournament_venue_city" FROM "conference_winners_and_tournaments" WHERE "conference"='Missouri Valley Conference';
1-28365816-2
During the Mid-American Conference who is listed as the tournament winner?
CREATE TABLE "conference_winners_and_tournaments" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text );
SELECT "tournament_winner" FROM "conference_winners_and_tournaments" WHERE "conference"='Mid-American Conference';
1-28365816-2
When Yale is listed as the regular season winner, what tournament venue is given?
CREATE TABLE "conference_winners_and_tournaments" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text );
SELECT "tournament_venue_city" FROM "conference_winners_and_tournaments" WHERE "regular_season_winner"='Yale';
1-28365816-2
How many entries for conference tournament are listed when Texas Western is the regular season winner?
CREATE TABLE "conference_winners_and_tournaments" ( "conference" text, "regular_season_winner" text, "conference_player_of_the_year" text, "conference_tournament" text, "tournament_venue_city" text, "tournament_winner" text );
SELECT COUNT("conference_tournament") FROM "conference_winners_and_tournaments" WHERE "regular_season_winner"='Texas Western';
1-28365816-2
Which team drafted the player from the HC Lada Togliatti (Russia)?
CREATE TABLE "round_five" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "nhl_team" FROM "round_five" WHERE "college_junior_club_team"='HC Lada Togliatti (Russia)';
1-2840500-5
who is the person that plays left wing and is from canada that plays on the st. louis blues
CREATE TABLE "round_three" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "player" FROM "round_three" WHERE "position"='Left Wing' AND "nationality"='Canada' AND "nhl_team"='St. Louis Blues';
1-2840500-3
what is the overall number of chosen ideas where the person is scott parker
CREATE TABLE "round_three" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT COUNT("pick") FROM "round_three" WHERE "player"='Scott Parker';
1-2840500-3
what is the number of the chosen club where the hc dukla trenčín (slovakia) is from
CREATE TABLE "round_three" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT COUNT("pick") FROM "round_three" WHERE "college_junior_club_team"='HC Dukla Trenčín (Slovakia)';
1-2840500-3
How many players were drafted by the Edmonton Oilers?
CREATE TABLE "round_two" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT COUNT("player") FROM "round_two" WHERE "nhl_team"='Edmonton Oilers';
1-2840500-2
Who was drafted by the Washington Capitals?
CREATE TABLE "round_two" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "player" FROM "round_two" WHERE "nhl_team"='Washington Capitals';
1-2840500-2
Which team drafted Travis Brigley?
CREATE TABLE "round_two" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "nhl_team" FROM "round_two" WHERE "player"='Travis Brigley';
1-2840500-2
What is the minimum pick of a centre from the Czech Republic?
CREATE TABLE "round_two" ( "pick" real, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT MIN("pick") FROM "round_two" WHERE "position"='Centre' AND "nationality"='Czech Republic';
1-2840500-2
Which player made exactly 223 passes?
CREATE TABLE "table1_28461589_2" ( "nr" real, "player" text, "games_played" real, "starting" real, "sub" real, "subbed" real, "mins_played" real, "goals" real, "pens_against" real, "pens_for" real, "fouls_suff" real, "fouls_comm" real, "yellow_c" real, "red_c" real, "assists" real, "pass...
SELECT "player" FROM "table1_28461589_2" WHERE "passes"=223;
1-28461589-2
What is the fewest minutes played for the player with exactly 638 good passes?
CREATE TABLE "table1_28461589_2" ( "nr" real, "player" text, "games_played" real, "starting" real, "sub" real, "subbed" real, "mins_played" real, "goals" real, "pens_against" real, "pens_for" real, "fouls_suff" real, "fouls_comm" real, "yellow_c" real, "red_c" real, "assists" real, "pass...
SELECT MIN("mins_played") FROM "table1_28461589_2" WHERE "good_passes"=638;
1-28461589-2
What is the most number of assists for players with exactly 25 games played?
CREATE TABLE "table1_28461589_2" ( "nr" real, "player" text, "games_played" real, "starting" real, "sub" real, "subbed" real, "mins_played" real, "goals" real, "pens_against" real, "pens_for" real, "fouls_suff" real, "fouls_comm" real, "yellow_c" real, "red_c" real, "assists" real, "pass...
SELECT MAX("assists") FROM "table1_28461589_2" WHERE "games_played"=25;
1-28461589-2
What is the largest number of passes for players starting exactly 34 games?
CREATE TABLE "table1_28461589_2" ( "nr" real, "player" text, "games_played" real, "starting" real, "sub" real, "subbed" real, "mins_played" real, "goals" real, "pens_against" real, "pens_for" real, "fouls_suff" real, "fouls_comm" real, "yellow_c" real, "red_c" real, "assists" real, "pass...
SELECT MAX("passes") FROM "table1_28461589_2" WHERE "starting"=34;
1-28461589-2
When καθ are the letters what is the nickname?
CREATE TABLE "national_panhellenic_conference_npc" ( "letters" text, "organization" text, "nickname" text, "founding_date" text, "founding_university" text, "type" text, "canadian_chapters" text );
SELECT "nickname" FROM "national_panhellenic_conference_npc" WHERE "letters"='ΚΑΘ';
1-28436909-4
When 1873-12-25 is the founding date how many organizations are there?
CREATE TABLE "national_panhellenic_conference_npc" ( "letters" text, "organization" text, "nickname" text, "founding_date" text, "founding_university" text, "type" text, "canadian_chapters" text );
SELECT COUNT("organization") FROM "national_panhellenic_conference_npc" WHERE "founding_date"='1873-12-25';
1-28436909-4
When 1872-10-10 is the founding date what are the canadian chapters?
CREATE TABLE "national_panhellenic_conference_npc" ( "letters" text, "organization" text, "nickname" text, "founding_date" text, "founding_university" text, "type" text, "canadian_chapters" text );
SELECT "canadian_chapters" FROM "national_panhellenic_conference_npc" WHERE "founding_date"='1872-10-10';
1-28436909-4
When 1 active, 1 inactive is the canadian chapters how many founding dates are there?
CREATE TABLE "national_panhellenic_conference_npc" ( "letters" text, "organization" text, "nickname" text, "founding_date" text, "founding_university" text, "type" text, "canadian_chapters" text );
SELECT COUNT("founding_date") FROM "national_panhellenic_conference_npc" WHERE "canadian_chapters"='1 Active, 1 Inactive';
1-28436909-4
when was the ending time where the enemy met in the iron bowl
CREATE TABLE "primary_auburn_football_rivalries_all_ti" ( "name_of_rivalry" text, "rival" text, "games_played" real, "first_meeting" real, "last_meeting" real, "au_won" real, "au_lost" real, "ties" real, "streak" text, "latest_win" text );
SELECT "last_meeting" FROM "primary_auburn_football_rivalries_all_ti" WHERE "name_of_rivalry"='Iron Bowl';
1-2846320-4
what was the lowest number that auburn triumphed where the activities took part was 92
CREATE TABLE "primary_auburn_football_rivalries_all_ti" ( "name_of_rivalry" text, "rival" text, "games_played" real, "first_meeting" real, "last_meeting" real, "au_won" real, "au_lost" real, "ties" real, "streak" text, "latest_win" text );
SELECT MIN("au_won") FROM "primary_auburn_football_rivalries_all_ti" WHERE "games_played"=92;
1-2846320-4
what are all the adversary where the beginning is 1899
CREATE TABLE "primary_auburn_football_rivalries_all_ti" ( "name_of_rivalry" text, "rival" text, "games_played" real, "first_meeting" real, "last_meeting" real, "au_won" real, "au_lost" real, "ties" real, "streak" text, "latest_win" text );
SELECT "rival" FROM "primary_auburn_football_rivalries_all_ti" WHERE "first_meeting"=1899;
1-2846320-4
what is the length where the time is 2009
CREATE TABLE "primary_auburn_football_rivalries_all_ti" ( "name_of_rivalry" text, "rival" text, "games_played" real, "first_meeting" real, "last_meeting" real, "au_won" real, "au_lost" real, "ties" real, "streak" text, "latest_win" text );
SELECT "streak" FROM "primary_auburn_football_rivalries_all_ti" WHERE "last_meeting"=2009;
1-2846320-4
What was the distance in the round where the supporter was champ car world series ( grand prix of cleveland ) and the tc winning car was pierre kleinubing?
CREATE TABLE "table1_28490105_1" ( "rnd" real, "date" text, "circuit" text, "supporting" text, "distance" text, "gt_winning_car" text, "tc_winning_car" text );
SELECT "distance" FROM "table1_28490105_1" WHERE "supporting"='Champ Car World Series ( Grand Prix of Cleveland )' AND "tc_winning_car"='Pierre Kleinubing';
1-28490105-1
What is the earliest round where the gt winning car is max angelelli?
CREATE TABLE "table1_28490105_1" ( "rnd" real, "date" text, "circuit" text, "supporting" text, "distance" text, "gt_winning_car" text, "tc_winning_car" text );
SELECT MIN("rnd") FROM "table1_28490105_1" WHERE "gt_winning_car"='Max Angelelli';
1-28490105-1
Who was supporting in round 1 where the gt winning car was dodge viper?
CREATE TABLE "table1_28490105_1" ( "rnd" real, "date" text, "circuit" text, "supporting" text, "distance" text, "gt_winning_car" text, "tc_winning_car" text );
SELECT "supporting" FROM "table1_28490105_1" WHERE "gt_winning_car"='Dodge Viper' AND "rnd"=1;
1-28490105-1
Who was supporting in the round when the gt winning car was dino crescentini?
CREATE TABLE "table1_28490105_1" ( "rnd" real, "date" text, "circuit" text, "supporting" text, "distance" text, "gt_winning_car" text, "tc_winning_car" text );
SELECT "supporting" FROM "table1_28490105_1" WHERE "gt_winning_car"='Dino Crescentini';
1-28490105-1
How many writers wrote the episode "Woke Up Dead"?
CREATE TABLE "table1_28466323_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT COUNT("written_by") FROM "table1_28466323_2" WHERE "title"='\"Woke Up Dead\"';
1-28466323-2
Who wrote the episode with production code 2j5568?
CREATE TABLE "table1_28466323_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "written_by" FROM "table1_28466323_2" WHERE "production_code"='2J5568';
1-28466323-2
Who directed the episode watched by 2.01 million US viewers?
CREATE TABLE "table1_28466323_2" ( "no" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text, "u_s_viewers_million" text );
SELECT "directed_by" FROM "table1_28466323_2" WHERE "u_s_viewers_million"='2.01';
1-28466323-2
How many divisions in bowling ?
CREATE TABLE "boys" ( "season" text, "sport" text, "tournament_structure" text, "num_of_divisions" real, "1st_tournament" real, "2012_2013_state_tournament_location" text );
SELECT "num_of_divisions" FROM "boys" WHERE "sport"='Bowling';
1-2849652-1
How many 7th season episodes had 2nd season viewerships of 6 594 469?
CREATE TABLE "viewing_figures" ( "episode" real, "1st_season" text, "2nd_season" text, "3rd_season" text, "4th_season" text, "5th_season" text, "6th_season" text, "7th_season" text );
SELECT COUNT("7th_season") FROM "viewing_figures" WHERE "2nd_season"='6 594 469';
1-28497344-10
How many first tournaments were winter sports with exactly 1 division?
CREATE TABLE "girls" ( "season" text, "sport" text, "tournament_structure" text, "num_of_divisions" real, "1st_tournament" real, "2011_2012_state_tournament_location" text );
SELECT COUNT("1st_tournament") FROM "girls" WHERE "season"='Winter' AND "num_of_divisions"=1;
1-2849652-2