CREATE TABLE "1937_ladder" (
  "club" text,
  "wins" real,
  "losses" real,
  "draws" real,
  "against" real
);

Question: what is the average wins when draws is less than 0?
SQL: SELECT AVG("wins") FROM "1937_ladder" WHERE "draws"<0;

Question: what is the average losses when the club is warrnambool and wins is less than 12?
SQL: SELECT AVG("losses") FROM "1937_ladder" WHERE "club"='warrnambool' AND "wins"<12;

Question: what is the most losses when the club is terang and draws is less than 0?
SQL: SELECT MAX("losses") FROM "1937_ladder" WHERE "club"='terang' AND "draws"<0;

Question: What is the sum of losses when wins is more than 6, club is camperdown and against is more than 1238?
SQL: SELECT SUM("losses") FROM "1937_ladder" WHERE "wins">6 AND "club"='camperdown' AND "against">1238;