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

Question: In what Week was the Result W 24-17?
SQL: SELECT MAX("week") FROM "schedule" WHERE "result"='w 24-17';

Question: What was the Week number on November 20, 1977?
SQL: SELECT SUM("week") FROM "schedule" WHERE "date"='november 20, 1977';