表结构:ID主键,可选项name,pass,name1,pass1
其中id不能重复,其他的可以重复
delete from test a where a.rowid!=(select min(b.rowid) from test b where a.pass = b.pass and a.name=b.name and a.pass1=b.pass1 and a.name1=b.name1)
表结构:ID主键,可选项name,pass,name1,pass1
其中id不能重复,其他的可以重复
delete from test a where a.rowid!=(select min(b.rowid) from test b where a.pass = b.pass and a.name=b.name and a.pass1=b.pass1 and a.name1=b.name1)