By: Prem Tiwari | Last Updated:
In this tutorial, I am going to share how to join two custom objects in SOQL. See the below example of SOQL queries to join two custom objects in sales force.
businessAddress__c(Fields: city__c, state__c, country__c)
select name, city__c, state, contract__c.name from businessAddress__c
Prem Tiwari is the founder of FreeWebMentor.com and also a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies. View all posts by Prem Tiwari