1

Someone answer this question.
I'm stuck on this.
I've tried almost everything that's possible

https://stackoverflow.com/questions...

Comments
  • 1
    I know a simple solution to this, for which the comment section of devRant is too small.
  • 0
    42.. 42 is the answer to everything
  • 0
    first u select top level management (manager id null). then u select everyone who has anyone from the top level as their manager, that's your second level, two tabs of offset, u need to split it into separate lists and assign to each manager, then select everyone with manager id within ids of this second level, etc, continue building the tree until select returns 0 rows.

    then do depth-first traversal of the tree that process built, and use the depth inside the tree for your string offsets
  • 0
    Can you please let me know how to solve ?
    @Justananon
Add Comment