CREATE TABLE "2010_ladder" (
  "millewa" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);

Question: Can you tell me the total number of Byes that has the Wins of 14, and the Losses larger than 2?
SQL: SELECT COUNT("byes") FROM "2010_ladder" WHERE "wins"=14 AND "losses">2;

Question: Can you tell me the average Wins that has the Against of 1132, and the Losses smaller than 7?
SQL: SELECT AVG("wins") FROM "2010_ladder" WHERE "against"=1132 AND "losses"<7;