Hi,
Could you please help if there's a way to calculate Cumulative variance in SQL. I can easily calculate cumulative sum using 'SUM - OVER - PARTITION BY - ORDER BY' with clause of ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW.
Would be nice to see how SQL compute the cumulative variance if the value has to go through decrements down the column.
Thanks.