-
What is the SOQL query to get all accounts related to a contact?
I need to roll-up to contacts data from related accounts. As a first step, how would the query look like to get for example the number of accounts related to a contact, or better, total AnnualRevenue of all related accounts?
Log In to reply.
Popular Salesforce Blogs
Breaking Down the Basics of Salesforce MuleSoft
We all know the feeling. You've got a to-do list, but somehow it never seems to get any shorter. Your IT team is no different.…
11 Top Training Resources To Master Salesforce
As the most powerful customer relationship management (CRM) resource in sales and marketing, Salesforce is in demand helping subscribers increase contacts and sales revenue every…
4 Ways Salesforce Can Help Enhance Your Field Work
Are you a company that provides field service? If so, you understand how important it is to offer the best quality in your work. After…
Popular Salesforce Videos
Which Salesforce Certifications are Really Important?
If you really want to know which Salesforce certifications are really important then this video is for you. If you have any doubts or concerns,…
How To Create Workflow Rules In Salesforce | Salesforce Workflow Rules
This video walks through the steps to create a Workflow Rule within the Process Automation section of Lightning Settings in Salesforce. Get answers to the…
How to Add Custom Fields on Custom Object in Salesforce?
Watch this video to learn all about how to add custom fields on custom objects in Salesforce. If you have any doubts do let us…