Oracle 分页查询的 SQL 语句

select * from (select rownum,name from table where rownum <=endIndex )   
where rownum > startIndex 

编程技巧