select *, count(distinct content) from comment2 group by content 转载于:https://www.cnblogs.com/bushe/p/4520548.html