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: Who was the opponent when the Seattle Seahawks had a record of 8-7?
gpt
SELECT Opponent FROM table WHERE Record = 8-7