Chinaunix首页 | 论坛 | 博客
  • 博客访问: 388135
  • 博文数量: 99
  • 博客积分: 5134
  • 博客等级: 大校
  • 技术积分: 1607
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-30 09:31
文章分类

全部博文(99)

文章存档

2011年(48)

2010年(40)

2009年(10)

2008年(1)

分类: Oracle

2011-01-21 09:19:28

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
阅读(1321) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~