我有两列表:Id 和值。
我需要在 Oracle 中进行查询以将结果返回为
有办法做到这一点吗?提前致谢。
最佳答案
select id, last_value(value IGNORE NULLS) over (order by id) as modified_value
from your_table
;
关于sql - Oracle SQL : Get the previous values,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65925992/