数据库结构: id classId ncount
代码如下:
SELECT tag.classId, Sum(tag.ncount) AS ncount之总计 FROM tag GROUP BY tag.classId ORDER BY tag.classId DESC;
---------------------------------------------------------------
经调试成功~~ tag功能想了半天,这个是Access版的哦。