Loading…

Path Expressions in SQL: A User Study on Query Formulation

This article focuses on testing a path-oriented querying approach to hierarchical data in relational databases. The authors execute a user study to compare the path-oriented approach and traditional SQL from two perspectives: correctness of queries and time spent in querying. They also analyze what...

Full description

Saved in:
Bibliographic Details
Published in:Journal of database management 2016-07, Vol.27 (3), p.1-22
Main Authors: Junkkari, Marko, Vainio, Johanna, Iltanen, Kati, Arvola, Paavo, Kari, Heidi, Kekäläinen, Jaana
Format: Article
Language:English
Subjects:
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:This article focuses on testing a path-oriented querying approach to hierarchical data in relational databases. The authors execute a user study to compare the path-oriented approach and traditional SQL from two perspectives: correctness of queries and time spent in querying. They also analyze what kinds of errors are typical in path-oriented SQL. Path-oriented query languages are popular in the context of object-orientation and XML. However, relational databases are the most common paradigm for storing data and SQL is most common for manipulating data. When querying hierarchical data in SQL, the user must specify join conditions explicitly between hierarchy levels. Path-oriented SQL is a new alternative for expressing hierarchical queries in relational databases. In the authors' study, the users spent significantly less time in writing path-oriented SQL queries and made fewer errors in query formulation.
ISSN:1063-8016
1533-8010
DOI:10.4018/JDM.2016070101