SQL重復記錄查詢
select * from rbacUserwhere name in (select name from RbacUser group by name having count(name) > 1)
select * from rbacUser
where (name,groupId) in (select name,groupId from RbacUser group by name,groupId having count(*) > 1)
posted on 2010-05-22 21:44 w@ns0ng 閱讀(143) 評論(0) 編輯 收藏 所屬分類: Database