Fork me on GitHub

oracle分页查询

select * from(select t.*,rownum no from(select * from prosystem order by productiondate asc)t) where (no>(3-1)*5 and no<=(3)*5)

"select * from (select t.*,rownum no from EMST_JC_ZZCJ t)where (no>(1-1)*20 and no<=(1)*20)"

"select * from (select t.*,rownum no from EMST_JC_ZZCJ t where ZZCJ Like '%s%')where (no>(1-1)*20 and no<=(1)*20)"

posted @ 2014-01-22 10:30  乔闻  阅读(117)  评论(0编辑  收藏  举报