You need to sign in to do that
Don't have an account?
Sarvesh Sharma
how many aggregate functions can be used in the SOQL query?
I am trying to write a grammar for parsing a SOQL query and while doing that I faced a problem where I need to find the maximum number of Aggregate functions (SUM (FieldName), COUNT (FieldName),... etc.) can be used in a single select clause of a SOQL query. Any help we appreciated. Thanks in advance!!!!!!
As per the salesforce documentation, Queries that include aggregate functions are subject to the same governor limits as other SOQL queries. So I think you can use # agregate functions == #fields.
Santosh
Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help