Skip to content
Medium/Scenario reasoning

Reporting Hierarchy

A company needs to store its reporting hierarchy, where each employee has exactly one manager and queries follow manager-to-employee paths. Which model fits this structure most directly?

Commit to an answer

Choose one.

DB//COSMOS

A field manual for database systems: model the domain, normalize the facts, query the relations, and protect the result.

Edition 2026 · 32 chaptersTopic catalogInterview prep