摘要: 数据库结构: id classId ncount 代码如下: SELECT tag.classId, Sum(tag.ncount) AS ncount之总计 FROM tag GROUP BY tag.classId ORDER BY tag.classId DESC; ---------------------------------------------------------------... 阅读全文
posted @ 2009-03-04 22:13 彭成刚 阅读(377) 评论(0) 推荐(0) 编辑