织梦查询近7天,近30天发布文章的数量
织梦某栏目近7天发布文章的数量
Select count(id) as total From dede_archives where DATE_SUB(CURDATE(), INTERVAL 7 DAY) <= FROM_UNIXTIME(pubdate,'%Y-%m-%d') and typeid=171
织梦某栏目近30天发布文章的数量
Select count(id) as total From dede_archives where DATE_SUB(CURDATE(), INTERVAL 30 DAY) <= FROM_UNIXTIME(pubdate,'%Y-%m-%d') and typeid=171
稍后分享织梦查询当前周、当前月、当年发布文章的数量的sql语句
资源均来自第三方,谨慎下载,前往第三方网站下载