T-SQL Query for Calculating Sum of two rows and Substract sum of Previous rows

后端 未结 0 1688
一向
一向 2021-02-05 02:03

I was wondering how this Query can be written. I tried with Rank and Preceeding in SQL Server 2019 but could not come up with the result. I have the following table structure an

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