Tell me the week for result of l 31-27, and an Attendance smaller than 85,865
CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
SELECT AVG("week") FROM "schedule" WHERE "result"='l 31-27' AND "attendance"<'85,865';