What was the average attendance of a team with a 38–31–8 record?
CREATE TABLE table_name_16 (attendance INTEGER, record VARCHAR)
SELECT AVG(attendance) FROM table_name_16 WHERE record = "38–31–8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_16 (attendance INTEGER, record VARCHAR) Question: What was the average attendance of a team with a 38–31–8 record? [/INST] SELECT AVG(attendance) FROM table_name_16 WHERE record = "38–31–8" </s>