日期:2014-05-17 浏览次数:20415 次
select UntreadName,MaterielCoding,VersionNum ,count(1) as 数量
from TB
group by UntreadName,MaterielCoding,VersionNum
SELECT UntreadName ,
MaterielCoding ,
VersionNum ,
COUNT(*) AS [数量]
FROM TB
GROUP BY UntreadName ,
MaterielCoding ,
VersionNum