Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

SQL - Calculate next row based on previous in the same column

Language: Layout:
View schema
Execution time: 0,02 sec, rows selected: 6, rows affected: 6, absolute service time: 0,16 sec 
fork mode |  history
   id a b
1 1 502,50 33,85
2 2 468,65 25,46
3 3 443,19 20,83
4 4 422,36 133,07
5 5 289,29 144,65
6 6 144,64 144,65

    
                
λ
.NET NoSQL database for rapid development