How many goals for were scored for the team(s) that won fewer than 4 games and lost more than 6?
CREATE TABLE "final_standing" (
  "team" text,
  "games_played" real,
  "wins" real,
  "losses" real,
  "ties" real,
  "goals_for" real,
  "goals_against" real
);
SELECT SUM("goals_for") FROM "final_standing" WHERE "wins"<4 AND "losses">6;