SQL-based semantics for path expressions over hierarchical data in relational databases
SQL-based semantics for path expressions over hierarchical data in relational databases
复制标题
关系数据库中分层数据的基于 SQL 的路径表达式语义
DOI:
--
复制
发表时间:
2014
影响因子:
2.4
通讯作者:
Marko Junkkari
中科院分区:
文献类型:
--
作者:
J. Vainio;Marko Junkkari
Hierarchical part-of relationships/aggregation structures and related queries are essential parts of information systems. However, relational database query languages do not explicitly support hierarchical relationships and queries. A hierarchical query may require a great number of join operations, which increases the effort in query formulation. Therefore, we propose path expressions in formulating hierarchical views over relational data because path expressions are a conventional and compact way to represent hierarchical relationships. We embed path expressions within SQL queries and compile them to standard SQL. This ensures that the path expressions can straightforwardly be implemented on the top of standard relational database systems. The compilation of a path expression is given by an attribute grammar, a conventional formalism to define the semantics of a language.