sqlserver 按日、周、月统计方法

create table T(日期时间 datetime, 数量 int) insert T select '2007-1-1 19:31:25 ', 56 union all select '2007-1-1 21:31:25 ', 35 union all select '2007-1-1 15:31:25 ', 43 union all select '2007-1-2 19:31:25 '
相关文章
相关标签/搜索