|< < 3 > >|

Hierarchical data models

Why hierarchical?

  • One-to-many relationships are very common.
  • Easy to map to storage.

Example



  • A Customer has zero or more Orders.
  • An Order has one or more Items.
  • Each Item references a Product.
  • A Customer has zero or more Invoices.

|< < 3 > >|