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

Question: When was the earliest that New England Patriots played?
SQL: SELECT MIN("week") FROM "schedule" WHERE "opponent"='new england patriots';

Question: What is the average week with St. Louis Cardinals with less than 80,010 attendance?
SQL: SELECT AVG("week") FROM "schedule" WHERE "opponent"='st. louis cardinals' AND "attendance"<'80,010';