function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
RagsehRagseh 

I have one parent object say parent and 2 child object say child1 & child2. Can I create a soql query based on child1 and get details from child2. If so please help at here

Pankaj_GanwaniPankaj_Ganwani
Hi,

[select Id from childObject2__c where parent__c IN (select parent__c from ChildObject1__c)];