What was the last week when the team had a bye week?
CREATE TABLE table_name_58 (week INTEGER, result VARCHAR)
SELECT MAX(week) FROM table_name_58 WHERE result = "bye"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (week INTEGER, result VARCHAR) Question: What was the last week when the team had a bye week? [/INST] SELECT MAX(week) FROM table_name_58 WHERE result = "bye" </s>