human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Week, Date, Opponent, Result, Game site, Record, Attendance
###Question: Which week has a record of 5–2?
gpt
SELECT Week FROM table WHERE Record = 5–2