A simple question: consider these two List queries:
List<Account> actList = [SELECT Id, (Select Id from Orders) FROM Account];
List<Account> actList = [SELECT Id, (Select Id from Quotes) FROM Account];
The first works fine, as for the second I keep getting an error message indicating that the relationship name "Quotes" is not recognised. I can't seem to find the right relationship name to use, although there's a lookup relationship from the Quote Object to account. I've tried appending __r as well as writing Quote in singular but to no avail. Please help if you know the relationship name, or suggest a better way to go about getting the child quote records of an account.