Comments - Identifying and removing duplicates
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
There is another alternative that should work on versions before MariaDB 10.3. This works by setting a unique index on all the identical fields, and by making use of the old ALTER TABLE copying behaviour, ignoring errors when it copies the data back, basically silently dropping duplicates. This requires the old_alter_table system variable to be temporarily set. Here's a sample:
With your data, you would create the unique index on all the duplicated fields, so something like: