Which tournament's 2001 and 2008 were a when 2010 was qf?
CREATE TABLE table_name_4 (tournament VARCHAR)
SELECT tournament FROM table_name_4 WHERE 2001 = "a" AND 2008 = "a" AND 2010 = "qf"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (tournament VARCHAR) Question: Which tournament's 2001 and 2008 were a when 2010 was qf? [/INST] SELECT tournament FROM table_name_4 WHERE 2001 = "a" AND 2008 = "a" AND 2010 = "qf" </s>