Return
department_name: the name of the departmentmanager_name: the name of the managernum_reports: number of employees directly reporting to the manager in that departmentavg_report_salary: average salary of those direct reportsdepartment_name, then manager_name.Expected output
| department_name | manager_name | num_reports | avg_report_salary |
|---|---|---|---|
| 2 rows — values hidden, that's the puzzle | |||
Your query should return 2 rows with these columns. Your column aliases don't need to match.