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

Get Exclusive Insights with Every Issue

Join Shalyam Newsletter

Stay ahead in education, research, and innovation—straight to your inbox.