-
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

Salesforce Consulting Services: What Does a Salesforce Administrator Do?
It is evident from the fact that any given technology can bring laurels to a company. Not only this, but it can also brighten job…

What is Field level security in SQL? | The Ultimate Guide
What is Field Level Security in SQL? Field level security in SQL is a feature that allows administrators to control access to specific fields in…

Image Uploader: An Amazing Lightning Component
This is the documentation to create a lightning component to upload pictures to a standard salesforce object which in this particular case is the Products.…
Popular Salesforce Videos
Multipurpose VF Component to Add Multiple Records on a Button's Click | Salesforce Tutorials
In this video, I will create a multipurpose VF component to add Contact records in a list on the click of a button then I…
Dreamforce 2021 FAQs
As the fall continues to approach, questions around Dreamforce 2021 continue to increase and that's why we've gone ahead and answered all the FAQs around…
How to Deactivate Salesforce Users
In this video, we'll show you how to Deactivate Salesforce Users. In Salesforce, you cannot delete users outright, as other references to the user may…