You need to sign in to do that
Don't have an account?

SOQL relation
How to write some inner query like that (this one gives an error)
Code:
select
Status__c,
Approved_Amount__c,
(select firstName from cc.MDF__r.account__r.Contacts where MySpecificValue = true )
from SFDC_MDF_Claim__c cc where id in :ids
Think you have the SOQL wrong. You have
You have to point to an object in the FROM clause so it should be something like
Hope this helps.