样例一:
select * from
(select customer_id,name,rownum r from crm_customer where rownum<16)
where r>2 order by customer_id
样例二:
若数据量大可以这样:
select * from
(
select col1,col2,col3,rownum rn from your_table where rownum < 16
)
where rn > 11 ;
样式三:
若数据量不大可以这样:
select col1,col2,col3 from your_table where rownum <16
minus
select col1,col2,col3 from your_table where rownum < 11 ;-----------------------------------------------------------------------------------------------------------------------
资料来源于网上,个人整理
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。