Return
name: the department's nameavg_salary: the average salary of employees in the departmentemployee_count: the total number of employees in the department
Only include departments with at least 3 employees. Order the results by avg_salary in descending order.Expected output
| name | avg_salary | employee_count |
|---|---|---|
| 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.