统计记录:select count(*) as total from [!db.pre!]ecms_news where id>(select id from [!db.pre!]ecms_news order by id desc limit 10,1) and checked=1

查询记录:select * from phome_ecms_news where checked=1 order by newstime desc

 

从第10条是开始!

标签:
点击这里复制本文地址

以上内容由qqso网站教程网整理呈现.
原文地址:帝国CMS自定义列表查询SQL语句,怎么从第N条开始查询发布于2021-08-21 09:00:11。
请务必在转载分享时注明本文地址!如对内容有疑问,请联系我们,谢谢!