SQL删除重复记录,并只保留一条

delete WeiBoTopics where Id in(select max(Id) from WeiBoTopics group by WeiBoId,Title having COUNT(*) > 1); 
相关文章
相关标签/搜索