日期:2014-05-17 浏览次数:20400 次
select avg([某个字段]) '平均值' from [表名] where datediff(m,[日期字段],getdate()) between 1 and 6