What was the greatest number of wins for a team that had 7 losses and more than 0 draws?
CREATE TABLE "2012_ladder" (
  "golden_rivers" text,
  "wins" real,
  "byes" real,
  "losses" real,
  "draws" real,
  "against" real
);
SELECT MAX("wins") FROM "2012_ladder" WHERE "losses"=7 AND "draws">0;