CREATE TABLE table_name_99 (Id VARCHAR2)

What is 2001, when 2007 is '1R', and when 2008 is 'Q1'?
SELECT 2001 FROM table_name_99 WHERE 2007 = "1r" AND 2008 = "q1"
SELECT 2001 FROM "table_name_99" WHERE "1r" = 2007 AND "q1" = 2008