Error 1093 states that you can\'t UPDATE or DELETE using a subquery if your subquery queries the table you are deleting from.
So you can\'t do
delete
You can use this one without hesitation.
Your query:
delete from table1
where id in (select something from table1 where condition);
Updated query:
DELETE FROM table1
WHERE id IN (SELECT *
FROM
(SELECT MIN(id) FROM table1 GROUP BY Column2) x);
Here Column2
is column on which you want to find duplicate records.