QuestionQ91

VerifiedDetection Analysis

Which query using the groupBy() function will cause a syntax error?

Explanation

groupBy() supports one positional grouping-field argument. To group by multiple fields, they must be provided as a single array (for example, groupBy([field1, field2])), while later arguments such as function must be named. Supplying several separate positional fields after the first is invalid syntax.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!