会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
码农行天下
博客园
首页
新随笔
联系
订阅
管理
2016年7月6日
Oracle lag()/lead() over()分析函数
摘要: with tmp as(select '1' id ,'aa' name ,'22' age from dual union allselect '2' id ,'bb' name ,'20' age from dual union allselect '3' id ,'CC' name ,'21' age from dual)select a.*, lead(age,1) over ...
阅读全文
posted @ 2016-07-06 18:41 码农行天下
阅读(19375)
评论(0)
推荐(2)
编辑
公告