Tuesday, 11 September 2012

Retrieving information from child to parent incase of standard objects using SOQL

[SELECT Id, Name,(select id,name from contacts) FROM Account]

* In above query, use contacts instead of contact

No comments:

Post a Comment

Labels