What is the total number of attendence has points greater than 40, and detroit as the home?
CREATE TABLE table_name_99 (attendance VARCHAR, points VARCHAR, home VARCHAR)
SELECT COUNT(attendance) FROM table_name_99 WHERE points > 40 AND home = "detroit"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (attendance VARCHAR, points VARCHAR, home VARCHAR) Question: What is the total number of attendence has points greater than 40, and detroit as the home? [/INST] SELECT COUNT(attendance) FROM table_name_99 WHERE points > 40 AND home = "detroit" </s>