CREATE TABLE "tampa_bay_rays_vs_boston_red_sox" (
  "game" real,
  "date" text,
  "location" text,
  "time" text,
  "attendance" real
);

Question: What was the lowest attendance for the game that had a time of 3:31 and was before game 7?
SQL: SELECT MIN("attendance") FROM "tampa_bay_rays_vs_boston_red_sox" WHERE "time"='3:31' AND "game"<7;

Question: What was the sum of attendance for games with a time of 3:23?
SQL: SELECT SUM("attendance") FROM "tampa_bay_rays_vs_boston_red_sox" WHERE "time"='3:23';