Czy możesz użyć klauzuli o zapytaniu dla dzieci
Select C1, C2 from A
where
ID in (Select ParentId from B where Status__c='Completed')
and
Id NOT IN (Select ParentId from Opportunity where Status__c <> 'Completed')
RADNOMLY ASSIGNED STRING NAME