摘要: //按月查询 select * from tb where convert(varchar(7),date,120) = '2011-05' select * from tb where convert(varchar(10),date,120) = '2011-05-01' //按小时分组,求得每 阅读全文
posted @ 2018-04-18 17:21 哪啊哪啊神去村 阅读(3026) 评论(0) 推荐(0) 编辑