question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
What is the position of the player that came from the school/club team/country of Purdue?
|
CREATE TABLE "l" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "position" FROM "l" WHERE "school_club_team_country"='Purdue';
|
1-11734041-11
|
Who is the player who's number is 3?
|
CREATE TABLE "l" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "player" FROM "l" WHERE "no_s"='3';
|
1-11734041-11
|
What is the height for the player in 1968-72?
|
CREATE TABLE "l" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "height_in_ft" FROM "l" WHERE "years_for_rockets"='1968-72';
|
1-11734041-11
|
Which player had a height of 6-0?
|
CREATE TABLE "l" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "player" FROM "l" WHERE "height_in_ft"='6-0';
|
1-11734041-11
|
What is the position for the player that played in 2006?
|
CREATE TABLE "l" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "position" FROM "l" WHERE "years_for_rockets"='2006';
|
1-11734041-11
|
What are all the names of the players who are 7-0 tall?
|
CREATE TABLE "k" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "player" FROM "k" WHERE "height_in_ft"='7-0';
|
1-11734041-10
|
Kimball, toby toby kimball is a player; How many times at school/ club team/country was the player present?
|
CREATE TABLE "k" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT COUNT("school_club_team_country") FROM "k" WHERE "player"='Kimball, Toby Toby Kimball';
|
1-11734041-10
|
In connecticut the school/club team/country had a set height in ft. what is true for them?
|
CREATE TABLE "k" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "height_in_ft" FROM "k" WHERE "school_club_team_country"='Connecticut';
|
1-11734041-10
|
Rockets height was 6-6 in feet, list the time frame where this was true?
|
CREATE TABLE "k" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "years_for_rockets" FROM "k" WHERE "height_in_ft"='6-6';
|
1-11734041-10
|
What is the hight of the player who's tenure lasted from 1969-70?
|
CREATE TABLE "s" (
"player" text,
"no_s" real,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "height_in_ft" FROM "s" WHERE "years_for_rockets"='1969-70';
|
1-11734041-17
|
What school did the 7-4 player attend?
|
CREATE TABLE "s" (
"player" text,
"no_s" real,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "school_club_team_country" FROM "s" WHERE "height_in_ft"='7-4';
|
1-11734041-17
|
what's the years for rockets where position is guard / forward
|
CREATE TABLE "w" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "years_for_rockets" FROM "w" WHERE "position"='Guard / Forward';
|
1-11734041-20
|
what is the total number of player where years for rockets is 1975-79
|
CREATE TABLE "w" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT COUNT("player") FROM "w" WHERE "years_for_rockets"='1975-79';
|
1-11734041-20
|
what is the total number of player where years for rockets is 2004-06
|
CREATE TABLE "w" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT COUNT("player") FROM "w" WHERE "years_for_rockets"='2004-06';
|
1-11734041-20
|
what's the position where player is williams, bernie bernie williams
|
CREATE TABLE "w" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "position" FROM "w" WHERE "player"='Williams, Bernie Bernie Williams';
|
1-11734041-20
|
what is the total number of years for rockets where school/club team/country is baylor
|
CREATE TABLE "w" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT COUNT("years_for_rockets") FROM "w" WHERE "school_club_team_country"='Baylor';
|
1-11734041-20
|
How many positions had jersey number 32
|
CREATE TABLE "t" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT COUNT("position") FROM "t" WHERE "no_s"='32';
|
1-11734041-18
|
Which years had a jersey number 55
|
CREATE TABLE "t" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "years_for_rockets" FROM "t" WHERE "no_s"='55';
|
1-11734041-18
|
Which school, club team, or country played for the rockets in the years 2000-01?
|
CREATE TABLE "c" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "school_club_team_country" FROM "c" WHERE "years_for_rockets"='2000-01';
|
1-11734041-3
|
During which years did number 13 play for the Rockets?
|
CREATE TABLE "c" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "years_for_rockets" FROM "c" WHERE "no_s"='13';
|
1-11734041-3
|
What is the lowest date settled for chifley?
|
CREATE TABLE "suburbs" (
"suburb" text,
"population_in_2008" real,
"median_age_in_2006" text,
"mean_household_size_in_2006" text,
"area_km" text,
"density_km" real,
"date_first_settled_as_a_suburb" real,
"gazetted_as_a_division_name" text
);
|
SELECT MIN("date_first_settled_as_a_suburb") FROM "suburbs" WHERE "suburb"='Chifley';
|
1-1174162-1
|
What is the density in Garran?
|
CREATE TABLE "suburbs" (
"suburb" text,
"population_in_2008" real,
"median_age_in_2006" text,
"mean_household_size_in_2006" text,
"area_km" text,
"density_km" real,
"date_first_settled_as_a_suburb" real,
"gazetted_as_a_division_name" text
);
|
SELECT MIN("density_km") FROM "suburbs" WHERE "suburb"='Garran';
|
1-1174162-1
|
What is the date settled for 40 years?
|
CREATE TABLE "suburbs" (
"suburb" text,
"population_in_2008" real,
"median_age_in_2006" text,
"mean_household_size_in_2006" text,
"area_km" text,
"density_km" real,
"date_first_settled_as_a_suburb" real,
"gazetted_as_a_division_name" text
);
|
SELECT "date_first_settled_as_a_suburb" FROM "suburbs" WHERE "median_age_in_2006"='40 years';
|
1-1174162-1
|
What is the median age where the area is 1.7?
|
CREATE TABLE "suburbs" (
"suburb" text,
"population_in_2008" real,
"median_age_in_2006" text,
"mean_household_size_in_2006" text,
"area_km" text,
"density_km" real,
"date_first_settled_as_a_suburb" real,
"gazetted_as_a_division_name" text
);
|
SELECT "median_age_in_2006" FROM "suburbs" WHERE "area_km"='1.7';
|
1-1174162-1
|
Who is the thursday presenter of the show Big Brother 13?
|
CREATE TABLE "presenters" (
"series" text,
"monday" text,
"tuesday" text,
"wednesday" text,
"thursday" text,
"friday" text,
"saturday" text,
"sunday" text
);
|
SELECT "thursday" FROM "presenters" WHERE "series"='Big Brother 13';
|
1-11748792-2
|
Who is the friday presenter for each show, when the monday presenter is Emma Willis Jamie East?
|
CREATE TABLE "presenters" (
"series" text,
"monday" text,
"tuesday" text,
"wednesday" text,
"thursday" text,
"friday" text,
"saturday" text,
"sunday" text
);
|
SELECT "friday" FROM "presenters" WHERE "monday"='Emma Willis Jamie East';
|
1-11748792-2
|
Who is the Tuesday presenter of Celebrity Big Brother 8?
|
CREATE TABLE "presenters" (
"series" text,
"monday" text,
"tuesday" text,
"wednesday" text,
"thursday" text,
"friday" text,
"saturday" text,
"sunday" text
);
|
SELECT "tuesday" FROM "presenters" WHERE "series"='Celebrity Big Brother 8';
|
1-11748792-2
|
Who is the Wednesday presenter of the show Big Brother 13?
|
CREATE TABLE "presenters" (
"series" text,
"monday" text,
"tuesday" text,
"wednesday" text,
"thursday" text,
"friday" text,
"saturday" text,
"sunday" text
);
|
SELECT "wednesday" FROM "presenters" WHERE "series"='Big Brother 13';
|
1-11748792-2
|
List all of the shows with Alice Levine Jamie East is the Sunday presenter.
|
CREATE TABLE "presenters" (
"series" text,
"monday" text,
"tuesday" text,
"wednesday" text,
"thursday" text,
"friday" text,
"saturday" text,
"sunday" text
);
|
SELECT "series" FROM "presenters" WHERE "sunday"='Alice Levine Jamie East';
|
1-11748792-2
|
What are all the positions for the rockets in 2008?
|
CREATE TABLE "g" (
"player" text,
"no_s" real,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "position" FROM "g" WHERE "years_for_rockets"='2008';
|
1-11734041-7
|
What is the height of the school club team members in clemson?
|
CREATE TABLE "g" (
"player" text,
"no_s" real,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "height_in_ft" FROM "g" WHERE "school_club_team_country"='Clemson';
|
1-11734041-7
|
What years for the rockets did player ford, alton alton ford play?
|
CREATE TABLE "f" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "years_for_rockets" FROM "f" WHERE "player"='Ford, Alton Alton Ford';
|
1-11734041-6
|
What years for the rockets did the player ford, phil phil ford play?
|
CREATE TABLE "f" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "years_for_rockets" FROM "f" WHERE "player"='Ford, Phil Phil Ford';
|
1-11734041-6
|
What school/club team/country did the player fitch, gerald gerald fitch play for?
|
CREATE TABLE "f" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
);
|
SELECT "school_club_team_country" FROM "f" WHERE "player"='Fitch, Gerald Gerald Fitch';
|
1-11734041-6
|
What is the weekly rank where the number is 4?
|
CREATE TABLE "u_s_nielsen_ratings" (
"num" real,
"episode" text,
"air_date" text,
"timeslot" text,
"rating" text,
"share" real,
"18_49" text,
"viewers" text,
"weekly_rank" text
);
|
SELECT "weekly_rank" FROM "u_s_nielsen_ratings" WHERE "num"=4;
|
1-11753080-2
|
What is the viewers for the episode "woman marries heart"?
|
CREATE TABLE "u_s_nielsen_ratings" (
"num" real,
"episode" text,
"air_date" text,
"timeslot" text,
"rating" text,
"share" real,
"18_49" text,
"viewers" text,
"weekly_rank" text
);
|
SELECT "viewers" FROM "u_s_nielsen_ratings" WHERE "episode"='\"Woman Marries Heart\"';
|
1-11753080-2
|
What is the minimum of t20 matches?
|
CREATE TABLE "ground_history" (
"name_of_ground" text,
"location" text,
"year" text,
"fc_matches" real,
"la_matches" real,
"t20_matches" real,
"total" real
);
|
SELECT MIN("t20_matches") FROM "ground_history";
|
1-1176371-1
|
Where is ropery lane located?
|
CREATE TABLE "ground_history" (
"name_of_ground" text,
"location" text,
"year" text,
"fc_matches" real,
"la_matches" real,
"t20_matches" real,
"total" real
);
|
SELECT "location" FROM "ground_history" WHERE "name_of_ground"='Ropery Lane';
|
1-1176371-1
|
Where is ropery lane and la matches 7 location?
|
CREATE TABLE "ground_history" (
"name_of_ground" text,
"location" text,
"year" text,
"fc_matches" real,
"la_matches" real,
"t20_matches" real,
"total" real
);
|
SELECT "location" FROM "ground_history" WHERE "la_matches"=7 AND "name_of_ground"='Ropery Lane';
|
1-1176371-1
|
What is the maximum fc matches?
|
CREATE TABLE "ground_history" (
"name_of_ground" text,
"location" text,
"year" text,
"fc_matches" real,
"la_matches" real,
"t20_matches" real,
"total" real
);
|
SELECT MAX("fc_matches") FROM "ground_history";
|
1-1176371-1
|
What is the maximum fc matches at the racecourse?
|
CREATE TABLE "ground_history" (
"name_of_ground" text,
"location" text,
"year" text,
"fc_matches" real,
"la_matches" real,
"t20_matches" real,
"total" real
);
|
SELECT MAX("fc_matches") FROM "ground_history" WHERE "name_of_ground"='The Racecourse';
|
1-1176371-1
|
What is the maximum t20 on green lane?
|
CREATE TABLE "ground_history" (
"name_of_ground" text,
"location" text,
"year" text,
"fc_matches" real,
"la_matches" real,
"t20_matches" real,
"total" real
);
|
SELECT MAX("t20_matches") FROM "ground_history" WHERE "name_of_ground"='Green Lane';
|
1-1176371-1
|
what's the cylinders/ valves with model being 1.8 20v
|
CREATE TABLE "petrol_engines" (
"model" text,
"cylinders_valves" text,
"displacement_cc" real,
"max_power_k_w_ps_at_rpm" text,
"max_torque_nm_at_rpm" text,
"engine_code" text,
"top_speed_km_h" real,
"production_period" text
);
|
SELECT "cylinders_valves" FROM "petrol_engines" WHERE "model"='1.8 20V';
|
1-1176162-3
|
Which units are commanded by Lieutenant Colonel Francis Hepburn?
|
CREATE TABLE "table1_11793221_2" (
"unit" text,
"commander" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
);
|
SELECT "unit" FROM "table1_11793221_2" WHERE "commander"='Lieutenant Colonel Francis Hepburn';
|
1-11793221-2
|
What are the complements when the commander is Major William Lloyd?
|
CREATE TABLE "table1_11793221_2" (
"unit" text,
"commander" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
);
|
SELECT "complement" FROM "table1_11793221_2" WHERE "commander"='Major William Lloyd';
|
1-11793221-2
|
How many were wounded when the complement was 173 off 2059 men?
|
CREATE TABLE "table1_11793221_2" (
"unit" text,
"commander" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
);
|
SELECT "wounded" FROM "table1_11793221_2" WHERE "complement"='173 off 2059 men';
|
1-11793221-2
|
How many where killed under Major-General Jean Victor de Constant Rebecque's command?
|
CREATE TABLE "table1_11793221_2" (
"unit" text,
"commander" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
);
|
SELECT "killed" FROM "table1_11793221_2" WHERE "commander"='Major-General Jean Victor de Constant Rebecque';
|
1-11793221-2
|
Who were the commanders when 8 off 0 men were wounded?
|
CREATE TABLE "table1_11793221_2" (
"unit" text,
"commander" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
);
|
SELECT "commander" FROM "table1_11793221_2" WHERE "wounded"='8 off 0 men';
|
1-11793221-2
|
What is the gpa per capita (nominal) for the country with gdp (nominal) is $52.0 billion?
|
CREATE TABLE "prospective_members" (
"country" text,
"population" real,
"area_km" real,
"gdp_nominal" text,
"gdp_per_capita_nominal" text
);
|
SELECT "gdp_per_capita_nominal" FROM "prospective_members" WHERE "gdp_nominal"='$52.0 billion';
|
1-11780179-1
|
How many countries has a gdp (nominal) of $29.9 billion?
|
CREATE TABLE "prospective_members" (
"country" text,
"population" real,
"area_km" real,
"gdp_nominal" text,
"gdp_per_capita_nominal" text
);
|
SELECT COUNT("gdp_per_capita_nominal") FROM "prospective_members" WHERE "gdp_nominal"='$29.9 billion';
|
1-11780179-1
|
What is the GDP (nominal) for Uzbekistan?
|
CREATE TABLE "prospective_members" (
"country" text,
"population" real,
"area_km" real,
"gdp_nominal" text,
"gdp_per_capita_nominal" text
);
|
SELECT "gdp_nominal" FROM "prospective_members" WHERE "country"='Uzbekistan';
|
1-11780179-1
|
What is the area (km²) for the country with a population of 16967000?
|
CREATE TABLE "prospective_members" (
"country" text,
"population" real,
"area_km" real,
"gdp_nominal" text,
"gdp_per_capita_nominal" text
);
|
SELECT MIN("area_km") FROM "prospective_members" WHERE "population"=16967000;
|
1-11780179-1
|
What is the aspect ratio of the DVD released on 12/10/2009?
|
CREATE TABLE "dvd_releases" (
"dvd_name" text,
"released" text,
"audio" text,
"aspect_ratio" text,
"duration" text,
"number_of_episodes" real,
"num_of_discs" real
);
|
SELECT "aspect_ratio" FROM "dvd_releases" WHERE "released"='12/10/2009';
|
1-1180228-1
|
What is the name of the DVD where the number of discs is greater than 2.0
|
CREATE TABLE "dvd_releases" (
"dvd_name" text,
"released" text,
"audio" text,
"aspect_ratio" text,
"duration" text,
"number_of_episodes" real,
"num_of_discs" real
);
|
SELECT "dvd_name" FROM "dvd_releases" WHERE "num_of_discs">2.0;
|
1-1180228-1
|
How many releases did the DVD River Cottage forever have?
|
CREATE TABLE "dvd_releases" (
"dvd_name" text,
"released" text,
"audio" text,
"aspect_ratio" text,
"duration" text,
"number_of_episodes" real,
"num_of_discs" real
);
|
SELECT COUNT("released") FROM "dvd_releases" WHERE "dvd_name"='River Cottage Forever';
|
1-1180228-1
|
What is the total number of discs where the run time was 4 hours 40 minutes?
|
CREATE TABLE "dvd_releases" (
"dvd_name" text,
"released" text,
"audio" text,
"aspect_ratio" text,
"duration" text,
"number_of_episodes" real,
"num_of_discs" real
);
|
SELECT COUNT("num_of_discs") FROM "dvd_releases" WHERE "duration"='4 hours 40 minutes';
|
1-1180228-1
|
What is the name of the DVD where the number of discs is greater than 2.0
|
CREATE TABLE "dvd_releases" (
"dvd_name" text,
"released" text,
"audio" text,
"aspect_ratio" text,
"duration" text,
"number_of_episodes" real,
"num_of_discs" real
);
|
SELECT "dvd_name" FROM "dvd_releases" WHERE "num_of_discs">2.0;
|
1-1180228-1
|
What were the wounded for complement of 46 off 656 men?
|
CREATE TABLE "table1_11793221_4" (
"unit" text,
"commander" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
);
|
SELECT "wounded" FROM "table1_11793221_4" WHERE "complement"='46 off 656 men';
|
1-11793221-4
|
What was the missing for lieutenant general sir thomas picton?
|
CREATE TABLE "table1_11793221_4" (
"unit" text,
"commander" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
);
|
SELECT "missing" FROM "table1_11793221_4" WHERE "commander"='Lieutenant General Sir Thomas Picton';
|
1-11793221-4
|
Name the number of complement for 4th hanoverian brigade
|
CREATE TABLE "table1_11793221_4" (
"unit" text,
"commander" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
);
|
SELECT COUNT("complement") FROM "table1_11793221_4" WHERE "unit"='4th Hanoverian Brigade';
|
1-11793221-4
|
Name the commander of 167 off 2348 men
|
CREATE TABLE "table1_11793221_4" (
"unit" text,
"commander" text,
"complement" text,
"killed" text,
"wounded" text,
"missing" text
);
|
SELECT "commander" FROM "table1_11793221_4" WHERE "complement"='167 off 2348 men';
|
1-11793221-4
|
HOW MUCH WAS THE OVERALL FOR ERIK KARLSSON?
|
CREATE TABLE "2008_draft_picks" (
"round" real,
"overall" real,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
|
SELECT MIN("overall") FROM "2008_draft_picks";
|
1-11803648-17
|
WHAT ROUND WAS FORWARD ANDRE PETERSSON SELECTED?
|
CREATE TABLE "2008_draft_picks" (
"round" real,
"overall" real,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
|
SELECT MIN("round") FROM "2008_draft_picks" WHERE "position"='Forward';
|
1-11803648-17
|
WHAT POSITION DOES PATRICK WIERCIOCH PLAY?
|
CREATE TABLE "2008_draft_picks" (
"round" real,
"overall" real,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
|
SELECT "position" FROM "2008_draft_picks" WHERE "player"='Patrick Wiercioch';
|
1-11803648-17
|
NAME THE OVERALL FOR THE OMAHA (USHL) CLUB TEAM
|
CREATE TABLE "2008_draft_picks" (
"round" real,
"overall" real,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
|
SELECT MIN("overall") FROM "2008_draft_picks" WHERE "club_team"='Omaha (USHL)';
|
1-11803648-17
|
WHERE IS ANDRE PETERSSON FROM?
|
CREATE TABLE "2008_draft_picks" (
"round" real,
"overall" real,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
|
SELECT "nationality" FROM "2008_draft_picks" WHERE "player"='Andre Petersson';
|
1-11803648-17
|
What club team did JArrod Maidens play for?
|
CREATE TABLE "2012_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
|
SELECT "club_team" FROM "2012_draft_picks" WHERE "player"='Jarrod Maidens';
|
1-11803648-21
|
What position does Cody Ceci play?
|
CREATE TABLE "2012_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
|
SELECT "position" FROM "2012_draft_picks" WHERE "player"='Cody Ceci';
|
1-11803648-21
|
What is the Nationality when the club team is Peterborough Petes (OHL)?
|
CREATE TABLE "2011_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
|
SELECT "nationality" FROM "2011_draft_picks" WHERE "club_team"='Peterborough Petes (OHL)';
|
1-11803648-20
|
Which player is in round 5?
|
CREATE TABLE "2011_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
|
SELECT "player" FROM "2011_draft_picks" WHERE "round"=5;
|
1-11803648-20
|
What position is associated with an overall value of 126?
|
CREATE TABLE "2011_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
|
SELECT "position" FROM "2011_draft_picks" WHERE "overall"='126';
|
1-11803648-20
|
What position is the player Jordan Fransoo in?
|
CREATE TABLE "2011_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
|
SELECT "position" FROM "2011_draft_picks" WHERE "player"='Jordan Fransoo';
|
1-11803648-20
|
How many rounds is the player Matthew Puempel associated with?
|
CREATE TABLE "2011_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
|
SELECT COUNT("round") FROM "2011_draft_picks" WHERE "player"='Matthew Puempel';
|
1-11803648-20
|
What is the position of player Tobias Lindberg?
|
CREATE TABLE "2013_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
|
SELECT "position" FROM "2013_draft_picks" WHERE "player"='Tobias Lindberg';
|
1-11803648-22
|
How many players had overall 78?
|
CREATE TABLE "2013_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
|
SELECT COUNT("player") FROM "2013_draft_picks" WHERE "overall"='78';
|
1-11803648-22
|
What is the last round with club team Guelph Storm (ohl)?
|
CREATE TABLE "2013_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
|
SELECT MAX("round") FROM "2013_draft_picks" WHERE "club_team"='Guelph Storm (OHL)';
|
1-11803648-22
|
How many positions did player Ben Harpur play?
|
CREATE TABLE "2013_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
|
SELECT COUNT("position") FROM "2013_draft_picks" WHERE "player"='Ben Harpur';
|
1-11803648-22
|
What is the position of player Marcus Hogberg?
|
CREATE TABLE "2013_draft_picks" (
"round" real,
"overall" text,
"player" text,
"position" text,
"nationality" text,
"club_team" text
);
|
SELECT "position" FROM "2013_draft_picks" WHERE "player"='Marcus Hogberg';
|
1-11803648-22
|
3488 is the enrollment amount of what college?
|
CREATE TABLE "current_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname" text,
"joined" real
);
|
SELECT "institution" FROM "current_members" WHERE "enrollment"=3488;
|
1-1183842-1
|
Barry University had the highest enrollment of what number?
|
CREATE TABLE "current_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname" text,
"joined" real
);
|
SELECT MAX("enrollment") FROM "current_members" WHERE "institution"='Barry University';
|
1-1183842-1
|
The fighting knights has what type of nickname?
|
CREATE TABLE "current_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname" text,
"joined" real
);
|
SELECT "type" FROM "current_members" WHERE "nickname"='Fighting Knights';
|
1-1183842-1
|
Boca Raton, Florida had what joined amount?
|
CREATE TABLE "current_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname" text,
"joined" real
);
|
SELECT "joined" FROM "current_members" WHERE "location"='Boca Raton, Florida';
|
1-1183842-1
|
If the enrollment is 3584, what's the largest founded?
|
CREATE TABLE "current_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname" text,
"joined" real
);
|
SELECT MAX("founded") FROM "current_members" WHERE "enrollment"=3584;
|
1-1183842-1
|
Barry University had a maximum enrollment of what?
|
CREATE TABLE "current_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname" text,
"joined" real
);
|
SELECT MAX("enrollment") FROM "current_members" WHERE "institution"='Barry University';
|
1-1183842-1
|
What was the series number for the episode "I Forgot to Remember to Forget"?
|
CREATE TABLE "table1_11820086_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
);
|
SELECT MIN("no_in_series") FROM "table1_11820086_1" WHERE "title"='\"I Forgot to Remember to Forget\"';
|
1-11820086-1
|
Who directed the episode that was viewed by 2.57 million people in the U.S.?
|
CREATE TABLE "table1_11820086_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
);
|
SELECT "directed_by" FROM "table1_11820086_1" WHERE "u_s_viewers_millions"='2.57';
|
1-11820086-1
|
Who directed the episode that was viewed by 2.50 million people in the U.S.?
|
CREATE TABLE "table1_11820086_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
);
|
SELECT "directed_by" FROM "table1_11820086_1" WHERE "u_s_viewers_millions"='2.50';
|
1-11820086-1
|
Which episode number in season 5 was viewed by 3.00 million U.S. viziers?
|
CREATE TABLE "table1_11820086_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
);
|
SELECT MIN("no_in_season") FROM "table1_11820086_1" WHERE "u_s_viewers_millions"='3.00';
|
1-11820086-1
|
what are all the percent (1990) where state is united states
|
CREATE TABLE "norwegian_americans_by_state" (
"state" text,
"norwegian_americans_1980" real,
"percent_1980" text,
"norwegian_americans_1990" real,
"percent_1990" text,
"norwegian_americans_2000" real,
"percent_2000" text,
"norwegian_americans_2009" real,
"percent_2009" text
);
|
SELECT "percent_1990" FROM "norwegian_americans_by_state" WHERE "state"='United States';
|
1-1182314-5
|
what is the total number of percent (2000) where percent (1980) is 3.4%
|
CREATE TABLE "norwegian_americans_by_state" (
"state" text,
"norwegian_americans_1980" real,
"percent_1980" text,
"norwegian_americans_1990" real,
"percent_1990" text,
"norwegian_americans_2000" real,
"percent_2000" text,
"norwegian_americans_2009" real,
"percent_2009" text
);
|
SELECT COUNT("percent_2000") FROM "norwegian_americans_by_state" WHERE "percent_1980"='3.4%';
|
1-1182314-5
|
what are all the percent (1990) where state is mississippi
|
CREATE TABLE "norwegian_americans_by_state" (
"state" text,
"norwegian_americans_1980" real,
"percent_1980" text,
"norwegian_americans_1990" real,
"percent_1990" text,
"norwegian_americans_2000" real,
"percent_2000" text,
"norwegian_americans_2009" real,
"percent_2009" text
);
|
SELECT "percent_1990" FROM "norwegian_americans_by_state" WHERE "state"='Mississippi';
|
1-1182314-5
|
what is the maximum norwegian americans (2000) where norwegian americans (1990) is 9170
|
CREATE TABLE "norwegian_americans_by_state" (
"state" text,
"norwegian_americans_1980" real,
"percent_1980" text,
"norwegian_americans_1990" real,
"percent_1990" text,
"norwegian_americans_2000" real,
"percent_2000" text,
"norwegian_americans_2009" real,
"percent_2009" text
);
|
SELECT MAX("norwegian_americans_2000") FROM "norwegian_americans_by_state" WHERE "norwegian_americans_1990"=9170;
|
1-1182314-5
|
what is the minimum norwegian americans (1980) where state is rhode island
|
CREATE TABLE "norwegian_americans_by_state" (
"state" text,
"norwegian_americans_1980" real,
"percent_1980" text,
"norwegian_americans_1990" real,
"percent_1990" text,
"norwegian_americans_2000" real,
"percent_2000" text,
"norwegian_americans_2009" real,
"percent_2009" text
);
|
SELECT MIN("norwegian_americans_1980") FROM "norwegian_americans_by_state" WHERE "state"='Rhode Island';
|
1-1182314-5
|
What is the English version of the title Getto Daun?
|
CREATE TABLE "track_listing" (
"disc" real,
"track" real,
"english_title" text,
"japanese_title" text,
"r_maji_title" text,
"artist" text,
"track_time" text
);
|
SELECT "english_title" FROM "track_listing" WHERE "r_maji_title"='Getto Daun';
|
1-11839306-2
|
What is the smallest track number?
|
CREATE TABLE "track_listing" (
"disc" real,
"track" real,
"english_title" text,
"japanese_title" text,
"r_maji_title" text,
"artist" text,
"track_time" text
);
|
SELECT MIN("track") FROM "track_listing";
|
1-11839306-2
|
How many tracks are titled Mō Sukoshi Tōku?
|
CREATE TABLE "track_listing" (
"disc" real,
"track" real,
"english_title" text,
"japanese_title" text,
"r_maji_title" text,
"artist" text,
"track_time" text
);
|
SELECT COUNT("track") FROM "track_listing" WHERE "r_maji_title"='Mō Sukoshi Tōku';
|
1-11839306-2
|
What is the Japanese title for Fantasy?
|
CREATE TABLE "track_listing" (
"disc" real,
"track" real,
"english_title" text,
"japanese_title" text,
"r_maji_title" text,
"artist" text,
"track_time" text
);
|
SELECT "japanese_title" FROM "track_listing" WHERE "english_title"='Fantasy';
|
1-11839306-2
|
How long is track number 8?
|
CREATE TABLE "track_listing" (
"disc" real,
"track" real,
"english_title" text,
"japanese_title" text,
"r_maji_title" text,
"artist" text,
"track_time" text
);
|
SELECT "track_time" FROM "track_listing" WHERE "track"=8;
|
1-11839306-2
|
Who was the GT2 winning team when the GT3 winning team was #1 PTG?
|
CREATE TABLE "table1_11875915_2" (
"rnd" real,
"circuit" text,
"wsc_winning_team" text,
"gt1_winning_team" text,
"gt2_winning_team" text,
"gt3_winning_team" text,
"results" text
);
|
SELECT "gt2_winning_team" FROM "table1_11875915_2" WHERE "gt3_winning_team"='#1 PTG';
|
1-11875915-2
|
How many doubles champions were there for the Serbia f6 Futures tournament?
|
CREATE TABLE "events" (
"tournament" text,
"date" text,
"city" text,
"country" text,
"surface" text,
"singles_champions" text,
"doubles_champions" text
);
|
SELECT COUNT("doubles_champions") FROM "events" WHERE "tournament"='Serbia F6 Futures';
|
1-11900378-1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.