What is the number of attendance values for ties having an opponent of Middlesbrough and result of 3-1?
CREATE TABLE table_name_2 (attendance VARCHAR, opponent VARCHAR, result VARCHAR)
SELECT COUNT(attendance) FROM table_name_2 WHERE opponent = "middlesbrough" AND result = "3-1"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (attendance VARCHAR, opponent VARCHAR, result VARCHAR) Question: What is the number of attendance values for ties having an opponent of Middlesbrough and result of 3-1? [/INST] SELECT COUNT(attendance) FROM table_name_2 WHERE opponent = "middlesbrough" AND result = "3-1" </s>