Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

salesforce soql get parents without children

SELECT Id, Name FROM Account WHERE Id NOT IN (SELECT AccountId FROM Opportunity)
Source by developer.salesforce.com #
 
PREVIOUS NEXT
Tagged: #salesforce #soql #parents #children
ADD COMMENT
Topic
Name
1+2 =