你说的 top 是 SQL Server 里的语句,在 Oracle 中使用伪例 rownum 来进行排序后的取值。如:select * from table_name where rownum < 20;但在使用了条件查询后,不可以直接使用 where rownum < 20 来取前20条记录,要通过临时表才可以,如:select a.col1,... from (select a.col1,... ,rownum aa from table_name a
where ...) b where b.aa < 20;
where ...) b where b.aa < 20;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货