删除重复记录


我们经常在数据库中有重复的记录这时候我们希望删除那些重复的记录
你不要告诉我你是一条条手动删除的哈:

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

« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3