SCHEMA:
CREATE TABLE table_name_40 (week INTEGER, record VARCHAR)
USER:
What is the earliest week that shows a record of 8–5?

QUERY:
SELECT MIN(week) FROM table_name_40 WHERE record = "8–5"