文章上季度添加数量统计标签
2022-05-20 加入收藏
{eyou:sql sql='SELECT count(aid) AS count FROM __PREFIX__archives WHERE status = 1 AND QUARTER(FROM_UNIXTIME(add_time))=QUARTER(DATE_SUB(now(),interval 1 QUARTER)) AND channel = 1' cachetime='-1'}{$field.count}{/eyou:sql}