i am trying to achieve something as mentioned below
Row_Num ID Total Time Timeout
----------------------------------------
1 33 120 1
2 34 120 121
3 35 121 241
4 36 145 362
using sql queries, i would like try to find the timeout from column, based on previous row total time. for every row_number 1 , timeout should be 1
eg: 1+120=121, 3rd row, 121+120=242 so on..
please help me in this regard. any help would be appreciated