You need to sign in to do that
Don't have an account?
nagamalli tadikonda
Write single query to get the asociated data
3objects like object1,object2& object 3 having relationship like object 1 &2 are lookup relatin and object 2& 3 have mastr relation write single query to get the asociated data
please check the salesforce documentation on "SOQL Relationship Queries" check below link.
https://developer.salesforce.com/blogs/developer-relations/2013/05/basic-soql-relationship-queries.html
Basic Examples of SOQL RELATIONSHIPS
Child > Parent (Standard Object)
Child >Parent(Custom Object)
Parent >Child(Standard object)
Parent >Child (Custom Object)
I hope it will be helpful.
Please mark it as solved.so they removed from unanswered questions.and more appear as the proper solution to similar kind of issue.
Best Regards
RahulKumar