https://leetcode.com/problems/managers-with-at-least-5-direct-reports/description/?envType=study-plan-v2&envId=top-sql-50
/* Write your PL/SQL query statement below */ select b.name from employee a inner join employee b on a.managerId = b.id group by b.name having count(b.name) >=5