Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

can you use a where clause for a child query

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')
Source by salesforce.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #clause #child #query
ADD COMMENT
Topic
Name
9+6 =