DELETE tabla1.ID, tabla1.CN, tabla1.NAME, tabla1.DESCRIPTION, tabla2.ID, tabla2.CN, tabla2.IMEI FROM tabla1 INNER JOIN tabla2 ON(tabla1.ID=tabla2.ID AND tabla1.DN=tabla2.DN)