Sql case when exists in another table oracle. TRUE if a subquery returns at least one row.