①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;

相关文章:

  • 2021-05-31
  • 2021-10-11
  • 2021-07-10
  • 2021-08-22
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-27
  • 2022-12-23
  • 2022-01-23
  • 2022-01-30
  • 2021-06-06
相关资源
相似解决方案