Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Need to calculate using LEAD, LAG function - response (7) by arbiswas

$
0
0
Hi Mohan,   your o/p is below. Not matching though    a1 leave_start_date leave_end_date 1 000031750  01/01/2009 2 000031750  06/01/2009 3 000031750  23/01/2009 4 000031750 01/02/2009 01/02/2009 5 000031750 01/06/2009 02/05/2010 6 000031750 01/07/2010 01/11/2011   See the expected o/p and this o/p. Anyway thanks for your precious time.   Hi Mathuram, How to get the merged dataset from your o/p? Pls see me o/p and check. Anyway thanks for yoyr time.  

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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