怎么用Oracle语句从数据库中定位数据啊!<在线等待>给分.......... select * from tablename where rownum <= 5; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 用隐藏字段rownum就象楼上的一样, select id from (select id from yourtable order by id desc) where rownum < 6 select column from (select rownum,column from table order by column asc) where rownum <= N select * from yourtable where rownum<10minusselect * from yourtable where rownum<9/这样你就可以取到一条数据了! http://expert.csdn.net/Expert/topic/1493/1493959.xml?temp=.1526453好象问这个问题的人很多,呵呵 sql查询 感谢wildwave刚才的热心回答,抱歉发错了分,请进来回复一下 关于表中相同字段相加的问题 面对J2EE多层架构,ORACLE后台开发何去何从? 存储过程中一个拼接的sql语句,超长了不能执行怎么办。。。 菜鸟问题 对于视图的条件查询怎么来提高效率呢??? Procedure的问题 进者有分!!!!! 请教一个sql,求大神帮助 触发器的基础问题 升为一颗星,散分!!!
就象楼上的一样,
minus
select * from yourtable where rownum<9
/
这样你就可以取到一条数据了!