Hallo,
i have a table with three columns : person_id , FS and Value .
person_id FS value
50566 1 20
50566 2 40
50566 3 0
50566 4 0
I want that when the 'value' = 0 then it should be set to the last value in that column (i.e. 40) . So, in this case the 'value' in row 3 and 4 should be set to 40 , how to do that in sql ?
Thank you so much in advance.
Alex