Table: chess_peaks
Columns: rank
1_year_peak
5_year_peak
10_year_peak
15_year_peak
20_year_peak

Question: What is every 5-year peek with a when Anatoly Karpov, 2820 is 15-year peak?
SQL: SELECT "5_year_peak" FROM chess_peaks WHERE "15_year_peak" = 'Anatoly Karpov, 2820'

Question: What is the highest rank when Garry Kasparov, 2879 is the 1-year peak?
SQL: SELECT MAX("rank") FROM chess_peaks WHERE "1_year_peak" = 'Garry Kasparov, 2879'

Question: What is every 5-year peak when Emanuel Lasker, 2847 is the 10-year peak?
SQL: SELECT "5_year_peak" FROM chess_peaks WHERE "10_year_peak" = 'Emanuel Lasker, 2847'

Question: What is the highest rank when Anatoly Karpov, 2820 is the 15-year peak?
SQL: SELECT MAX("rank") FROM chess_peaks WHERE "15_year_peak" = 'Anatoly Karpov, 2820'