SQL - GROUP BY and HAVING
What will be the output of this query?
SELECT department, COUNT(*) FROM employees GROUP BY department HAVING COUNT(*) > 10;
SELECT department, COUNT(*) FROM employees GROUP BY department HAVING COUNT(*) > 10;
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions