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

Question: What is the week with w 31-21 result?
SQL: SELECT "week" FROM "schedule" WHERE "result"='w 31-21';

Question: In week 7, what was the average attendance?
SQL: SELECT AVG("attendance") FROM "schedule" WHERE "week"=7;

Question: Who was the opponent on september 10, 1979?
SQL: SELECT "opponent" FROM "schedule" WHERE "date"='september 10, 1979';