CREATE TABLE "participating_teams" (
  "pos_in_2007" text,
  "club" text,
  "city" text,
  "best_position" text,
  "seasons_in_league" real
);

Question: Which sum of Seasons in league has a Best Position of 5th (2007)?
SQL: SELECT SUM("seasons_in_league") FROM "participating_teams" WHERE "best_position"='5th (2007)';

Question: Which City has Seasons in league of 17, and a Club of shakhter?
SQL: SELECT "city" FROM "participating_teams" WHERE "seasons_in_league"=17 AND "club"='shakhter';