Aggregate Functions in Salesforce - The Developer Guide
Blog
in Others, Salesforce
In Spring ‘10, Salesforce released new Apex functionality for total functions in SOQL. These queries return an AggregateResult object. Utilize aggregate functions in a Group…