What is the highest value for Ties, when Losses is less than 8?
CREATE TABLE "coaching_record" (
  "season" text,
  "wins" real,
  "losses" real,
  "ties" real,
  "ivy_lg_record" text
);
SELECT MAX("ties") FROM "coaching_record" WHERE "losses"<8;