user: ### NOW ANSWER:
Question: What 2009 has 3R as the 1999, and W as 2002?
Columns: ['Tournament', '1997', '1998', '1999', '2000', '2001', '2002', '2003', '2004', '2005', '2006', '2007', '2008', '2009', '2010', '2011', '2012']
Types: ['text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments']
SQL:

assistant: SELECT "2009" FROM "Table" WHERE "1999" = '3R' AND "2002" = 'W';