Context: CREATE TABLE table_name_58 (week INTEGER, result VARCHAR)
Question: What was the last week when the team had a bye week?
Answer: SELECT MAX(week) FROM table_name_58 WHERE result = "bye"