DELETE from Person Where Id not in ( Select Id From( Select MIN(Id) as id From Person Group by Email ) t )
You can't specify target table 'xxx' for update in FROM clause的解决
原文:https://www.cnblogs.com/hugrice/p/14682339.html