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

Question: Which Attendance has a Date of december 22, 1985, and a Week smaller than 16?
SQL: SELECT SUM("attendance") FROM "schedule" WHERE "date"='december 22, 1985' AND "week"<16;

Question: Which Attendance has a Result of w 23-21, and a Week smaller than 5?
SQL: SELECT AVG("attendance") FROM "schedule" WHERE "result"='w 23-21' AND "week"<5;

Question: Which Week has a Result of w 20-13?
SQL: SELECT AVG("week") FROM "schedule" WHERE "result"='w 20-13';