标签:logs sql alt 技术 分享 count log img last
--统计根据LastName所有姓的个数
select [LastName] as 姓, count([LastName]) as 数量 from [User] group by [LastName];
实例:
sql group by统计
原文地址:http://www.cnblogs.com/914556495wxkj/p/6547774.html