delete from table t where t.rowid != (select max(t1.rowid) from table t1 where t1.name=t.name)
微信小程序阅读