mysql依据字段分组查询

mysql根据字段分组查询SQL语句:?select usertype usertype,count(usertype) typeNum from ay_user group b

mysql根据字段分组查询
SQL语句:?select usertype usertype,count(usertype) typeNum from ay_user group by usertype