Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Recursive Query - response (10) by Sarah_07

$
0
0

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.


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>