1. 程式人生 > >postgre刪除資料表重複資料

postgre刪除資料表重複資料

select distinct * into t_sup_supcomm_copy from t_sup_supcomm;
drop table t_sup_supcomm;
select * into t_sup_supcomm from t_sup_supcomm_copy;
drop table t_sup_supcomm_copy;