sql刪除字段a重複且字段b爲空的數據

刪除id重複且name爲空的數據,uuid爲key 表以下 mysql 第一:找到重複的id select id from z group by z.id having count(z.id)>1 第二:找到name爲空的uuid select z.uuid from z where z.name is null 第三:刪除 delete from z where z.id in (select
相關文章
相關標籤/搜索