求mysql倒序并且限制查询的条数的查询语句?

select * from yourtable where 查询条件 order by id desc limit 0,10;按id倒序排列,且取前10条。
求mysql倒序并且限制查询的条数的查询语句?
select * from yourtable where 查询条件 order by id desc limit 0,10;
按id倒序排列,且取前10条。2011-05-31
mengvlog 阅读 517 次 更新于 2025-10-28 21:03:47 我来答关注问题0
檬味博客在线解答立即免费咨询

mySQL相关话题

Copyright © 2023 WWW.MENGVLOG.COM - 檬味博客
返回顶部