oracle 查询前30条数据
select * from (select a.*,rownum as rn from tetm_ad_type a) b where b.rn<30
--表名不能用as 字段取别名,直接在表名后面跟一个newName 就算别名了,字段 名可以用as 取别名。 其实我都是乱写的。
oralce
http://www.htsjk.com/shujukunews/1570.html
www.htsjk.Com
true
http://www.htsjk.com/shujukunews/1570.html
NewsArticle
oracle 查询前30条数据 select * from (select a.*,rownum as rn from tetm_ad_type a) b where b.rn30 --表名不能用as 字段取别名,直接在表名后面跟一个newName就算别名了,字段名可以用as 取别名。 其实我都是...
本站文章为和通数据库网友分享或者投稿,欢迎任何形式的转载,但请务必注明出处.
同时文章内容如有侵犯了您的权益,请联系QQ:970679559,我们会在尽快处理。