1.select
select * from (select a.*,rownum from a) where rownum>20 and rownum <30
select * from (select rownum r,c.* from (select * from a order by b) c) where r=6;
select * from ep where name is not null
select count(*),count(xm),count(all xm),count(distinct sal),count(all sal),count(sal),sum(1) from table3;
select * from db_name.table_name where rownum < 10 order by col_name desc
阅读(1352) | 评论(0) | 转发(0) |