You need to sign in to do that
Don't have an account?
Deepak agarwal 9
get opportunities count for each account soql
Hi
i want opportunities count for each account using soql.
i want opportunities count for each account using soql.
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
SELECT COUNT(Id), AccountId, Account.Name FROM Opportunity GROUP BY AccountId, Account.Name
The results can be accessed in a similar way to this:
Hope this helps!
AM