CREATE TABLE table_name_40 (week INT, record VARCHAR)

What is the earliest week that shows a record of 8 5?
SELECT MIN(week) FROM table_name_40 WHERE record = "8–5"
SELECT MIN("week") FROM "table_name_40" WHERE "8–5" = "record"