delete dup email

leetcode

https://leetcode.com/problems/delete-duplicate-emails/

DELETE P2 FROM Person (as) P1, Person (as) P2 WHERE P1.Email = P2.Email AND P1.Id < P2.Id;

sql FROM Person (as) P1, Person (as) P2 is an implicit join same as an inner join; as can be ignored

REF:

results matching ""

    No results matching ""