CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);

Question: Tell me the week for result of l 31-27, and an Attendance smaller than 85,865
SQL: SELECT AVG("week") FROM "schedule" WHERE "result"='l 31-27' AND "attendance"<'85,865';

Question: I want the date for week less than 5 and attendance more than 43,922 with a result of w 21-7
SQL: SELECT "date" FROM "schedule" WHERE "week"<5 AND "attendance">'43,922' AND "result"='w 21-7';