CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1978" text,
  "1979" text,
  "1980" text,
  "1982" text,
  "1983" text,
  "1984" text,
  "1985" text,
  "1986" text,
  "1987" text,
  "1988" text,
  "1989" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "career_sr" text
);

Question: What is 1987, when 1986 is "1R"?
SQL: SELECT "1987" FROM "singles_performance_timeline" WHERE "1986"='1r';

Question: What is 1986, when 1978 is "A", when 1979 is "A", and when 1980 is "1R"?
SQL: SELECT "1986" FROM "singles_performance_timeline" WHERE "1978"='a' AND "1979"='a' AND "1980"='1r';

Question: What is 1984, when 1979 is "1R"?
SQL: SELECT "1984" FROM "singles_performance_timeline" WHERE "1979"='1r';

Question: What is 1982, when 1978 is "A", when 1985 is "4R", and when 1991 is "1R"?
SQL: SELECT "1982" FROM "singles_performance_timeline" WHERE "1978"='a' AND "1985"='4r' AND "1991"='1r';

Question: What is 1989, when 1982 is "SF"?
SQL: SELECT "1989" FROM "singles_performance_timeline" WHERE "1982"='sf';

Question: What is 1992, when 1990 is "Grand Slams"?
SQL: SELECT "1992" FROM "singles_performance_timeline" WHERE "1990"='grand slams';