Manager With At Least Five Reports
Easy
Joins
Return the names of managers who have at least five direct reports.
Table schema
Employees(id INT PRIMARY KEY, name VARCHAR(50), manager_id INT NULL)Sample data
id | name | manager_id
101 | John | NULL
102 | Dan | 101
103 | James | 101
104 | Amy | 101
105 | Anne | 101
106 | Ron | 101
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.