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

SOQL issue

I am hard time to write a SOQL for a particular requirement. I need to find parent records based on child record value. We can include child record field in select clause using sub query but i need to know how can use in where clause.
For example i need to get product based on opportunity name from product object.
Thx and regards,
Check this doc,, it might help understand creation of relationship queries.