How many wins for team with 1800 Against and more than 0 byes?
CREATE TABLE "2008_ladder" (
  "mininera_dfl" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
SELECT MAX("wins") FROM "2008_ladder" WHERE "against"=1800 AND "draws">0;