帝国CMS自定义列表查询SQL语句,怎么从第N条开始查询
2024-01-24
统计记录: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条是开始!
声明:模库网 (www.mokuw.com) 内容来自分享和网络收集,仅供学习与参考测试请备份。 转载请注明本文地址,如有侵权请联系我们!
本文地址:/study/702.html


