Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

OrderByClause

Order intermediate results.


Syntax

OrderByClause

graphics/OrderByClause.png

SortSpecList

Top of page

Description

In a FLWOR expression, an OrderByClause sorts the intermediate result tuples before passing them to the return clause where the output sequence is constructed.

Top of page

Example

See FLWORExpr and SortSpecList for examples.

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page