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

Question: How many wins are there when the draws are less than 0?
SQL: SELECT SUM("wins") FROM "1940_ladder" WHERE "draws"<0;

Question: What are the most losses when there are 5 wins and draws less than 0?
SQL: SELECT MAX("losses") FROM "1940_ladder" WHERE "wins"=5 AND "draws"<0;

Question: What are the most wins of Terang with the draws less than 0?
SQL: SELECT MAX("wins") FROM "1940_ladder" WHERE "club"='terang' AND "draws"<0;

Question: What is the lowest against when the draws are more than 0 and the losses are less than 3?
SQL: SELECT MIN("against") FROM "1940_ladder" WHERE "losses"<3 AND "draws">0;

Question: What are the least losses of Warrnambool with more than 6 wins and less than 630 against?
SQL: SELECT MIN("losses") FROM "1940_ladder" WHERE "against"<630 AND "club"='warrnambool' AND "wins">6;

Question: What are the draws of Cobden when there are more than 3 losses?
SQL: SELECT AVG("draws") FROM "1940_ladder" WHERE "losses">3 AND "club"='cobden';