In this image there are two kavya with differnt id's ... but every field same for that 2 rows... I need to echeck atleast 5 fields and if those five fileds are found to be same means i want to delete one row and keep one在我的数据库中存储了重复记录..除了 id 之外的每一列对于两行都是相同的...现在我需要删除两条重复记录中的一条记录并保留一条安全
最佳答案
Delete from table_Name A
Where exists (select 1
From table_Name B
Where A.id = B.id
);
关于mysql - 我的表有唯一的id,删除重复记录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58354487/