------解决方案--------------------
delete from A a where a.rowid < (select max(rowid) from A b where a.mobile= b.mobile and a.note_content = b.note_content) 不知道这样效率如何
------解决方案--------------------
select t.* from (select t.id, t.mobile, t.note_content, row_number() OVER(PARTITION BY t.mobile,t.note_content ORDER BY t.row_id desc) rn from a t where t.mobile = t.note_content) t where t.rn =1 看看呢.
------解决方案--------------------
------解决方案-------------------- delete from A t where t.rowid!=(select min(id) from A where mobile = t.mobile and note_content = t.note_content);
------解决方案-------------------- delete from A t where t.rowid!=(select min(rowid) from A where mobile = t.mobile and note_content = t.note_content);