sqlserver經常使用sql語句彙總

----找出某個字段重複的記錄
select * from 數據表名 where 重複的字段名 in (select 重複的字段名 from 數據表名 group by 重複的字段名 having count(重複的字段名)>1ide

相關文章
相關標籤/搜索