Home  >  Article  >  Database  >  删除SQL 某个表中重复的记录

删除SQL 某个表中重复的记录

WBOY
WBOYOriginal
2016-06-07 14:56:331256browse

无详细内容 无 假如表为Mytableselect distinct * from into 临时表 from MyTabledelete from MyTable insert into MyTableslect * from 临时表 drop table 临时表

假如表为Mytable
select distinct * from into 临时表 from MyTable
delete from MyTable insert into MyTable
slect * from 临时表 
drop table 临时表
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn