Hi Dieter,
Actually this is a hierarchy method. Below are a sample data.
DND_NO REC1 LATEST_DND
100 200 300
200 300 300
300 0 300
400 500 800
500 600 800
600 700 800
700 800 800
800 0 800
I need to join DND_NO = REC1 to get the LATEST_DND. How can this be achieved through recursive query? Or is there any other method to do this? Please help.
Hi Dieter,
Actually this is a hierarchy method. Below are a sample data.
DND_NO REC1 LATEST_DND
100 200 300
200 300 300
300 0 300
400 500 800
500 600 800
600 700 800
700 800 800
800 0 800
I need to join DND_NO = REC1 to get the LATEST_DND. How can this be achieved through recursive query? Or is there any other method to do this? Please help.