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