----找出某个字段重复的记录
select * from 数据表名 where 重复的字段名 in (select 重复的字段名 from 数据表名 group by 重复的字段名 having count(重复的字段名)>1
转载于:https://blog.51cto/nicholasway/2359367
更多推荐
sqlserver常用sql语句汇总
----找出某个字段重复的记录
select * from 数据表名 where 重复的字段名 in (select 重复的字段名 from 数据表名 group by 重复的字段名 having count(重复的字段名)>1
转载于:https://blog.51cto/nicholasway/2359367
更多推荐
sqlserver常用sql语句汇总
发布评论