Share my accept solution


  • 0
    K

    select Name from Employee where Id in (
    select ManagerId from Employee
    where ManagerId is not null
    group by ManagerId
    having count(*)>=5);


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.