Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### 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"