oracle去除表中重複數據的sql語句與merge into用法

一、從A庫中去重後倒入B庫中 Insert into tdsc.T_CBGY (select * from (select distinct * from tdly.T_CBGY t)) 二、刪除表中重複數據 DELETE from t_cbgy WHERE (cbgy_guid) IN ( SELECT cbgy_guid FROM t_cbgy GROUP BY cbgy_guid HAVIN
相關文章
相關標籤/搜索