删除重复记录

2022-05-07 17:35:01
我们经常在数据库中有重复的记录这时候我们希望删除那些重复的记录
你不要告诉我你是一条条http://www.cppcns.com手动删除的哈:

select distinct *&nwww.cppcns.combsp;into newtable form tablename
drop table tablename
select * into table from newtable
drop table newtable
思路好了就好做.
相关文章 大家在看