mysql支持limit
select * from tablename limit n,m
n:表示从第几行开始,mysql的行数是从0开始标注。

m:表示要显示几行;

 

例如:select * from tablename limit 4,1;

    显示一行数据:第五行的数据;

 

   select * from tablename limit 4,10;

 

    显示十行数据:从第五行开始;

 

相关文章:

  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
  • 2021-11-28
猜你喜欢
  • 2021-08-16
  • 2021-11-19
  • 2021-12-09
  • 2021-07-06
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案