CREATE TABLE table_name_40 (Id VARCHAR)

What 2009 has 3r as the 1999, and w as 2002?
SELECT 2009 FROM table_name_40 WHERE 1999 = "3r" AND 2002 = "w"
SELECT 2009 FROM "table_name_40" WHERE "3r" = 1999 AND "w" = 2002