What is the attendance when Cork City is the opponent?
CREATE TABLE table_name_7 (attendance INTEGER, opponents VARCHAR)
SELECT AVG(attendance) FROM table_name_7 WHERE opponents = "cork city"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (attendance INTEGER, opponents VARCHAR) Question: What is the attendance when Cork City is the opponent? [/INST] SELECT AVG(attendance) FROM table_name_7 WHERE opponents = "cork city" </s>