Vous pouvez utiliser SUM avec ORDER BY clause à l'intérieur du OVER clause :
SELECT Account, Month, Salary,
SUM(Salary) OVER (PARTITION BY Account ORDER BY Month) AS RunningTotal
FROM mytable
Vous pouvez utiliser SUM avec ORDER BY clause à l'intérieur du OVER clause :
SELECT Account, Month, Salary,
SUM(Salary) OVER (PARTITION BY Account ORDER BY Month) AS RunningTotal
FROM mytable