Skip to content

570-managers-with-at-least-5-direct-reports

DevGod
DevGod
Elf Vtuber
SELECT name
FROM Employee
JOIN (
SELECT managerId, count(managerId) as cnt
From Employee
GROUP BY managerId
) as b ON Employee.id = b.managerId
WHERE b.cnt >= 5