I have a table of hierarchical data, with the following columns:
ID, Value, ParentID, TopLevelID
The ID column is unique (one row per node/ID). Each node can h