On optimizing an SQL-like nested query
- 1 September 1982
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Database Systems
- Vol. 7 (3) , 443-469
- https://doi.org/10.1145/319732.319745
Abstract
SQL is a high-level nonprocedural data language which has received wide recognition in relational databases. One of the most interesting features of SQL is the nesting of query blocks to an arbitrary depth. An SQL-like query nested to an arbitrary depth is shown to be composed of five basic types of nesting. Four of them have not been well understood and more work needs to be done to improve their execution efficiency. Algorithms are developed that transform queries involving these basic types of nesting into semantically equivalent queries that are amenable to efficient processing by existing query-processing subsystems. These algorithms are then combined into a coherent strategy for processing a general nested query of arbitrary complexity.Keywords
This publication has 11 references indexed in Scilit:
- Design and implementation of a relational database on a minicomputerPublished by Association for Computing Machinery (ACM) ,1977
- Storage and access in relational data basesIBM Systems Journal, 1977
- The design and implementation of INGRESACM Transactions on Database Systems, 1976
- Decomposition—a strategy for query processingACM Transactions on Database Systems, 1976
- System RACM Transactions on Database Systems, 1976
- An approach to implementing a relational data management systemPublished by Association for Computing Machinery (ACM) ,1976
- SEQUELPublished by Association for Computing Machinery (ACM) ,1976
- Optimizing the performance of a relational algebra database interfaceCommunications of the ACM, 1975
- Implementation of a structured English query languageCommunications of the ACM, 1975
- A relational model of data for large shared data banksCommunications of the ACM, 1970