-
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
Dreamforce 2022 Highlights - Everything You Need To Know
The Salesforce’s annual event, “Dreamforce” was held in San Francisco from September 21 to 23, completing their 20 years of magnificence. This year’s event was…
Case Study: Empowering Global Pharma Customer Support
Transformative impact of the Salesforce Service Cloud Call Center Solution on enhancing customer support across multiple countries within the pharmaceutical industry. The pharmaceutical industry operates…
Zero-Downtime Commerce Migration: Moving from Legacy E-Commerce to Salesforce Commerce Cloud
Every hour of downtime on a retail site drains money. Industry research pegs enterprise downtime costs at $1 million or more per hour, and some…
Popular Salesforce Videos
Salesforce Essentials vs Professional
In this video, Bradley Large answers some of the most common questions people have about Salesforce. He gives clear and concise answers to questions like:…
Marc Benioff talks Salesforce - AT&T deal, office health safety and online media regulation
Salesforce’s Customer 360 will enable AT&T to deliver highly-tailored customer experiences seamlessly across retail, marketing, online, business, and more. AT&T will utilize Salesforce’s entire portfolio…
Apex Design Patterns : The Singleton Pattern in Salesforce || #Salesforce #DesignPatterns
The Singleton Pattern One Private variable of the class itself will hold the instance of the complete class so that we can access all the…