Table: tennis_stats_16
Columns: tournament
1978
1979
1980
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
career_sr

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

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

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

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

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

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