删除sqlite中某个属性重复的项:
delete from 表名 where 表名.rowid not in (select MAX(表名.rowid) from 表名 group by link);