ORA-36163: (XSMXAGGR06) The AGGREGATE function cannot be run on more than one variable at a time
Cause: The user named several variables to be AGGREGATED within a call to the AGGREGATE function
Action: The AGGREGATE function should be used to produce a single numeric value from aggregating a single variable. The AGGREGATE command can be used to precompute aggregations of several different variables
https://support.oracle.com/
http://www.oracle.com/