What is the earliest week that shows a record of 8–5?
CREATE TABLE table_name_40 (week INTEGER, record VARCHAR)
SELECT MIN(week) FROM table_name_40 WHERE record = "8–5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (week INTEGER, record VARCHAR) Question: What is the earliest week that shows a record of 8–5? [/INST] SELECT MIN(week) FROM table_name_40 WHERE record = "8–5" </s>