Hi All,
I'm trying to get hierarchy level count again each employee but unable to get it. Tried many combinations of "CONNECT BY PRIOR" but not getting the desired result.
below is what i'm looking. In org chart, want to count the layers against each employee.
Table below in image has the desired output.

DB Version : 12.2.0.1.0
Thanks in advance!