Tutorials on Creating Parent Child Relationships with Custom Objects?
SELECT Id, Name, Parent__r.Id, Parent__r.Name from Child__c ORDER BY Parent__r.Name
I see the mother child page on this api doc but I am unable to find this feature in my Developer account. If someone can point me to how I can do this, I would appreciate it.
Parent relationship queries are not allowed
I am not sure what exactly you need in query.
If you want to learn about writing queries, then yes i agree, salesforce documentations are not that great :P .
I can help you with the query you want to write. Let me know exactly what you want to achieve and the relationships and field names of your custom objects. So that I can help you to write a query.
You can drop an email to me at email@example.com or you can connect with me on my skype id - mandar19.kulkarni
Thanks, I have figured out the relationship query for my object by using the correct relationship name and the letter to reference the object field.
My query now works as expected:
Select c.Name,c.Course_title__c, (Select Id, Name From STUDENT_COURSES_DETAILS__r) From Course__c c
I found this page useful: