Which Byes have Losses larger than 0, and an Against larger than 3049?
CREATE TABLE "2012_ladder" (
  "mininera_dfl" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
SELECT AVG("byes") FROM "2012_ladder" WHERE "losses">0 AND "against">3049;