010065: Invalid aggregation type.

Description

The input specified for the aggregation type is not allowed. The valid options are SUM, MAXIMUM, MEAN, MEDIAN, and MINIMUM.

Solution

Check the syntax and make sure the aggregation type has been correctly entered.