question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
How many times is a score for stolen ends recorded for France?
CREATE TABLE "round_robin" ( "country" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real );
SELECT COUNT("stolen_ends") FROM "round_robin" WHERE "country"='France';
1-1644857-2
How many ends were lost by the country whose points for (PF) was 87?
CREATE TABLE "round_robin" ( "country" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real );
SELECT MAX("ends_lost") FROM "round_robin" WHERE "pf"=87;
1-1644857-2
What is the 25 to 29 maximum if 30 to 34 is 1357?
CREATE TABLE "1_ethnic_russians" ( "children_women_over_15" real, "oblast_age_of_women" text, "15_to_17" real, "18_to_19" real, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real, "50_to_54" real, "55_to_59" real, "60_to_64" real, "65_to_69" real, "70" real );
SELECT MIN("25_to_29") FROM "1_ethnic_russians" WHERE "30_to_34"=1357;
1-16457934-1
If 70+ is 2554, what is the 25 to 29 amount?
CREATE TABLE "1_ethnic_russians" ( "children_women_over_15" real, "oblast_age_of_women" text, "15_to_17" real, "18_to_19" real, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real, "50_to_54" real, "55_to_59" real, "60_to_64" real, "65_to_69" real, "70" real );
SELECT "25_to_29" FROM "1_ethnic_russians" WHERE "70"=2554;
1-16457934-1
How many seasons was Dave Reid treasurer?
CREATE TABLE "executive_committee" ( "season" text, "president" text, "general_sec" text, "treasurer" text, "fixtures_sec" text, "social_sec_bradford" text, "social_sec_leeds" text, "media_officer" text );
SELECT COUNT("season") FROM "executive_committee" WHERE "treasurer"='Dave Reid';
1-16446652-1
When was Jonny Leadbeater President?
CREATE TABLE "executive_committee" ( "season" text, "president" text, "general_sec" text, "treasurer" text, "fixtures_sec" text, "social_sec_bradford" text, "social_sec_leeds" text, "media_officer" text );
SELECT "season" FROM "executive_committee" WHERE "president"='Jonny Leadbeater';
1-16446652-1
Who was the skip with 14 stolen ends?
CREATE TABLE "round_robin" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text );
SELECT "skip" FROM "round_robin" WHERE "stolen_ends"=14;
1-1644876-2
What is the fewest number of losses?
CREATE TABLE "round_robin" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text );
SELECT MIN("l") FROM "round_robin";
1-1644876-2
What are the shot percentages for teams that played in switzerland?
CREATE TABLE "round_robin" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text );
SELECT "shot_pct" FROM "round_robin" WHERE "locale"='Switzerland';
1-1644876-2
What is the lowest number of losses for teams that lost 52 ends?
CREATE TABLE "round_robin" ( "locale" text, "skip" text, "w" real, "l" real, "pf" real, "pa" real, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" text );
SELECT MIN("l") FROM "round_robin" WHERE "ends_lost"=52;
1-1644876-2
When 1509 is the c/w 15+ how many results of 15 to 17 are there?
CREATE TABLE "2_ukrainians" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" text, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real, "50_to_54" real, "55_to_59" real, "60_to_64" real, "65_to_69" real, "70" real );
SELECT COUNT("15_to_17") FROM "2_ukrainians" WHERE "c_w_15"=1509;
1-16457934-2
When 2275 is 70+ how many results of 40 to 44 are there?
CREATE TABLE "2_ukrainians" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" text, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real, "50_to_54" real, "55_to_59" real, "60_to_64" real, "65_to_69" real, "70" real );
SELECT COUNT("40_to_44") FROM "2_ukrainians" WHERE "70"=2275;
1-16457934-2
When pskov is oblast\age what is the result of 18 to 19?
CREATE TABLE "2_ukrainians" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" text, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real, "50_to_54" real, "55_to_59" real, "60_to_64" real, "65_to_69" real, "70" real );
SELECT "18_to_19" FROM "2_ukrainians" WHERE "oblast_age"='Pskov';
1-16457934-2
When 2073 is 65 to 69 how many results of 25 to 29 are there?
CREATE TABLE "2_ukrainians" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" text, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real, "50_to_54" real, "55_to_59" real, "60_to_64" real, "65_to_69" real, "70" real );
SELECT COUNT("25_to_29") FROM "2_ukrainians" WHERE "65_to_69"=2073;
1-16457934-2
When 2054 is the result of 50 to 54 what is the oblast\age?
CREATE TABLE "2_ukrainians" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" text, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real, "50_to_54" real, "55_to_59" real, "60_to_64" real, "65_to_69" real, "70" real );
SELECT "oblast_age" FROM "2_ukrainians" WHERE "50_to_54"=2054;
1-16457934-2
When voronezh is the oblast\age what is the lowest result of 65 to 69?
CREATE TABLE "2_ukrainians" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" text, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real, "50_to_54" real, "55_to_59" real, "60_to_64" real, "65_to_69" real, "70" real );
SELECT MIN("65_to_69") FROM "2_ukrainians" WHERE "oblast_age"='Voronezh';
1-16457934-2
what is the number for 65-69 where 50-54 is 1571?
CREATE TABLE "4_tatars" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" real, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real, "50_to_54" real, "55_to_59" real, "60_to_64" real, "65_to_69" real, "70" real );
SELECT "65_to_69" FROM "4_tatars" WHERE "50_to_54"=1571;
1-16457934-4
what is the minimum of 60 -64?
CREATE TABLE "4_tatars" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" real, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real, "50_to_54" real, "55_to_59" real, "60_to_64" real, "65_to_69" real, "70" real );
SELECT MIN("60_to_64") FROM "4_tatars";
1-16457934-4
what is the maximum 18 to 19 and 30-34 is 1203?
CREATE TABLE "4_tatars" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" real, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real, "50_to_54" real, "55_to_59" real, "60_to_64" real, "65_to_69" real, "70" real );
SELECT MAX("18_to_19") FROM "4_tatars" WHERE "30_to_34"=1203;
1-16457934-4
what is the maximum 65-69 and 35-39 is 1606?
CREATE TABLE "4_tatars" ( "c_w_15" real, "oblast_age" text, "15_to_17" real, "18_to_19" real, "20_to_24" real, "25_to_29" real, "30_to_34" real, "35_to_39" real, "40_to_44" real, "45_to_49" real, "50_to_54" real, "55_to_59" real, "60_to_64" real, "65_to_69" real, "70" real );
SELECT MAX("65_to_69") FROM "4_tatars" WHERE "35_to_39"=1606;
1-16457934-4
What province has the Chinese translation 重庆?
CREATE TABLE "china_prc" ( "city" text, "chinese" text, "pinyin" text, "province" text, "urban_population_2010" real, "administrative_population_2010" real );
SELECT COUNT("province") FROM "china_prc" WHERE "chinese"='重庆';
1-16489766-2
What is the total administrative population of Shanghai?
CREATE TABLE "china_prc" ( "city" text, "chinese" text, "pinyin" text, "province" text, "urban_population_2010" real, "administrative_population_2010" real );
SELECT COUNT("administrative_population_2010") FROM "china_prc" WHERE "city"='Shanghai';
1-16489766-2
What is the maximum administrative population of the city with Chinese translation 昆明?
CREATE TABLE "china_prc" ( "city" text, "chinese" text, "pinyin" text, "province" text, "urban_population_2010" real, "administrative_population_2010" real );
SELECT MAX("administrative_population_2010") FROM "china_prc" WHERE "chinese"='昆明';
1-16489766-2
What is the total urban population of the city with the pinyin translation chángchūn?
CREATE TABLE "china_prc" ( "city" text, "chinese" text, "pinyin" text, "province" text, "urban_population_2010" real, "administrative_population_2010" real );
SELECT COUNT("urban_population_2010") FROM "china_prc" WHERE "pinyin"='Chángchūn';
1-16489766-2
What player was on the Grizzlies from 2009-2013?
CREATE TABLE "a" ( "player" text, "no" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "player" FROM "a" WHERE "years_for_grizzlies"='2009-2013';
1-16494599-1
What nationality is the player who went to school at South Florida?
CREATE TABLE "a" ( "player" text, "no" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "nationality" FROM "a" WHERE "school_club_team"='South Florida';
1-16494599-1
What position is the player who was on the Grizzlies from 1995-1996?
CREATE TABLE "a" ( "player" text, "no" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "position" FROM "a" WHERE "years_for_grizzlies"='1995-1996';
1-16494599-1
How may players played for the Grizzlies from 2000-2002?
CREATE TABLE "a" ( "player" text, "no" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT COUNT("no") FROM "a" WHERE "years_for_grizzlies"='2000-2002';
1-16494599-1
Name the miles for june 7
CREATE TABLE "table1_16493961_1" ( "year" real, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );
SELECT "miles_km" FROM "table1_16493961_1" WHERE "date"='June 7';
1-16493961-1
Name the driver for race time being 2:34:21
CREATE TABLE "table1_16493961_1" ( "year" real, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );
SELECT "driver" FROM "table1_16493961_1" WHERE "race_time"='2:34:21';
1-16493961-1
Name the driver for june 23 and team of penske racing
CREATE TABLE "table1_16493961_1" ( "year" real, "date" text, "driver" text, "team" text, "manufacturer" text, "laps" text, "miles_km" text, "race_time" text, "average_speed_mph" text, "report" text );
SELECT "driver" FROM "table1_16493961_1" WHERE "date"='June 23' AND "team"='Penske Racing';
1-16493961-1
Who was the director for the episode in season #50?
CREATE TABLE "season_3_1998_99" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );
SELECT "directed_by" FROM "season_3_1998_99" WHERE "series_num"=50;
1-16471432-4
How many directors were there in total for the episode with series #62?
CREATE TABLE "season_3_1998_99" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );
SELECT COUNT("directed_by") FROM "season_3_1998_99" WHERE "series_num"=62;
1-16471432-4
What season was the episode titled "Harlequin" in?
CREATE TABLE "season_3_1998_99" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text );
SELECT MAX("season_num") FROM "season_3_1998_99" WHERE "title"='\"Harlequin\"';
1-16471432-4
What are the nationalities of players who attended duke?
CREATE TABLE "j" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT COUNT("nationality") FROM "j" WHERE "school_club_team"='Duke';
1-16494599-10
How many nationalities does athlete Casey Jacobsen have?
CREATE TABLE "j" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT COUNT("nationality") FROM "j" WHERE "player"='Casey Jacobsen';
1-16494599-10
Who are the players that have attended Stanford?
CREATE TABLE "j" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "player" FROM "j" WHERE "school_club_team"='Stanford';
1-16494599-10
How many athletes play the position of guard?
CREATE TABLE "j" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT COUNT("player") FROM "j" WHERE "position"='Guard';
1-16494599-10
During what years did athletes who attended school in Minnesota play for the Grizzlies?
CREATE TABLE "j" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "years_for_grizzlies" FROM "j" WHERE "school_club_team"='Minnesota';
1-16494599-10
How many players went to depaul?
CREATE TABLE "b" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT COUNT("player") FROM "b" WHERE "school_club_team"='DePaul';
1-16494599-2
What school did the player who was with the grizzles in 2011 attend?
CREATE TABLE "c" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "school_club_team" FROM "c" WHERE "years_for_grizzlies"='2011';
1-16494599-3
What players attended missouri?
CREATE TABLE "c" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "player" FROM "c" WHERE "school_club_team"='Missouri';
1-16494599-3
What position(s) does the player from seton hall play?
CREATE TABLE "d" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "position" FROM "d" WHERE "school_club_team"='Seton Hall';
1-16494599-4
What number does the player who was with the grizzles in 1999 wear?
CREATE TABLE "d" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT MIN("no") FROM "d" WHERE "years_for_grizzlies"='1999';
1-16494599-4
What players play guard?
CREATE TABLE "d" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "player" FROM "d" WHERE "position"='Guard';
1-16494599-4
What position(s) do players from bowling green play?
CREATE TABLE "d" ( "player" text, "no" real, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "position" FROM "d" WHERE "school_club_team"='Bowling Green';
1-16494599-4
Name the most losses for leslie mann
CREATE TABLE "table1_16512618_1" ( "year_affiliation" text, "wins" real, "losses" real, "winning_pct" text, "gb_division_standing" text, "manager" text );
SELECT MAX("losses") FROM "table1_16512618_1" WHERE "manager"='Leslie Mann';
1-16512618-1
who is the vacator whre the district is new jersey 2nd?
CREATE TABLE "table1_1651764_3" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text );
SELECT "vacator" FROM "table1_1651764_3" WHERE "district"='New Jersey 2nd';
1-1651764-3
what is the date the successor seated because the person died august 17, 1954?
CREATE TABLE "table1_1652224_5" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text );
SELECT "date_successor_seated" FROM "table1_1652224_5" WHERE "reason_for_change"='Died August 17, 1954';
1-1652224-5
who was the successor for district ohio 15th?
CREATE TABLE "table1_1652224_5" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text );
SELECT "successor" FROM "table1_1652224_5" WHERE "district"='Ohio 15th';
1-1652224-5
what is the total number for reason for change is district michigan 3rd?
CREATE TABLE "table1_1652224_5" ( "district" text, "vacator" text, "reason_for_change" text, "successor" text, "date_successor_seated" text );
SELECT COUNT("reason_for_change") FROM "table1_1652224_5" WHERE "district"='Michigan 3rd';
1-1652224-5
What day did ARchie Roberts die?
CREATE TABLE "table1_16527640_3" ( "player" text, "vfl_games" real, "vfl_club_s" text, "rank_held_at_time_of_death" text, "date_of_death" text, "location" text );
SELECT "date_of_death" FROM "table1_16527640_3" WHERE "player"='Archie Roberts';
1-16527640-3
What location had a VFL Game number of 9?
CREATE TABLE "table1_16527640_3" ( "player" text, "vfl_games" real, "vfl_club_s" text, "rank_held_at_time_of_death" text, "date_of_death" text, "location" text );
SELECT "location" FROM "table1_16527640_3" WHERE "vfl_games"=9;
1-16527640-3
How many VFL games were located off Goodenough Island Milne Bay?
CREATE TABLE "table1_16527640_3" ( "player" text, "vfl_games" real, "vfl_club_s" text, "rank_held_at_time_of_death" text, "date_of_death" text, "location" text );
SELECT "vfl_games" FROM "table1_16527640_3" WHERE "location"='off Goodenough Island Milne Bay';
1-16527640-3
Name the 3rd stage for parameter of thrust
CREATE TABLE "specifications" ( "parameter" text, "1st_stage" text, "2nd_stage" text, "3rd_stage" text, "4th_stage" text );
SELECT "3rd_stage" FROM "specifications" WHERE "parameter"='Thrust';
1-16537783-2
Name the parameter for 2.67 m
CREATE TABLE "specifications" ( "parameter" text, "1st_stage" text, "2nd_stage" text, "3rd_stage" text, "4th_stage" text );
SELECT "parameter" FROM "specifications" WHERE "1st_stage"='2.67 m';
1-16537783-2
Name the paarameter for 1.0 m 3rd stage
CREATE TABLE "specifications" ( "parameter" text, "1st_stage" text, "2nd_stage" text, "3rd_stage" text, "4th_stage" text );
SELECT "parameter" FROM "specifications" WHERE "3rd_stage"='1.0 m';
1-16537783-2
Name the 1st stage for parameter being diameter
CREATE TABLE "specifications" ( "parameter" text, "1st_stage" text, "2nd_stage" text, "3rd_stage" text, "4th_stage" text );
SELECT "1st_stage" FROM "specifications" WHERE "parameter"='Diameter';
1-16537783-2
How many episodes have the title "the world of who"?
CREATE TABLE "series_1_2005" ( "episode_num" text, "original_airdate_uk" text, "episode_title" text, "doctor_who_episode" text, "webcast_link" text );
SELECT COUNT("episode_num") FROM "series_1_2005" WHERE "episode_title"='\"The World of Who\"';
1-1656361-1
What episode number is the episode "bringing back the doctor"?
CREATE TABLE "series_1_2005" ( "episode_num" text, "original_airdate_uk" text, "episode_title" text, "doctor_who_episode" text, "webcast_link" text );
SELECT "episode_num" FROM "series_1_2005" WHERE "episode_title"='\"Bringing Back the Doctor\"';
1-1656361-1
What is the episode number for the episode "a new dimension"?
CREATE TABLE "series_1_2005" ( "episode_num" text, "original_airdate_uk" text, "episode_title" text, "doctor_who_episode" text, "webcast_link" text );
SELECT "episode_num" FROM "series_1_2005" WHERE "episode_title"='\"A New Dimension\"';
1-1656361-1
Which archbishop was ordained as bishop November 30, 1925?
CREATE TABLE "archbishops" ( "archbishop" text, "born" text, "ordained_priest" text, "ordained_bishop" text, "appointed_archbishop" text, "vacated_throne" text, "died" text );
SELECT "archbishop" FROM "archbishops" WHERE "ordained_bishop"='November 30, 1925';
1-1656555-1
What is the death date of the archbishop who was ordained as bishop April 26, 1927?
CREATE TABLE "archbishops" ( "archbishop" text, "born" text, "ordained_priest" text, "ordained_bishop" text, "appointed_archbishop" text, "vacated_throne" text, "died" text );
SELECT "died" FROM "archbishops" WHERE "ordained_bishop"='April 26, 1927';
1-1656555-1
How many appointed archbishops were ordained as priests on December 20, 1959
CREATE TABLE "archbishops" ( "archbishop" text, "born" text, "ordained_priest" text, "ordained_bishop" text, "appointed_archbishop" text, "vacated_throne" text, "died" text );
SELECT COUNT("appointed_archbishop") FROM "archbishops" WHERE "ordained_priest"='December 20, 1959';
1-1656555-1
What date was the person ordained as a priest in December 1838 ordained as a bishop?
CREATE TABLE "archbishops" ( "archbishop" text, "born" text, "ordained_priest" text, "ordained_bishop" text, "appointed_archbishop" text, "vacated_throne" text, "died" text );
SELECT "ordained_bishop" FROM "archbishops" WHERE "ordained_priest"='December 1838';
1-1656555-1
When was the archbishop who vacated the throne on August 18, 1885 ordained as a priest?
CREATE TABLE "archbishops" ( "archbishop" text, "born" text, "ordained_priest" text, "ordained_bishop" text, "appointed_archbishop" text, "vacated_throne" text, "died" text );
SELECT "ordained_priest" FROM "archbishops" WHERE "vacated_throne"='August 18, 1885';
1-1656555-1
How many players Bowled 4/125?
CREATE TABLE "best_bowling_averages" ( "player" text, "team" text, "matches" real, "wickets" real, "average" text, "best_bowling" text );
SELECT COUNT("player") FROM "best_bowling_averages" WHERE "best_bowling"='4/125';
1-16570286-4
What number of wickets were there when the average was 22.66?
CREATE TABLE "best_bowling_averages" ( "player" text, "team" text, "matches" real, "wickets" real, "average" text, "best_bowling" text );
SELECT MAX("wickets") FROM "best_bowling_averages" WHERE "average"='22.66';
1-16570286-4
How many wickets were there when average was 22.66?
CREATE TABLE "best_bowling_averages" ( "player" text, "team" text, "matches" real, "wickets" real, "average" text, "best_bowling" text );
SELECT "wickets" FROM "best_bowling_averages" WHERE "average"='22.66';
1-16570286-4
What was the best bowling score when the average was 23.33?
CREATE TABLE "best_bowling_averages" ( "player" text, "team" text, "matches" real, "wickets" real, "average" text, "best_bowling" text );
SELECT "best_bowling" FROM "best_bowling_averages" WHERE "average"='23.33';
1-16570286-4
How many matches had 11 wickets?
CREATE TABLE "best_bowling_averages" ( "player" text, "team" text, "matches" real, "wickets" real, "average" text, "best_bowling" text );
SELECT MAX("matches") FROM "best_bowling_averages" WHERE "wickets"=11;
1-16570286-4
How many wickets did Alec bedser have?
CREATE TABLE "best_bowling_averages" ( "player" text, "team" text, "matches" real, "wickets" real, "average" text, "best_bowling" text );
SELECT MAX("wickets") FROM "best_bowling_averages" WHERE "player"='Alec Bedser';
1-16570286-4
Who picked dimitri tsoumpas?
CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "cfl_team" FROM "round_one" WHERE "player"='Dimitri Tsoumpas';
1-16575609-1
What position did the winnipeg blue bombers draft?
CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "position" FROM "round_one" WHERE "cfl_team"='Winnipeg Blue Bombers';
1-16575609-1
Where did Brendon Labatte get picked?
CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT MIN("pick_num") FROM "round_one" WHERE "player"='Brendon LaBatte';
1-16575609-1
Who picked a player from Weber State?
CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "cfl_team" FROM "round_one" WHERE "college"='Weber State';
1-16575609-1
What position was taken out of Louisiana-Lafayette?
CREATE TABLE "round_one" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "position" FROM "round_one" WHERE "college"='Louisiana-Lafayette';
1-16575609-1
Name the college for calgary stampeders
CREATE TABLE "round_four" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "college" FROM "round_four" WHERE "cfl_team"='Calgary Stampeders';
1-16575609-4
Name the most pick number for cfl team being edmonton eskimos
CREATE TABLE "round_four" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT MAX("pick_num") FROM "round_four" WHERE "cfl_team"='Edmonton Eskimos';
1-16575609-4
How many days are associated with production code 210?
CREATE TABLE "table1_16581695_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" real );
SELECT COUNT("original_airdate") FROM "table1_16581695_3" WHERE "production_code"=210;
1-16581695-3
How many titles have a production code of 211?
CREATE TABLE "table1_16581695_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" real );
SELECT COUNT("title") FROM "table1_16581695_3" WHERE "production_code"=211;
1-16581695-3
How many seasons have a production code of 204?
CREATE TABLE "table1_16581695_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" real );
SELECT COUNT("no_in_season") FROM "table1_16581695_3" WHERE "production_code"=204;
1-16581695-3
What title was written by Matt Wayne?
CREATE TABLE "table1_16581695_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" real );
SELECT "title" FROM "table1_16581695_3" WHERE "written_by"='Matt Wayne';
1-16581695-3
What is the series episode number of the episode with production code 303?
CREATE TABLE "table1_16581695_4" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" text );
SELECT "no_in_series" FROM "table1_16581695_4" WHERE "production_code"='303';
1-16581695-4
What is the production code for episode 15 in season 3?
CREATE TABLE "table1_16581695_4" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" text );
SELECT "production_code" FROM "table1_16581695_4" WHERE "no_in_season"='15';
1-16581695-4
Who directed episode 12 in season 3?
CREATE TABLE "table1_16581695_4" ( "no_in_series" text, "no_in_season" text, "title" text, "directed_by" text, "written_by" text, "original_airdate" text, "production_code" text );
SELECT "directed_by" FROM "table1_16581695_4" WHERE "no_in_season"='12';
1-16581695-4
How many tree species are listed when the total plant species is 258?
CREATE TABLE "list_of_protected_forests" ( "central_forest_reserve" text, "size_in_km" real, "total_plant_species" real, "tree_species" real, "endemic" real, "threatened_cr_vu_en" real );
SELECT "tree_species" FROM "list_of_protected_forests" WHERE "total_plant_species"=258;
1-16577990-1
How many tree species are there when the total plant species is 113?
CREATE TABLE "list_of_protected_forests" ( "central_forest_reserve" text, "size_in_km" real, "total_plant_species" real, "tree_species" real, "endemic" real, "threatened_cr_vu_en" real );
SELECT COUNT("tree_species") FROM "list_of_protected_forests" WHERE "total_plant_species"=113;
1-16577990-1
What is the size of Itwara central forest reserve?
CREATE TABLE "list_of_protected_forests" ( "central_forest_reserve" text, "size_in_km" real, "total_plant_species" real, "tree_species" real, "endemic" real, "threatened_cr_vu_en" real );
SELECT MIN("size_in_km") FROM "list_of_protected_forests" WHERE "central_forest_reserve"='Itwara';
1-16577990-1
How many tree species are in the kitechura reserve?
CREATE TABLE "list_of_protected_forests" ( "central_forest_reserve" text, "size_in_km" real, "total_plant_species" real, "tree_species" real, "endemic" real, "threatened_cr_vu_en" real );
SELECT "tree_species" FROM "list_of_protected_forests" WHERE "central_forest_reserve"='Kitechura';
1-16577990-1
What episode titles have 17.93 million U.S. viewers?
CREATE TABLE "table1_16617025_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "title" FROM "table1_16617025_1" WHERE "u_s_viewers_millions"='17.93';
1-16617025-1
What episode titles have 20.94 million U.S. viewers?
CREATE TABLE "table1_16617025_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "title" FROM "table1_16617025_1" WHERE "u_s_viewers_millions"='20.94';
1-16617025-1
In what seasons did Kate Woods direct Without A Trace?
CREATE TABLE "table1_16617025_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "season_num" FROM "table1_16617025_1" WHERE "directed_by"='Kate Woods';
1-16617025-1
Who wrote Season 8?
CREATE TABLE "table1_16617025_1" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "u_s_viewers_millions" text );
SELECT "written_by" FROM "table1_16617025_1" WHERE "season_num"=8;
1-16617025-1
When did the country that produced 1,213,000 (21st) bbl/day join Opec?
CREATE TABLE "table1_166346_1" ( "country" text, "region" text, "joined_opec" real, "population_july_2012" real, "area_km" real, "production_bbl_day" text );
SELECT "joined_opec" FROM "table1_166346_1" WHERE "production_bbl_day"='1,213,000 (21st)';
1-166346-1
What was the minimum area in square kilometers that produced 3,200,000 (12th) bbl/day?
CREATE TABLE "table1_166346_1" ( "country" text, "region" text, "joined_opec" real, "population_july_2012" real, "area_km" real, "production_bbl_day" text );
SELECT MIN("area_km") FROM "table1_166346_1" WHERE "production_bbl_day"='3,200,000 (12th)';
1-166346-1
What is the highest poplulation in July 2012 in the country with an area of 2149690 square kilometers?
CREATE TABLE "table1_166346_1" ( "country" text, "region" text, "joined_opec" real, "population_july_2012" real, "area_km" real, "production_bbl_day" text );
SELECT MAX("population_july_2012") FROM "table1_166346_1" WHERE "area_km"=2149690;
1-166346-1
Which regions had a production (bbl/day) of 1,213,000 (21st)?
CREATE TABLE "table1_166346_1" ( "country" text, "region" text, "joined_opec" real, "population_july_2012" real, "area_km" real, "production_bbl_day" text );
SELECT "region" FROM "table1_166346_1" WHERE "production_bbl_day"='1,213,000 (21st)';
1-166346-1
Which country had a production (bbl/day) of 2,494,000 (10th)?
CREATE TABLE "table1_166346_1" ( "country" text, "region" text, "joined_opec" real, "population_july_2012" real, "area_km" real, "production_bbl_day" text );
SELECT "country" FROM "table1_166346_1" WHERE "production_bbl_day"='2,494,000 (10th)';
1-166346-1
What are all the approved treatments for the target CD30?
CREATE TABLE "cancer_immunotherapy_monoclonal_antibodi" ( "antibody" text, "brand_name" text, "approval_date" real, "type" text, "target" text, "approved_treatment_s" text );
SELECT "approved_treatment_s" FROM "cancer_immunotherapy_monoclonal_antibodi" WHERE "target"='CD30';
1-1661124-1