What is the high capacity that has an average under 489 and a highest over 778?
CREATE TABLE "attendances" (
  "team" text,
  "stadium" text,
  "capacity" real,
  "highest" real,
  "lowest" real,
  "average" real
);
SELECT MAX("capacity") FROM "attendances" WHERE "average"<489 AND "highest">778;