ORACLE查詢某張表奇數行或者偶數行數據

說明: floor函數:向下取整,比如floor(2.5) = 2;floor(3.0) = 3; 查詢: select floor(e2.r/ 2),floor((e2.r-1)/2),e2.* from (select rownum r, e1.* from   (   select * from nhlh_sto_yggys_mid where f_pkey in (select f_pke
相關文章
相關標籤/搜索