We have a requirement in order to Find out the Child Record from the Parent List.
Parent Query: list<Case> caseList = [
select Id, recordTypeId, Type, Sub_Type__c, Origin, WMG_Image_Batch_ID__c, ANN_Company__c,ContactId,
WMG_Client_Social_Security_No_Encrypted__c, WMG_Client_Account_Number_Encrypted__c, Product_Manufacturer__c,
(Select id From Associated_Documents__r) from Case
];
Is there any way i can get the (Select id From Associated_Documents__r) in separate list as i need for my requirement.