我要显示一个表中最大的三行,请问怎样用油标实现,(马上结账) cursor c_1 is select * from tbname order by col;循环fetch三次就可以了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 ursor c1 is select d01 from d01 order by d01;open c1;loopfetch c1 into t_c1_tname;exit when c1%NOTFOUND; --如果游标记录取完,退出循环 end loopclose c1;循环fetch三次就可以了 cursor test is select * from (select * from table order by col desc) where rownum<4; 用语句创建oracle数据库 sql 语句中in()内值为什么不能超过1000? 兄弟们,Oracle救急呀!!! 散分:除了oracle之外,还有哪些属于大型数据库的呀? 如何解决oracle9i中中文显示为乱码的问题 帮忙看看我这个 oracle事务处理 的解决办法!!~! 关于JOB不能正常运行问题!贴上了代码! oracle表不能创立? select top 问题 Oracle char('2018')转date型时为什么是系统月初时间 多用户并发时,似乎是插入错! how can I show the correct word?
open c1;
loop
fetch c1 into t_c1_tname;
exit when c1%NOTFOUND; --如果游标记录取完,退出循环
end loop
close c1;
循环fetch三次就可以了
select * from (select * from table order by col desc) where rownum<4;