What is the highest value for Byes, when Against is less than 1794, when Losses is "6", and when Draws is less than 0?
CREATE TABLE "2008_ladder_and_finals" (
  "benalla_dfl" text,
  "wins" real,
  "losses" real,
  "draws" real,
  "byes" real,
  "against" real
);
SELECT MAX("byes") FROM "2008_ladder_and_finals" WHERE "against"<1794 AND "losses"=6 AND "draws"<0;