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 total number of losses for the Team of Montreal with Goals For larger than 29?
SQL: SELECT COUNT("losses") FROM "final_standing" WHERE "goals_for">29 AND "team"='montreal';

Question: What is the average Goals For for a team that has more Wins than 8?
SQL: SELECT AVG("goals_for") FROM "final_standing" WHERE "wins">8;

Question: What is the largest number of Games Played with Losses of 3, and more Wins than 5?
SQL: SELECT MAX("games_played") FROM "final_standing" WHERE "losses"=3 AND "wins">5;

Question: What are the number of Ties for games with Goals Against smaller than 33?
SQL: SELECT "ties" FROM "final_standing" WHERE "goals_against"<33;

Question: What is the number of Goals For for Games Played more than 8?
SQL: SELECT SUM("goals_for") FROM "final_standing" WHERE "games_played">8;