CREATE TABLE "2012_ladder" (
  "peel" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);

Question: What is the largest Against with a Byes larger than 0?
SQL: SELECT MAX("against") FROM "2012_ladder" WHERE "byes">0;

Question: Which Wins has an Against of 1940, and a Byes larger than 0?
SQL: SELECT MAX("wins") FROM "2012_ladder" WHERE "against"=1940 AND "byes">0;

Question: Which Draws has a Wins of 10, and a Peel of south mandurah, and a Byes larger than 0?
SQL: SELECT AVG("draws") FROM "2012_ladder" WHERE "wins"=10 AND "peel"='south mandurah' AND "byes">0;

Question: Which Against has a Draws larger than 0, a Losses smaller than 16, and a Wins smaller than 4?
SQL: SELECT MAX("against") FROM "2012_ladder" WHERE "draws">0 AND "losses"<16 AND "wins"<4;

Question: Which Losses has an Against of 1101, and a Byes smaller than 0?
SQL: SELECT COUNT("losses") FROM "2012_ladder" WHERE "against"=1101 AND "byes"<0;

Question: Which Byes has a Losses smaller than 1?
SQL: SELECT MAX("byes") FROM "2012_ladder" WHERE "losses"<1;