①db2
select * from table fetch first 10 rows only;
②oracle
select * from table where rownum<=10;
③mysql
select * from table limit 10;
④sqlServer
select top 10 * from table;
①db2
select * from table fetch first 10 rows only;
②oracle
select * from table where rownum<=10;
③mysql
select * from table limit 10;
④sqlServer
select top 10 * from table;
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。