Take the first 10 rows oracle

- Oracle take the first ten data 
- (1) a first 
SELECT  *  from t_base_employee WHERE rownum <  . 11 ; 

- (2) a second 
SELECT  * from ( SELECT  *  from t_base_employee T Order  by t.modify_time desc ) WHERE rownum <=  10 ;

 

Guess you like

Origin www.cnblogs.com/henuyuxiang/p/11609174.html