CREATE TABLE management (department_id DECIMAL, head_id DECIMAL, temporary_acting TEXT)
CREATE TABLE department (department_id DECIMAL, name TEXT, creation TEXT, ranking DECIMAL, budget_in_billions DECIMAL, num_employees DECIMAL)
CREATE TABLE head (head_id DECIMAL, name TEXT, born_state TEXT, age DECIMAL)

Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes'?
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'
SELECT "T1"."name", "T1"."num_employees" FROM "department" AS "T1" JOIN "management" AS "T2" ON "T1"."department_id" = "T2"."department_id" AND "T2"."temporary_acting" = 'Yes'