CREATE TABLE "references" (
  "year" real,
  "kentucky_derby" real,
  "the_preakness_stakes" text,
  "kentucky_oaks" text,
  "belmont_stakes" text,
  "travers_stakes" text,
  "breeders_cup_saturday" text,
  "breeders_cup_friday" text
);

Question: What was the Kentucky Oaks attendance the year the Belmont Stakes had 64,949 attendance?
SQL: SELECT "kentucky_oaks" FROM "references" WHERE "belmont_stakes"='64,949';

Question: What was the attendance at the Travers Stakes in 1977?
SQL: SELECT "travers_stakes" FROM "references" WHERE "year"=1977;

Question: What was the Breeder's Cup Friday attendance for the year the Breeder's Cup Saturday had 52,987?
SQL: SELECT "breeders_cup_friday" FROM "references" WHERE "breeders_cup_saturday"='52,987';