Pages
Home
About Me
For Contact
April 13, 2018
How to count the child records for each parent record in Salesforce?
Sample SOQL:
SELECT AccountId, COUNT(Id) ContactCount FROM Contact GROUP BY AccountId
Output:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment