-
Accessing previous calculated value from a column in current row
Hello q experts,
I have a table created like below.
t:([]c1: 1 2 3 4 5 6 7 8 9)
Below statement works fine as I am using previous value of column c1.
update c2:((prev(c1)+10) + c1)%2 from t
If I try to use previous value from column c2, then there is a error.
update c2:((prev(c2)+10) + c1)%2 from t
How can I use the previous calculated value of c2 in the current row calculation?
Log in to reply.