What was the total attendance at games when Detroit was the visiting team and the record was 36–13–5?
CREATE TABLE table_name_25 (attendance VARCHAR, visitor VARCHAR, record VARCHAR)
SELECT COUNT(attendance) FROM table_name_25 WHERE visitor = "detroit" AND record = "36–13–5"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (attendance VARCHAR, visitor VARCHAR, record VARCHAR) Question: What was the total attendance at games when Detroit was the visiting team and the record was 36–13–5? [/INST] SELECT COUNT(attendance) FROM table_name_25 WHERE visitor = "detroit" AND record = "36–13–5" </s>