I would like to perform a simple calculation as follows
Dataset
SR value_one result
1 null 0.99
2 1 0.99*1 = 0.99
3 0.75 0.99*0.75 = 0.7425
4 0.75 0.7425*0.75 = 0.556875
5 1 0.556875*1 = 0.556875
6 1 0.556875*1 = 0.556875
7 1 0.556875*1 = 0.556875
8 1 0.556875*1 = 0.556875
9 1 0.556875*1 = 0.556875
10 1 0.556875*1 = 0.556875
The results is dependent on the previous one for SR >= 2 while always starts with 0.99.
Looping while performing a calculation. Database Oracle.