I am extremely new to SQL Server 2012. I would like to create a new cumulative column however this column is only to be summed up for the distinct names.
For instance if i have the names with values below, i would like the repeated the corresponding values of the repeated names to be cumulatively summed up:
James 200
Vicky 300
Jane 600
James 400
Vicky 700
The end goal of the new column should have values that look like the values column below:
James 200
Vicky 300
Jane 600
James 600
Vicky 1000