标题:请教一个统计问题
只看楼主
wolfcool
Rank: 1
等 级:新手上路
帖 子:102
专家分:0
注 册:2006-12-9
 问题点数:0 回复次数:0 
请教一个统计问题
SELECT count(topicid) as dd,max(posttime) as sj FROM postcontent group by (format(posttime,'yyyy-mm-dd')) order by dd desc
我是这么写的,可是有错误
也就是我想按天把postcontent 表中 把发帖最多的的那天的数量和时间统计出来
搜索更多相关主题的帖子: 统计 
2007-06-03 22:03



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-144604-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.014982 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved