select * from (select rownum r, a.* from (select * from table_name order by ndatetime desc ) a where rownum <= currentPage * pageSize ) where r > (currentPage - 1) * pageSize
转载于:https://www.cnblogs.com/mr-hero/p/3775052.html
转载于:https://www.cnblogs.com/mr-hero/p/3775052.html