select tag, count(tag) from user_main_tag group by tag having count(tag) > 1000 以上sql的意思是求tag字段中相同数据出现1000次以上的数据。