sql 去重 博客分类: 数据库编程相关SQLORACLE sqlOracle去重
程序员文章站
2024-03-24 10:55:22
...
delete from table t1 where t1.id not in (select max(id) from table group by 列名,列名1,列名2)