摘要: 1、row_number() over()排序功能: (1) row_number() over()分组排序功能: 在使用 row_number() over()函数时候,over()里头的分组以及排序的执行晚于 where group by order by 的执行。 partition by 用 阅读全文
posted @ 2016-05-19 17:08 Biu......会飞的鱼 阅读(803) 评论(0) 推荐(0) 编辑
摘要: 1.oracle数据库分页 select * from (select a.*,rownum rc from 表名 where rownum<=endrow) a where a.rc>=startrow 2.DB2数据库分页 Select * from (select rownumber() ov 阅读全文
posted @ 2016-05-19 16:51 Biu......会飞的鱼 阅读(2787) 评论(0) 推荐(0) 编辑