Open QuXiangjie opened 4 months ago
Question
we should use JOIN to combine two tables
SELECT e1.name as name FROM Employee AS e1 JOIN Employee AS e2 ON e1.id = e2.managerID group by e1.id having count(e1.id)>=5
Question