CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);

Question: List the stadium and number of people in attendance when the team record was 45-22.
SQL: SELECT COUNT("location_attendance") FROM "game_log" WHERE "record"='45-22';

Question: How many games had been played when the Mavericks had a 46-22 record?
SQL: SELECT MAX("game") FROM "game_log" WHERE "record"='46-22';