站长资源数据库

删除重复记录

整理:jimmy2024/10/6浏览2
简介我们经常在数据库中有重复的记录这时候我们希望删除那些重复的记录 你不要告诉我你是一条条手动删除的哈: select distinct * into newtable form tablename drop table tablename select * into table from newtab
我们经常在数据库中有重复的记录这时候我们希望删除那些重复的记录
你不要告诉我你是一条条手动删除的哈:

select distinct * into newtable form tablename
drop table tablename
select * into table from newtable
drop table newtable
思路好了就好做.