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