Design a self-referential employees table where each employee can have a manager who is also an empl
A medium Data Modeling interview practice problem on DataDriven. Write and execute real data modeling code with instant grading.
- Domain
- Data Modeling
- Difficulty
- medium
Problem
Design a self-referential employees table where each employee can have a manager who is also an employee. The manager_id column references the same table's primary key.
Practice This Problem
Solve this Data Modeling problem with real code execution. DataDriven runs your solution and grades it automatically.