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
Ratheven SivarajahRatheven Sivarajah 

How do you a do SOQL from a custom object that has a master detail relastionship to Account object

I want to display some data from my custom object(Technology_product__c) using the id from the master-detail object(Account). Thank you in advance.

SELECT Name,(SELECT name FROM Technology_Product__r ) FROM Account WHERE Id='00105000002oNIyAAM'
Best Answer chosen by Ratheven Sivarajah
SubratSubrat (Salesforce Developers) 
Hello Ratheven ,

Requesting you to follow this article for reference -> https://www.sfdckid.com/2019/05/salesforce-soql-relationship-queries.html

Let me know if you still face any challenges .

Hope it helps !
Thank you.

All Answers

SubratSubrat (Salesforce Developers) 
Hello Ratheven ,

Requesting you to follow this article for reference -> https://www.sfdckid.com/2019/05/salesforce-soql-relationship-queries.html

Let me know if you still face any challenges .

Hope it helps !
Thank you.
This was selected as the best answer
todd toddcarMAYtodd toddcarMAY
Thanks for your file sharing! It is so useful! Thank you!  https://drift-boss.co/