select * from ( select t.*,rownum rn from (select * from emp where 1=1) t ) where rn>1 and rn<6
//作分页(加假分页)只需获取request传递的当前页 算出每页要显示的最小条数___最大条数