sql我就会~
select top 10 * from 表 order by 排序字段 asc(升序) /desc(降序)
不用排序的话, select top 10 * from 表 就可以了
oracle:
select * from tab where rownum <= 10;
sql server:
select top 10 * from tab
mysql:
select * from tab limit 10
db2:
select * from tab fetch first 10 rows only
select * from table where rownum<10 select top 10 数据 from 表名 order by 数据 的是mysql的语句吧? oracle好像不识别top吧