CREATE TABLE "final_standing" (
  "team" text,
  "games_played" real,
  "wins" real,
  "losses" real,
  "ties" real,
  "goals_for" real,
  "goals_against" real
);

Question: What is the average number of goals for games played that total more than 8?
SQL: SELECT AVG("goals_for") FROM "final_standing" WHERE "games_played">8;

Question: What is the sum of wins and the sum of losses less than 4 for teams larger than 20?
SQL: SELECT SUM("wins") FROM "final_standing" WHERE "losses"<4 AND "goals_against">20;