* {{Code|XQUERY 1 to 10}}<br/>returns the sequence {{Code|(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)}}.
* {{Code|SET RUNS 10; XQUERY 1 to 10}}<br/>runs the query 10 times, returns the result and prints the average execution time.
* {{Code|SET XMLPLAN true; XQUERY (1 to 10)[. = 1]}}<br/>returns the result and prints the query plan as XML.
|}