仅取前十条数据:
select * from dual where rownum <= 10
拓展:
取10到20条:
select * from (select id, rownum rn from dual) where rn >= 10 and rn <= 20
仅取前十条数据:
select * from dual where rownum <= 10
拓展:
取10到20条:
select * from (select id, rownum rn from dual) where rn >= 10 and rn <= 20