Answers for "parent soql query"

0

parent soql query

for(University__c u: [select Name,(select Name from colleges__r) from university__c])
{   
    for(College__c c:u.Colleges__r)
         System.debug('University Name:'+u.Name+'   College Name:'+c.Name);
}<div class="open_grepper_editor" title="Edit & Save To Grepper"></div>
Posted by: Guest on May-02-2020

Browse Popular Code Answers by Language