Optional_Optional_Count returned XPDrops
Optional_Select which fields to find the maximum value
Optional_Select which fields to find the minimum value
Optional_Select which fields to sum
OptionalcursorSets the start position
OptionalorderDetermine the order of XPDrops to fetch.
OptionalskipSkip the first n XPDrops.
OptionaltakeTake ±n XPDrops from the position of the cursor.
OptionalwhereFilter which XPDrops to aggregate.
Aggregation Docs
Select which fields to average