Context: CREATE TABLE table_name_18 (Id VARCHAR)
Question: Which 2007 has a 2010 of A, and a 2006 of lq?
Answer: SELECT 2007 FROM table_name_18 WHERE 2010 = "a" AND 2006 = "lq"