Context: CREATE TABLE table_name_12 (Id VARCHAR)
Question: What's the value for 2007 when 2011 is a and 2009 is q2?
Answer: SELECT 2007 FROM table_name_12 WHERE 2011 = "a" AND 2009 = "q2"