加入收藏 设为首页 会员中心 我要投稿 RSS
您当前的位置:首页 > 帝国CMS

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

时间:2023-10-11 19:45:23  来源:  作者:

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


来顶一下
返回首页
返回首页
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表
推荐资讯
相关文章
    无相关信息
栏目更新
栏目热门