Database: department_management
Question: What are the distinct ages of the heads who are acting?
SQL: select distinct t1.age from management as t2 join head as t1 on t1.head_id  =  t2.head_id where t2.temporary_acting  =  'yes'