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 sum of the losses by the Montreal Hockey Club, who have more than 15 Goals Against?
SQL: SELECT SUM("losses") FROM "final_standing" WHERE "team"='montreal hockey club' AND "goals_against">15;

Question: What is the largest Goals For by a team that has more than 0 ties?
SQL: SELECT MAX("goals_for") FROM "final_standing" WHERE "ties">0;

Question: How many ties do teams with 25 Goals For and more than 5 wins have?
SQL: SELECT SUM("ties") FROM "final_standing" WHERE "goals_for"=25 AND "wins">5;

Question: What is the lowest Goals Against by a team with more than 5 wins?
SQL: SELECT MIN("goals_against") FROM "final_standing" WHERE "wins">5;

Question: What is the total number of ties a team with less than 3 losses have?
SQL: SELECT COUNT("ties") FROM "final_standing" WHERE "losses"<3;