The following table lists the commonly used sequence functions provided by XQuery.
|Sr.No||Name & Description|
Counts the items in a sequence.
Returns the sum of the items in a sequence.
Returns the average of the items in a sequence.
Returns the minimum valued item in a sequence.
Returns the maximum valued item in a sequence.
Returns select distinct items from a sequence.
Returns a subset of provided sequence.
Inserts an item in a sequence.
Removes an item from a sequence.
Returns the reversed sequence.
Returns indexes as integers to indicate availability of an item within a sequence.
Returns the last element of a sequence when used in predicate expression.
Used in FLOWR expressions to get the position of an item in a sequence.