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

Question: for a Goals Against greater than 42 what is the number of losses?
SQL: SELECT AVG("losses") FROM "final_standing" WHERE "goals_against">42;

Question: for goals less than 48 and 8 games played what is the count of losses?
SQL: SELECT MAX("losses") FROM "final_standing" WHERE "games_played"=8 AND "goals_for"<48;

Question: what is the number of losses with wins less than 4 and goals against more than 39?
SQL: SELECT COUNT("losses") FROM "final_standing" WHERE "goals_against">39 AND "wins"<4;