This article presents a declarative query language, Document SQL (DSQL) that has the same look and feel as SQL and was designed by updating the semantics of SQL operations in the structured document domain. At the same time, DSQL was designed such that all queries written in it have equivalent counterparts in XQuery. Thus, by using such a language, users can take advantage of their existing SQL knowledge when writing ad-hoc queries without losing the expressive power of XQuery.
(2009). Document SQL (DSQL) - An Accessible Yet Comprehensive Ad-hoc Querying Frontend for XQuery. Technology First, 7 (3), 14-15.