查询表中记录的前八条,怎么写? select * from tab where rownum<9 order by hits; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from table_name where rownum<= 8 order by hits也可以 select * from tab where rownum<9 order by hits 各位大哥大姐,不对啊。我想要的是,根据hits的值,从大到小,选前八。select * from tab where rownum<9 order by hits这样,好象是从小到大了吧。 select * from tab where rownum<9 order by hits desc 求帮忙写个sql 求教!~ 这个oracle问题大家可能都会遇到..希望大家也进来看看.来者有分 新人报道 数据泵导出Unable to open the log file Connection refused(DESCRIPTION=(TMP=)(VSNNUM=169869568)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4)))) 进行冷备份恢复时发生ora-01092强制断开连接 这个view怎么建 存贮过程数值益出问题?? 什么叫左连接、右连接??? 求ORA-01861错误解决方案 急!!!远程连接TNS问题?
我想要的是,根据hits的值,从大到小,选前八。
select * from tab where rownum<9 order by hits
这样,好象是从小到大了吧。