human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Date, Opponent, Score, Loss, Attendance, Record
###Question: What team did they lose to when they had a 28-22 record?
gpt
SELECT Loss FROM table WHERE Record = 28-22