CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "attendance" real,
  "record" text,
  "points" real
);

Question: What is the total number of attendence has points greater than 40, and detroit as the home?
SQL: SELECT COUNT("attendance") FROM "game_log" WHERE "points">40 AND "home"='detroit';