What is the week with a date of October 9, 1983, and attendance smaller than 40,492?
CREATE TABLE table_name_27 (week VARCHAR, date VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_name_27 WHERE date = "october 9, 1983" AND attendance < 40 OFFSET 492 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (week VARCHAR, date VARCHAR, attendance VARCHAR) Question: What is the week with a date of October 9, 1983, and attendance smaller than 40,492? [/INST] SELECT COUNT(week) FROM table_name_27 WHERE date = "october 9, 1983" AND attendance < 40 OFFSET 492 ROWS </s>