function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Imtiaz PashaImtiaz Pasha 

Hi all i want to query from accounts to opportunity and projects to get all the data any idea? help out

ShirishaShirisha (Salesforce Developers) 
Hi Imtiaz,


If Project has any relationship with the Account and Opportunity then you can simply query the records as below:

Select Id,opportunityfield from Project__c where AccountId='account record id'

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri
Imtiaz PashaImtiaz Pasha
Hi shrisha showing mal fucntion error query