使用 select top 5 * from table order by id 时,报用select语句检索oracle数据库时出现ora-00923:未找到要求的from关键字。数据库
由于该SQL语句是在SQLServer中的使用的,若是是在 Oracle中,须要使用 rownm 这个关键字用来返回 查询的记录条数。oracle
eg: select * from table where rownnm<=5 order by idtable