i saw this
In MySQL, joins work for INSERT, UPDATE, and DELETE statements. It\'s possible to change data in more than one table when joining ta
To complete the set, here's one for DELETE. This is a common method for deleting rows together with their dependencies without triggers.
DELETE users, comments FROM users JOIN comments ON comments.author=users.id WHERE users.isspammer=1