Sebagaimana dinyatakan dalam manual :
Saya pikir Anda harus melakukan operasi ini melalui tabel sementara:
CREATE TEMPORARY TABLE temp
SELECT part_desc
FROM ag_master
GROUP BY part_desc
HAVING COUNT(*) > 1000;
DELETE FROM ag_master WHERE part_desc IN (SELECT part_desc FROM temp);
DROP TEMPORARY TABLE temp;