sql删除重复数据

select count(*)  from table1 where [id] in( select min(id) from  table1 group by keywords)


delete from table1 where [id] not in( select min(id) from  table1 group by keywords) 

你可能感兴趣的:(sql,table,delete)