Ver originalDELETE FROM (SELECT *FROM tabla1 INNER JOIN tabla2 ON tabla1.id=tabla2.id WHERE tabla1.id='001')