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