What's the total losses when there are 8 wins and less than 2 byes?
CREATE TABLE "2010_ladder" (
  "wimmera_fl" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
SELECT SUM("losses") FROM "2010_ladder" WHERE "wins"=8 AND "byes"<2;