因為Oracle數據庫沒有Top關鍵字
(
PAGESIZE
CURRENTPAGE
數據表的名字是
索引主鍵字是
select * from components where id not
in(select id from components where
rownum<=(PAGESIZE*(CURRENTPAGE
and rownum<=PAGESIZE order by id;
如下例
select * from components where id not in
(select id from components where rownum<=
and rownum<=
從
(
select * from components where rownum
<=(PAGESIZE*(CURRENTPAGE
select * from components where rownum
<=(PAGESIZE*(CURRENTPAGE
如例
rownum<=
where rownum<=
(
select * from (select rownum tid
* from components where rownum<=
[
From:http://tw.wingwit.com/Article/program/SQL/201311/16223.html