摘要: 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 码农行天下 阅读(19424) 评论(0) 推荐(2) 编辑