Oracle 分页

-- Oracle 分页  -- 20 = (currentPage-1) * pageSize + pageSize   每页显示几条 -- 10 = (currentPage-1) * pageSize              当前页数 SELECT * FROM (SELECT o.*, ROWNUM rn FROM tb_phone o WHERE ROWNUM <=20 AND o.model LIKE ?) WHERE rn>10

你可能感兴趣的:(Oracle 分页)