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

Question: What is the average Draws, when Losses is less than 2?
SQL: SELECT AVG("draws") FROM "2006_ladder" WHERE "losses"<2;

Question: What is the average Wins, when Against is less than 1786, when Losses is less than 4, and when Byes is less than 2?
SQL: SELECT AVG("wins") FROM "2006_ladder" WHERE "against"<1786 AND "losses"<4 AND "byes"<2;