一个SQL语句 是不是这个意思:select rownum r,a.* from (select * from table order by date desc) awhere r <= 10 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from table where rownum < 10 order by date desc select rownum,date from (select date from tablename order by date desc ) where rownum<11; select * from (select * from table order by date desc) where rownum<=1010000条的记录该不会很慢. 在日期上建个索引create idx_table_date on table(date) compute statistics; 我刚试过,这样也可以,不过速度就不知道快不快了,我这里没有10000条记录的数据。select * from table where rownum<11 order by date desc 请教高手:有没有这种玩意? 新手求教。。。数据内容算加法。。怎么解决 误修改了ORACLE9I表里面的数据,能恢复吗? 关于快速查询? 数据库字符集问题 oracle连接无法释放『在线等待』 PL/SQL问题 imp导入 小弟刚看Oracle安装的时间,没有反映不知是怎么回事 刷数据时间计算 SQL Server TO Oracle 问题 ★★ORACLE客户端哪个版本好?
tablename order by date desc ) where rownum<11;
create idx_table_date on table(date) compute statistics;
select * from table where rownum<11 order by date desc