You need to sign in to do that
Don't have an account?
meet.siva
Soql query
Hi,
I have two custom objects Opportunity_CRM__c and Test__c. Each custom fields in Test__c is populated using data from Opportunity_CRM__c based on some conditions.
There is no relationship between the two custom objects.
For example:
Total_Opportunities field in Test__c takes total count of opportunities from Opportunity_CRM__c and Total_Opportunities_Closed_Won field in Test__c takes total count of closed won opportunities from Opportunity_CRM__c.
All fields are grouped based on employee_ID__c field.
Is there any way to write Soql sub query?
Regards
S.Sivakumar
What do you want to achieve with the query?
anup
Anup
You cannot right sub-query as there is no relationship.
Although you can query data from both object and initialize Map to locate and use records without hitting governor limits.