原文来自:https://liye5.com/

  帝国CMS自定义列表,多表查询统计代码!(很简单)

  统计记录:

select count(*) as total from
[!db.pre!]ecms_news union select count(*) as total from
[!db.pre!]ecms_movie