+ Start a Discussion
Venkata Sravan Kumar BandariVenkata Sravan Kumar Bandari 

SOQL: how to get attachments from attachement object

i want to retrieve the attachments of SObject Account and also i was created a custom field(checkbox) named as is_read__c. 
Now, using SOQL is it possible to get attachments of Account from attachment SObject where condition is is_read__c = true
You can the respective object attachments like 

Select Id From Attachment where ParentId = 'record id'