What tournament has a 2008 value of A, q1 in 2005, and 1r in 2004?
CREATE TABLE table_name_31 (tournament VARCHAR)
SELECT tournament FROM table_name_31 WHERE 2008 = "a" AND 2005 = "q1" AND 2004 = "1r"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (tournament VARCHAR) Question: What tournament has a 2008 value of A, q1 in 2005, and 1r in 2004? [/INST] SELECT tournament FROM table_name_31 WHERE 2008 = "a" AND 2005 = "q1" AND 2004 = "1r" </s>