Professional Documents
Culture Documents
Databseprograming
Databseprograming
Updates:
10
The areas in the real world where hierarchical tree walks could be used include: human genealogy (family
trees), livestock (breeding purposes), corporate management (management hierarchies), manufacturing
(product assembly).
11
12
13
LEVEL: is a pseudo-column (meaning it does not really exist) returning 1 for the root of the tree, 2 for one
level down, 3 for the third level and so on.
14
15
16
17
18
19
20
21
22
23
24
25