USE School SELECT Id, StudentName, StudentGender, StudentAge, SUM (StudentAge) OVER (ORDER BY Id) AS RunningAgeTotal FROM Students