sql - SOQL statement joining 2 objects -


having issues retrieving data 2 different sf objects, custom object , accounts object. there field in contact object, first i'm trying tackle jobs db , account object. here query without join: 1

contact__c , practice_name__c both type lookup. i'm not sure these 2 values returned are... keys used in clause? here can see relationships: 2 3

can show me join return query above field names rather foreign keys?

here lookup query foreign key practice name above: enter image description here

for accessing fields of lookup objects don't need join query, can these fields in 1 query, instance:

select name, email__c, contact__r.name, practice_name__r.name job_database__c status__c = 'active' 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -