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