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

Question: I want the sum of number of seasons in top division for position in 2012-13 of 009 9th and number of seasons in premier league less than 3
SQL: SELECT SUM("number_of_seasons_in_top_division") FROM "clubs" WHERE "position_in_2012_13"='009 9th' AND "number_of_seasons_in_the_premier_league"<3;