sql 删除表中的重复行

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sql 删除表中的重复行相关的知识,希望对你有一定的参考价值。

delete from
   table_name A
where
  a.rowid >
   any (
     select B.rowid
     from table_name B
     where A.column_name = B.column_name
   );

以上是关于sql 删除表中的重复行的主要内容,如果未能解决你的问题,请参考以下文章