CREATE TABLE table_name_40 (Id VARCHAR)

What 2008 has A as the 2007, and 2r as the 2010?
SELECT 2008 FROM table_name_40 WHERE 2007 = "a" AND 2010 = "2r"
SELECT 2008 FROM "table_name_40" WHERE "2r" = 2010 AND "a" = 2007