1. article_keyword 表中 keyword 重复次数(count) 最多的10条记录
SELECT keyword, count( * ) AS count
FROM article_keyword
GROUP BY keyword
ORDER BY count DESC
LIMIT 10
2.查询所有重复数据
select * from User where (name) in(select nmae from User group by name having count(*)>1);