I'm using the below DELETE query.
DELETE FROM tableAA WHERE id IN (SELECT id FROM tableAA WHERE coreID IN (SELECT fill_ID FROM tableBBB) and columnData= 'data');
but I am getting this "update you can't specify target table for update in from clause" error.