查找重复记录select names,num from test where rowid != (select max(rowid) from test b where b.names = test.names andb.num = test.num)