Group by 分组选择表中重复的数据

 SELECT     [UserName] ,  UserPwd  
FROM [Realtour2ERpNew].[dbo].[UserTable]

group by   [UserName],   UserPwd

having count(*)>10

你可能感兴趣的:(Group by 分组选择表中重复的数据)