查询表中某字段重复次数

select userid,count(userid) from SYS_USER_DPRB group by userid having count(userid)>1

posted @ 2017-03-31 17:39  如果屈原会编程  阅读(501)  评论(0编辑  收藏  举报