Activity › Forums › Salesforce® Discussions › How to query for custom object in salesforce? Tagged: Child Object, Object Field, Parent Child Object, Salesforce Custom Object, Salesforce Customization, Salesforce Query Salesforce® Discussions How to query for custom object in salesforce? Posted by shariq on July 27, 2017 at 9:09 AM I want to query custom object fields which is a child of standard object? Parul replied 7 years, 9 months ago 3 Members · 2 Replies Child ObjectObject FieldParent Child ObjectSalesforce Custom ObjectSalesforce CustomizationSalesforce Query 2 Replies Aman Member July 27, 2017 at 9:43 AM Hello Shariq, you can try this : select name,(select name from Childs1__r) from Master__c . you can refer this link : https://developer.salesforce.com/forums/?id=906F0000000MJapIAG [adinserter block='9'] Parul Member September 16, 2018 at 2:43 PM Hi select name,(select name from Childs1__r) from Master__c . for example: Select Name from Position__c; Thanks Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me