源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

mysql查询语句通过limit来限制查询的行数

  • 时间:2021-09-26 09:01 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:mysql查询语句通过limit来限制查询的行数
mysql查询语句,通过limit来限制查询的行数。 例如: select name from usertb where age > 20 limit 0, 1; //限制从第一条开始,显示1条 select name from usertb where age > 20 limit 1; //同上面的一个效果 select name from usertb where age > 20 limit 4, 1; //显示从第五条开始,显示1条
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部