ONE DAY SALE

Free Salesforce Developers Tutorials >

Chapter 6 - SOQL >

SOQL Multi level Relationships

SOQL Multi level Relationships

What You’ll Learn


S2 Labs

What Is Multi-Level Relationships In Salesforce?

In SOQL, you can traverse up to a maximum of five levels when querying data from child object to parent.

SELECT Name, Position__r.Contact.Account.Owner.FirstName
    FROM Job_Application__c;
    SELECT Name, (SELECT Name FROM Job_Applications__r)
    FROM Position__c

Five Levels:

Job Application → Position → Contact → Account → User

 

salesforce-developer

Download Study Material

Get access to exclusive study material for Salesforce Certification and ace your exams!

Download Now

Our Salesforce Certification Courses

Hey there! Glad you made it through our Salesforce Developer Training for beginners . But wait! We've got some high-in-demand Salesforce courses for you to take your Salesforce skills to the next level, making you a desired professional in the Salesforce job market.

Post a Comment

Your email address will not be published. Required fields are marked *