DELETE FROM EMP E WHERE E.ROWID > (SELECT MIN(X.ROWID) FROM EMP X WHERE X.EMP_NO = E.EMP_NO);
The most efficient way to delete duplicate records
Example of the most efficient way to remove duplicate records (because ROWID is used):
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326871654&siteId=291194637
Recommended
Ranking