You can use aggregate functions in expressions in aggregate fields.
For more information about aggregate functions, see
Function Reference
.
In mappings in SQL ELT mode, you use your cloud data warehouse's native aggregate functions. For more information, see the documentation for your cloud data warehouse.