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 '
相關文章
相關標籤/搜索