个人日记

您现在的位置是:首页 > 学习笔记 > 帝国CMS

帝国CMS

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

2015-05-20 00:00:00 帝国CMS 人点赞
统计记录: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

查询记录:sel

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

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

830*140广告

文章评论