SQLServerCentral » Latest topics
Cumulative subtraction
Hi,
Col1
10
20
30
40
Need output like this
10-0=10
20-10=10
30-10=20
40-20=20
Output:
Col1
10
10
20
20
Col1
10
20
30
40
Need output like this
10-0=10
20-10=10
30-10=20
40-20=20
Output:
Col1
10
10
20
20
No comments:
Post a Comment