I have to retrive datas from 2 custom object and sobject Product2,
Object details as follows, object name :delv__dftly_Delivery_Checkouts__r Field name API Name Data type dftly tasks delv__ForTask__c Lookup(dftly tasks). Product delv__ItemRequired__c Lookup(Product)
I have tried writing the query as below separatly join 2 object.
select ID, (select ID, delv__ItemRequired__c from delv__dftly_Delivery_Checkouts__r) from Product2 select Id, (select ID from delv__dftly_Delivery_Checkouts__r) from delv__dftly_tasks__c
How can i make this 2 queries into a single query and retrieve data in single run.