In what Year is the Works no. 2040-2049?
CREATE TABLE table_name_86 (year VARCHAR, works_no VARCHAR)
SELECT year FROM table_name_86 WHERE works_no = "2040-2049"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (year VARCHAR, works_no VARCHAR) Question: In what Year is the Works no. 2040-2049? [/INST] SELECT year FROM table_name_86 WHERE works_no = "2040-2049" </s>