Cumulative Sum and remaining balance based on conditions on previous row in SQL(HANA)

前端 未结 0 1938
自闭症患者
自闭症患者 2021-01-21 04:49

I need to derive below columns(marked in yellow) based on Reserve Quantity and Transaction Quantity. Records are Sorted based on Transaction Date,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题