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

Question: What team has the most wins with at least 18 goals and less than 5 losses?
SQL: SELECT MAX("wins") FROM "final_standing" WHERE "goals_for"=18 AND "losses"<5;

Question: How many times has the Cornwall HC team, that has scored more than 18 goals, lost ?
SQL: SELECT COUNT("losses") FROM "final_standing" WHERE "team"='cornwall hc' AND "goals_for">18;