我觉得应该是 select * from t WHERE name in (SELECT name from t GROUP BY `name` HAVING count(name) = 1) LIMIT 10;