A parent-child hierarchy is a hierarchy of members that all have the same type. This contrasts with level-based hierarchies, where members of the same type occur only at a single level of the hierarchy. The most common real-life occurrence of a parent-child hierarchy is an organizational reporting hierarchy chart, where the following all apply:
父子层次的维,其所有成员具有相同的类型。基于级别的层次的维不一样,其类型一致的成员仅处于层次中的同一级别。父子层次的为最常见的实际使用情景是,开发具有组织汇报层次的图表。具体应用如下:
• Each individual in the organization is an employee.
• Each employee, apart from the top-level managers, reports to a single manager.
• The reporting hierarchy has many levels.
• 组织中的每个个体都是一位雇员。
• 除了顶层管理者,每位雇员都向单个管理者汇报。
• 汇报层次具有很多级别。
In relational tables, the relationships between different members in a parent-child hierarchy are implicitly defined by the ide