When against is more than 1244 with less than 8 losses, what is the average of wins?
CREATE TABLE "1939_ladder" (
  "club" text,
  "wins" real,
  "losses" real,
  "draws" real,
  "against" real
);
SELECT AVG("wins") FROM "1939_ladder" WHERE "against">1244 AND "losses"<8;