For every department (even one with no staff), show dept_name, headcount and payroll (total salary, 0 when there is nobody).
dept_name
headcount
payroll
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.