Context: CREATE TABLE table_name_7 (attendance INTEGER, opponents VARCHAR)
Question: What is the attendance when Cork City is the opponent?
Answer: SELECT AVG(attendance) FROM table_name_7 WHERE opponents = "cork city"