Code
select convert(nvarchar(13),begintime,120),count(1) from tb_table(nolock) where begintime>='2008-10-20' and begintime<'2008-10-21'
group by convert(nvarchar(13),begintime,120)
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。