欢迎!我白天是个邮递员,晚上就是个有抱负的演员。这是我的网站。我住在天朝的帝都,有条叫做Jack的狗。
帝国CMS自定义列表从第N条开始查询sql语句分享,比如我们想从第10条开始调用,SQL语句如下:
统计记录:
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条是开始!
