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

Question: What is the greatest number of losses when the against is 1465 and there are more than 7 wins?
SQL: SELECT MAX("losses") FROM "2005_ladder" WHERE "against"=1465 AND "wins">7;

Question: What is the total of against matches when there are less than 12 wins, less than 0 draws, and Moulamein is the golden river?
SQL: SELECT SUM("against") FROM "2005_ladder" WHERE "wins"<12 AND "golden_rivers"='moulamein' AND "draws"<0;

Question: What is the total losses when Hay is the golden river and there are more than 2 byes?
SQL: SELECT COUNT("losses") FROM "2005_ladder" WHERE "golden_rivers"='hay' AND "byes">2;

Question: What is the total number of draws when there are 1465 against matches and less than 2 byes?
SQL: SELECT COUNT("draws") FROM "2005_ladder" WHERE "against"=1465 AND "byes"<2;

Question: What is the greatest number of losses when there are more than 0 draws and 1390 against matches?
SQL: SELECT MAX("losses") FROM "2005_ladder" WHERE "draws">0 AND "against"=1390;

Question: What is the highest number of wins when there are more than 2 byes?
SQL: SELECT MAX("wins") FROM "2005_ladder" WHERE "byes">2;