user: ### NOW ANSWER:
Question: What week has a result of L 17-31 first?
Columns: ['Week', 'Date', 'Opponent', 'Result', 'Attendance']
Types: ['real', 'text', 'text', 'text', 'text']
Sample row: [1.0, 'September 11, 2004', 'at Miami Dolphins', 'W 17–7', '69,987']
SQL:

assistant: SELECT MAX("Week") FROM "Table" WHERE "Result" = 'L 17-31';