示例使用
# 查询student表中 stu_id重复的记录 select count(stu_id) as idcount , stu_id from student group by stu_id having idcount > 1