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

Question: What is the total number of losses with less than 6 wins and less than 0 draws?
SQL: SELECT COUNT("losses") FROM "2011_ladder" WHERE "wins"<6 AND "draws"<0;

Question: What is the average number of against with less than 10 losses, more than 0 draws, and more than 7 wins?
SQL: SELECT AVG("against") FROM "2011_ladder" WHERE "losses"<10 AND "draws">0 AND "wins">7;

Question: What is the total number of byes with more than 0 losses and 1526 against?
SQL: SELECT COUNT("byes") FROM "2011_ladder" WHERE "losses">0 AND "against"=1526;

Question: What is the lowest number of draws with more than 2 byes?
SQL: SELECT MIN("draws") FROM "2011_ladder" WHERE "byes">2;

Question: What is the lowest against of the wimmera fl warrack eagles, which have less than 16 wins?
SQL: SELECT MIN("against") FROM "2011_ladder" WHERE "wins"<16 AND "wimmera_fl"='warrack eagles';