Mysql distinct count 2018-09-05 Mysql, 笔记 Mysql distinct count1select userId,count(*) as cnt from user group by userId having cnt>1;