日期:2014-05-16 浏览次数:20563 次
select * from ( select row_.* , rownum row_num from ( select * from T_AN_UNIQUE_NEW where to_char(NEWS_DATE,'yyyy-mm-dd hh24:mi:ss')>='2010-12-22 00:00:01' and to_char(NEWS_DATE,'yyyy-mm-dd hh24:mi:ss')<='2010-12-29 23:59:59' ) row_ where rownum <=30 ) where row_num >=0
select * from (
     select row_.* , rownum row_num from (
    select t.*   from t_channel t   
  )  row_ where rownum <= 30) where row_num >0