CREATE TABLE "2007_ladder" (
  "ballarat_fl" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);

Question: What is the highest win for losses less than 2?
SQL: SELECT MAX("wins") FROM "2007_ladder" WHERE "losses"<2;

Question: What is the average Byes for the losses of 15, and before 1874?
SQL: SELECT AVG("byes") FROM "2007_ladder" WHERE "losses"=15 AND "against"<1874;

Question: What is the sum of against in Ballarat FL of East Point and wins less than 16?
SQL: SELECT SUM("against") FROM "2007_ladder" WHERE "ballarat_fl"='east point' AND "wins"<16;