Table: wayne_ferreira_grand_slams
Columns: tournament
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004

Question: What shows for 2002 when the 1991 is w?
SQL: SELECT "2002" FROM wayne_ferreira_grand_slams WHERE "1991" = 'w'

Question: What shows for 1995 when 1996 shows grand slams?
SQL: SELECT "1995" FROM wayne_ferreira_grand_slams WHERE "1996" = 'grand slams'

Question: What shows for 202 when the 1994 is A, the 1989 is NME, and the 199 is 2R?
SQL: SELECT "2002" FROM wayne_ferreira_grand_slams WHERE "1994" = 'a' AND "1989" = 'nme' AND "1999" = '2r'

Question: What shows for 1992 when 1988 is A, at the Australian Open?
SQL: SELECT "1992" FROM wayne_ferreira_grand_slams WHERE "1988" = 'a' AND "tournament" = 'australian open'

Question: What shows for 1992 when 2001 is 1r, 1994 is 1r, and the 2002 is qf?
SQL: SELECT "1992" FROM wayne_ferreira_grand_slams WHERE "2001" = '1r' AND "1994" = '1r' AND "2002" = 'qf'

Question: What shows for 1988 when 1994 shows 10–6?
SQL: SELECT "1988" FROM wayne_ferreira_grand_slams WHERE "1994" = '10–6'