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

Question: On September 30, 1979, in a week before week 8, what was the result?
SQL: SELECT "result" FROM "schedule" WHERE "week"<8 AND "date"='september 30, 1979';

Question: What was the average attendance in week 2?
SQL: SELECT AVG("attendance") FROM "schedule" WHERE "week"=2;