+ Start a Discussion
TilluTillu 

How to retrive records from child object which is associated with Parent when bith in Master rel

Contact is Master and policy__c is detailed. i want to retrive policy records which is associated with contact. need SOQL querry for this

prakash_sfdcprakash_sfdc

SELECT Id, (SELECT Id FROM ChildRelationshipName__r) FROM Contact;