CREATE TABLE table_name_58 (week INT, result VARCHAR)

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