CREATE TABLE "clubs" (
  "club" text,
  "city_or_town" text,
  "position_in_2012_13_season" text,
  "first_season_in_top_division" text,
  "number_of_seasons_in_top_division" real,
  "first_season_of_current_spell_in_top_division" text,
  "top_division_titles" text,
  "last_top_division_title" text
);

Question: Which City or town has a Top division titles of 17
SQL: SELECT "city_or_town" FROM "clubs" WHERE "top_division_titles"='17';

Question: Which City or town has top division smaller than 40 and Gaziantepspor Club ?
SQL: SELECT "city_or_town" FROM "clubs" WHERE "number_of_seasons_in_top_division"<40 AND "club"='gaziantepspor';