Skip to main content
Admissions guidance, study banks, and career tools โ€” get started on Shalyam

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.

Rewards ยท v2.1

Join Shalyam Newsletter

Get exclusive insights with every issue: education, research and innovation news.

One email a week. Unsubscribe any time.