文章出處

示例代碼如下:

create table tmp as select min(主鍵) as col1 from 去重表名 GROUP BY 去重字段;
delete from 去重表名 where 主鍵 not in (select col1 from tmp); 
drop table tmp;

 


文章列表


不含病毒。www.avast.com
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 大師兄 的頭像
    大師兄

    IT工程師數位筆記本

    大師兄 發表在 痞客邦 留言(0) 人氣()