| 樣例一: select * from (select customer_id,name,rownum r from crm_customer where rownum<16) where r>2 order by customer_id 樣例二: 若數(shù)據(jù)量大可以這樣: select * from  ( select col1,col2,col3,rownum rn from your_table where rownum < 16 ) where rn > 11 ; 樣式三: 若數(shù)據(jù)量不大可以這樣: select col1,col2,col3 from your_table where rownum <16 minus select col1,col2,col3 from your_table where rownum < 11 ; ----------------------------------------------------------------------------------------------------------------------- 資料來(lái)源于網(wǎng)上,個(gè)人整理 | 
|  | 
來(lái)自: ShangShujie > 《java》