帝国CMS自定义列表查询SQL语句,怎么从第N条开始查询

来自:互联网
时间:2020-03-29
阅读:
免费资源网 - https://freexyz.cn/

统计记录: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条是开始!

免费资源网 - https://freexyz.cn/
返回顶部
顶部