SQL Select Statement For Calculating A Running Average Column

前端 未结 7 918
-上瘾入骨i
-上瘾入骨i 2020-12-11 04:53

I am trying to have a running average column in the SELECT statement based on a column from the n previous rows in the same SELECT statement. The average I need is based on

7条回答
  •  误落风尘
    2020-12-11 05:36

    Check out some solutions here. I'm sure that you could adapt one of them easily enough.

提交回复
热议问题