user: ### NOW ANSWER:
Question: What was the average attendance of a team with a 38–31–8 record?
Columns: ['Date', 'Visitor', 'Score', 'Home', 'Decision', 'Attendance', 'Record']
Types: ['text', 'text', 'text', 'text', 'text', 'real', 'text']
Sample row: ['March 1', 'Nashville', '3 – 1', 'Dallas', 'Ellis', 18584.0, '33–25–8']
SQL:

assistant: SELECT AVG("Attendance") FROM "Table" WHERE "Record" = '38–31–8';