select t.*, c.CP_NAME as CP_NAME from (select* from (select row_.*, rownum rownum_ from (select* from (select* from sp_biz_code_order orderby order_id) start with PARENT_ID =0 connect by PRIOR ORDER_ID = PARENT_ID) row_ where rownum <= :1) where rownum_ >:2) t, sp_biz_contentprovider c where t.CPID = c.CP_ID(+) orderby rownum_