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

Question: What was the total number of wins that had an against greater than 1136 but losses less than 15 with Ultima with less than 2 byes?
SQL: SELECT SUM("wins") FROM "2012_ladder" WHERE "against">1136 AND "losses"<15 AND "golden_rivers"='ultima' AND "byes"<2;

Question: What's the average number of wins for those with less than 2 byes?
SQL: SELECT AVG("wins") FROM "2012_ladder" WHERE "byes"<2;

Question: What's the greatest losses for those with more than 13 wins?
SQL: SELECT MAX("losses") FROM "2012_ladder" WHERE "wins">13;

Question: What was the greatest number of wins for a team that had 7 losses and more than 0 draws?
SQL: SELECT MAX("wins") FROM "2012_ladder" WHERE "losses"=7 AND "draws">0;

Question: What's the number of byes for someone who had 7 wins and an against number greater than 1412?
SQL: SELECT SUM("byes") FROM "2012_ladder" WHERE "wins"=7 AND "against">1412;

Question: What's the total wins of a team with more than 2 byes?
SQL: SELECT COUNT("wins") FROM "2012_ladder" WHERE "byes">2;