SQL Server - SUM Preceding Rows With Condition Linked to Original Row

后端 未结 0 838
一向
一向 2020-12-06 00:29

For each row in the below example data set, the code does a sum of the previous 5 rows when a certain condition is met. The problem I\'m having is the condition needs to ref

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