摘要:
uid为重复关键字select * from TableName where [uid] in (select [uid] from TableName group by [uid] having count([uid])>1) and id not in (select min(id) from TableName group by [uid] having count([uid])>1)delete from TableName where [uid] in (select [uid] from TableName group by [uid] having count([ui 阅读全文