Show me the departments managed by heads whose temporary acting value is 'Yes', please | The table shows the ids of departments managed by heads whose temporary acting value is 'Yes'. | Great, could you tell me the name and number of employees within those departments?
SELECT T1.name ,  T1.num_employees FROM department AS T1 JOIN management AS T2 ON T1.department_id   =   T2.department_id WHERE T2.temporary_acting   =   'Yes'
departments managed by heads whose temporary acting value is 'Yes' refers to a JOIN condition between department and management tables on department_id with a WHERE condition on temporary_acting = 'Yes'; name and number of employees within those departments refers to selecting name and num_employees from the department table.