Skip to Content
0
Jul 12, 2022 at 10:23 PM

How to Flatten the parent Child hierarchy where last level is not defined

179 Views

I've tried self join but that approch degrading the performance as number of levels are 40.

Please help if we can use any another approach like in Oracle we can implement this by connect by

Input Table

img-20220712-222954.jpg

Expected Output

img-20220712-223007.jpg

Attachments