Activity Forums Salesforce® Discussions How to query for custom object in salesforce?

  • 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

     

  • 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.

Popular Salesforce Blogs

Popular Salesforce Videos