Database Star
Here’s a quick SQL puzzle for you.SELECT department_id, COUNT(*) AS totalFROM employeeGROUP BY department_idHAVING COUNT(*) > 5;What do you think this returns?
2 months ago (edited) | [YT] | 39
Database Star
Here’s a quick SQL puzzle for you.
SELECT department_id, COUNT(*) AS total
FROM employee
GROUP BY department_id
HAVING COUNT(*) > 5;
What do you think this returns?
2 months ago (edited) | [YT] | 39