Return
name (the name of the department)avg_salary (the average salary of employees in that department)Expected output
| name | avg_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.