In this situation, let's consider a slightly altered structure where the database consists of two tables: an "Employees" table that holds employee information, and a "Reports" table with two columns, "employee_id" and "manager_id," which indicate the reporting hierarchy. The SQL query for this scenario would be: SELECT r . manager_id , COUNT ( * ) as DirectReports FROM Reports r JOIN Employees e ON r . employee_id = e . employee_id GROUP BY r . manager_id ; This query connects the "Employees" and "Reports" tables, groups the results by the manager_id from the "Reports" table, and counts the number of entries (i.e., direct reports) associated with each manager.