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

Question: Who was the visiting team when the record was 6–12–5–1?
SQL: SELECT "visitor" FROM "game_log" WHERE "record"='6–12–5–1';

Question: Who was the home team when the record was 21–45–8–5?
SQL: SELECT "home" FROM "game_log" WHERE "record"='21–45–8–5';