Sep 24, 2019 in Salesforce
Q: Explain briefly about GROUP BY with the syntax?

1 Answer

0 votes
Sep 25, 2019
With  API version 18.0 and later/you can use group by with aggregate functions, such as sum() or max() to summarize the data and enable you to rollup query results rather than having to process the individual records in your code.

Syntax: [ GROUP BY field GROUP BY LIST]

Related questions

0 votes
Sep 23, 2019 in Salesforce
0 votes
Aug 27, 2020 in Salesforce