You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_2 (attendance VARCHAR, opponent VARCHAR, result VARCHAR)
system
What is the number of attendance values for ties having an opponent of Middlesbrough and result of 3-1?
user
SELECT COUNT(attendance) FROM table_name_2 WHERE opponent = "middlesbrough" AND result = "3-1"
assistant
<|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_2 (attendance VARCHAR, opponent VARCHAR, result VARCHAR)<|im_end|>
<|im_start|>user
What is the number of attendance values for ties having an opponent of Middlesbrough and result of 3-1?<|im_end|>
