oracle 查询前30条数据
时间:2014-06-08 09:58:47
收藏:0
阅读:318
select * from (select a.*,rownum as rn from tetm_ad_type a) b where b.rn<30
--表名不能用as 字段取别名,直接在表名后面跟一个newName 就算别名了,字段 名可以用as 取别名。 其实我都是乱写的。
oralce
评论(0)