CREATE TABLE "final_table" (
  "position" real,
  "club" text,
  "played" real,
  "points" text,
  "wins" real,
  "draws" real,
  "losses" real,
  "goals_for" real,
  "goals_against" real,
  "goal_difference" real
);

Question: Name the least goals for goal difference of 7 and losses more than 13
SQL: SELECT MIN("goals_against") FROM "final_table" WHERE "goal_difference"=7 AND "losses">13;

Question: Tell me the total number of positions with goal difference more than -17 and played less than 38
SQL: SELECT COUNT("position") FROM "final_table" WHERE "goal_difference">-17 AND "played"<38;