CREATE TABLE "2009_ladder" (
  "mininera_dfl" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);

Question: Which byes are high when losses are larger than 7, wins smaller than 6, and draws are smaller than 0?
SQL: SELECT MAX("byes") FROM "2009_ladder" WHERE "losses">7 AND "wins"<6 AND "draws"<0;

Question: What is the sum of losses when draws are larger than 0?
SQL: SELECT COUNT("losses") FROM "2009_ladder" WHERE "draws">0;

Question: What draws are the lowest when wins are larger than 18?
SQL: SELECT MIN("draws") FROM "2009_ladder" WHERE "wins">18;

Question: What is the sum of byes when wins are 8, and losses are larger than 10?
SQL: SELECT COUNT("byes") FROM "2009_ladder" WHERE "wins"=8 AND "losses">10;

Question: Which against has the lowest when byes are larger than 0?
SQL: SELECT MIN("against") FROM "2009_ladder" WHERE "byes">0;

Question: What are the highest losses when byes are larger than 0?
SQL: SELECT MAX("losses") FROM "2009_ladder" WHERE "byes">0;