Table schema:
CREATE TABLE table_name_58 (week INTEGER, result VARCHAR)

Question: What was the last week when the team had a bye week?
SQL: SELECT MAX(week) FROM table_name_58 WHERE result = "bye"