Which 2007 has a 2010 of A, and a 2006 of lq?
CREATE TABLE table_name_18 (Id VARCHAR)
SELECT 2007 FROM table_name_18 WHERE 2010 = "a" AND 2006 = "lq"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (Id VARCHAR) Question: Which 2007 has a 2010 of A, and a 2006 of lq? [/INST] SELECT 2007 FROM table_name_18 WHERE 2010 = "a" AND 2006 = "lq" </s>