SQL - GROUP BY and HAVING
What will be the output of this query?
SELECT department, AVG(salary) FROM employees GROUP BY department HAVING AVG(salary) > 50000;