SponsoredAmazon Best Sellers in Office ProductsUpdated hourly by Amazon.Shop best sellers
Sponsored · Popular on AmazonHome & KitchenBabyToys & GamesAutomotive
As an Amazon Associate I earn from qualifying purchases.

Topic summary

Hierarchical data

Hierarchical data

Extracted from the Wikipedia article Hierarchical database model.

Examples of hierarchical data represented as relational tables

An organization could store employee information in a table that contains attributes/columns such as employee number, first name, last name, and department number. The organization provides each employee with computer hardware as needed, but computer equipment may only be used by the employee to which it is assigned. The organization could store the computer hardware information in a separate table that includes each part's serial number, type, and the employee that uses it. The tables might look like this: