sql delete where id not in another table