Customised running sum query

前端 未结 0 1294
不思量自难忘°
不思量自难忘° 2021-01-25 11:07

I need a query to find running sum, but not sum further if the sum is positive and it should restart when a negative number comes.

Input table

  row_number         


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