Search
Twitter

Join Two Custom Objects in SOQL

 

Today in this tutorial, I'll be showing how how to join two custom objects in SOQL:



businessAddress__c(Fields: city__c, state__c, country__c)

contract__c(Fields: Name)

 

select name, city__c, state, contract__c.name from businessAddress__c