Pages
Home
Certifications
About Me
For Contact
Get parent records with atleast one child record in SOQL
Sample Query:
SELECT Id, Name FROM Account WHERE Id IN (SELECT AccountId FROM Contact)
Cheers!!!
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment