==Introduction==
The SQL Module allows contains [[Querying#Functions|XQuery functions]] to access to relational databases from XQuery using SQL. With this module , you can execute query, update and prepared statements , and the result sets are returned as sequences of XML elements representing tuples. Each element has attributes representing the columns returned by the SQL statement. All functions dealing with access to relational databases are located in use the <code>sql</code> prefix, which is linked to the namespace <code><nowiki>http://www.basex.org/sql</nowiki></code>namespace.
==Connections==