Problems / Self Join Managers / Editorial
e
m
e.manager_id = m.emp_id
e.name
employee_name
m.name
manager_name
Self-joins are useful for hierarchical data. The same table serves both roles — the key is using different aliases and understanding which column points to which.
Solve Self Join Managers yourself →