On which date was the class 157?
CREATE TABLE table_name_40 (date VARCHAR, class VARCHAR)
SELECT date FROM table_name_40 WHERE class = 157
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (date VARCHAR, class VARCHAR) Question: On which date was the class 157? [/INST] SELECT date FROM table_name_40 WHERE class = 157 </s>