Oracle中查询
select * from table where rownum<=10;
DB2中查询
select * from table fetch first 10 rows only;
MySql中查询
select * from table limit 10;
select * from table where rownum<=10;
select * from table fetch first 10 rows only;
select * from table limit 10;
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。