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

using a calculation done in the previous row in this row's calculation - response (1) by dnoeth

$
0
0

Based on your narration you might not need recursion, just a modification of your query:

SUM(a+b-c) OVER (ORDER BY week ROWS UNBOUNDED PRECEDING AS Inventory

 

Dieter
 


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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