oracle 查詢當前記錄的上一條記錄或下一條記錄

上一條spa select *it   from cms_article a  where id = (select c.p                from (select t.id, lag(t.id, 1, 0) over(order by t.sort) as p                        from cms_article t) c               w
相關文章
相關標籤/搜索