0570.sql (140B)
1 SELECT name 2 FROM Employee E 3 WHERE id IN ( 4 SELECT managerId 5 FROM Employee 6 GROUP BY managerId 7 HAVING COUNT(managerId) >= 5 8 )