查找表中多余的重复记录(多个字段)
select * from answers
where (question_content,options,answers) in (select question_content,options,answers from answers group by question_content,options,answers having count(*) > 1) order by question_content
删除表中多余的重复记录(多个字段),只留有rowid最小的记录
delete from answers
where (question_content,options,answers) in (select question_content,options,answers from answers group by question_content,options,answers having count(*) > 1)
and rowid not in (select min(rowid) from answers group by question_content,options,answers having count(*)>1)