human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Week, Date, Opponent, Location, Time ( ET ), Result, Record
###Question: What is the earliest week that shows a record of 8–5?
gpt
SELECT MIN Week FROM table WHERE Record = 8–5