查询某一字段是否重复

select lu.user_name, count(*) cc
            from qx.leap_user lu
           group by lu.user_name
          having count(*) > 1

猜你喜欢

转载自jiangkan12.iteye.com/blog/2077970
今日推荐