name type(a/b/c)
1012 a
1012 b
1013 a
1013 a
1014 c
求一个sql语句查出每个name对应的type的a类有多少个,b类有多少,c类有多少