Write a solution to find managers with at least five direct reports.
Return the result table in any order.
The result format is in the following example.
managerId
필드에 5번 이상 등장하는 id
값을 찾는 문제SELECT name FROM Employee
WHERE id IN (
SELECT managerId
FROM Employee
GROUP BY 1
HAVING COUNT(*) >= 5
)