The following XPath query aggregate functions are available: avg count id max min sum These functions must contain full queries as their arguments. However, the avg, max, min, and sum functions must specify a column in the query to aggregate.