Help for this page

Select Code to Download


  1. or download this
           A
          /
    ...
       C
      /
     D
    
  2. or download this
     id | ancestor | depth
     A  |  NULL    |   0
    ...
     D  |  A       |   3
     D  |  B       |   2
     D  |  C       |   1