I am getting this error when i try to delete the records of the first table, where the ID of this table does not exist in the records of the second table?
delete APP_LOG
from APP_LOG
left join APP_AUDIT on APP_LOG.ID = APP_AUDIT.LOG_ID
where APP_AUDIT.ID is null
