[e:loop={"select a.*,b.* from [!db.pre!]enewsfava a LEFT JOIN [!db.pre!]enewsmemberadd b ON a.userid=b.userid where
1.复制tags字段内容到keyboard,当keyboard为空的时候: update [!db.pre!]ecms_news_data_1 a, [!db.pre!]ecms_news b set b.keyboard=a.infota
统计记录: select count(*) as total from [!db.pre!]ecms_news union select count(*) as total from [!db.pre!]ecms_movie 查询记录: s
帝国cms功能之调用多个父栏目ID的信息SQL语句 select * from [!db.pre!]ecms_news where classid in (select classid from [!db.pre!]enewsclass w