Which works number has a class of 15th and year of 1940?
CREATE TABLE table_name_69 (works_no VARCHAR, class VARCHAR, year VARCHAR)
SELECT works_no FROM table_name_69 WHERE class = "15th" AND year = "1940"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_69 (works_no VARCHAR, class VARCHAR, year VARCHAR) Question: Which works number has a class of 15th and year of 1940? [/INST] SELECT works_no FROM table_name_69 WHERE class = "15th" AND year = "1940" </s>