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

Self-Referencing Employee Table

Create an Employees table where each employee may have a manager who is also an employee.

Table schema

Columns: id, name, manager_id

Sample data

The CEO has no manager; everyone else must reference an existing employee.

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.