当前位置:Gxlcms > 数据库问题 > 数据库查询前10条数据

数据库查询前10条数据

时间:2021-07-01 10:21:17 帮助过:85人阅读

* from table where rownum<=10;   DB2中查询  
select * from table fetch first 10 rows only;
  MySql中查询  
select *  from table limit 10;

数据库查询前10条数据

标签:数据   first   db2   sel   acl   sql   span   rac   fetch   

人气教程排行