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

Question: Which Wins has a Byes larger than 0?
SQL: SELECT MAX("wins") FROM "2011_ladder" WHERE "byes">0;

Question: Which Against has a Peel of waroona, and a Byes larger than 0?
SQL: SELECT MAX("against") FROM "2011_ladder" WHERE "peel"='waroona' AND "byes">0;

Question: Which Draws has a Wins smaller than 17, and an Against smaller than 1158?
SQL: SELECT COUNT("draws") FROM "2011_ladder" WHERE "wins"<17 AND "against"<1158;

Question: Which Draws has an Against larger than 1158, and a Wins of 9, and a Losses smaller than 9?
SQL: SELECT SUM("draws") FROM "2011_ladder" WHERE "against">1158 AND "wins"=9 AND "losses"<9;

Question: Which Losses has a Wins of 6, and an Against smaller than 1741?
SQL: SELECT MIN("losses") FROM "2011_ladder" WHERE "wins"=6 AND "against"<1741;