How many ties do teams with 25 Goals For and more than 5 wins have?
CREATE TABLE "final_standing" (
  "team" text,
  "games_played" real,
  "wins" real,
  "losses" real,
  "ties" real,
  "goals_for" real,
  "goals_against" real
);
SELECT SUM("ties") FROM "final_standing" WHERE "goals_for"=25 AND "wins">5;