Table Hierarchies
The following illustration shows how the hierarchical
tables of the superstores_demo database are related. The foreign
key and primary relationships between the two tables are indicated
by shaded arrows that point from the customer.custnum and customer.loc columns
to the location.location_id columns.