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, Attendance
###Question: What was the attendance for week 2?
gpt
SELECT Attendance FROM table WHERE Week = 2