SQL查询一列中是否有重复数据

select pname from tb_user_permission_list group by pname having count(1)>=2

    原文作者:OSMeteor
    原文地址: https://blog.csdn.net/kllxyu/article/details/10511177
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞