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

Question: Which Week had a Result of w 10-0, and an Attendance smaller than 58,571?
SQL: SELECT COUNT("week") FROM "schedule" WHERE "result"='w 10-0' AND "attendance"<'58,571';

Question: Which Week had a Result of w 23-17?
SQL: SELECT SUM("week") FROM "schedule" WHERE "result"='w 23-17';

Question: What was the Attendance on october 2, 1977?
SQL: SELECT "attendance" FROM "schedule" WHERE "date"='october 2, 1977';