日期:2014-05-18 浏览次数:20513 次
select top 1 convert(varchar(10),date,120) date,count(*) cnt from tb group by convert(varchar(10),date,120) order by cnt desc --date 日期字段
------解决方案--------------------
select top 1 日期,count(1) from tablename group by 日期 order by count(1) desc