Schema: CREATE TABLE table_name_58 (age_at_appointment INTEGER, portfolio_attachment VARCHAR)
Question: What is the average age at appointment of those attached to security?
SQL: SELECT AVG(age_at_appointment) FROM table_name_58 WHERE portfolio_attachment = "security"