Sai Reddy

Sai Reddy

  • NA
  • 214
  • 31.2k

Running query in sql server

May 21 2018 5:01 AM
Input:
 
ID Value
1 10
2 20
3 30
4 40 
5 50
 
Output:
ID Value
1 10
2 30(10+20)
3 50(20+30)
4 70(30+40)
5 90(40+50)
 
Please help me to here? 

Answers (8)