I begined read more in-depth MySql and try solved this task on description. According to description need delete a duplicats from table, but my query not work. In sqllite is work fine. What is the reason?
DELETE
FROM
Person
WHERE
Email IN(
SELECT
Email
FROM
Person
GROUP BY
Email
HAVING
COUNT(Email) > 1
);
error
You can't specify target table 'Person' for update in FROM clause