postgresql 删除重复数据

mac2022-06-30  27

 

delete fromwhere ctid not in (select min(ctid) from 表 group by 重复字段);

 

转载于:https://www.cnblogs.com/SeNaiTes/p/11455506.html

相关资源:JAVA上百实例源码以及开源项目
最新回复(0)