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

Question: How many Byes have Wins smaller than 11, and a Wimmera FL of minyip murtoa, and Losses smaller than 6?
SQL: SELECT COUNT("byes") FROM "2012_ladder" WHERE "wins"<11 AND "wimmera_fl"='minyip murtoa' AND "losses"<6;

Question: Which Losses have an Against smaller than 1018, and Wins smaller than 14?
SQL: SELECT AVG("losses") FROM "2012_ladder" WHERE "against"<1018 AND "wins"<14;

Question: Which Byes have an Against larger than 1018, and a Wimmera FL of horsham diggers?
SQL: SELECT MIN("byes") FROM "2012_ladder" WHERE "against">1018 AND "wimmera_fl"='horsham diggers';

Question: Which Losses have a Wimmera FL of minyip murtoa?
SQL: SELECT AVG("losses") FROM "2012_ladder" WHERE "wimmera_fl"='minyip murtoa';

Question: Which Against has Losses smaller than 5, and a Wimmera FL of warrack eagles, and Draws smaller than 0?
SQL: SELECT AVG("against") FROM "2012_ladder" WHERE "losses"<5 AND "wimmera_fl"='warrack eagles' AND "draws"<0;