SQL - GROUP BY and HAVING
Consider this query:
It returns an error. Which fix will correctly handle
SELECT department, COUNT(*) FROM employees GROUP BY department;
It returns an error. Which fix will correctly handle
NULL values in department to avoid errors?