Context: CREATE TABLE table_name_17 (week INTEGER, result VARCHAR)
Question: What week has a result of L 17-31 first?
Answer: SELECT MAX(week) FROM table_name_17 WHERE result = "l 17-31"