SOQL sub query

select Account.Id, Account.Name, (Select Opportunity.Name From Account.Opportunities Limit 1) From Account LIMIT 10

Print Friendly, PDF & Email
This entry was posted in Development, Soql and tagged , . Bookmark the permalink.