Current methods of evaluating nested queries in the SQL language can be inefficient in a variety of query and data base contexts. Previous research in the area of nested query optimization which sought methods of reducing evaluation costs is summarized, including a classification scheme for nested queries, algorithms designed to transform each type of query to a logically equivalent form which may then be evaluated more efficiently, and a description of a major bug in one of these algorithms. Further examination reveals another bug in the same algorithm. Solutions to these bugs are proposed and incorporated into a new transformation algorithm, and extensions are proposed which will allow the transformation algorithms to handle a larger class of predicates. A recursive algorithm for processing a general nested query is presented and the action of this algorithm is demonstrated. This algorithm can be used to transform any nested query.
CITATION STYLE
Ganski, R. A., & Wong, H. K. T. (1987). Optimization of nested SQL queries revisited. In Proceedings of the ACM SIGMOD International Conference on Management of Data (pp. 23–33). Association for Computing Machinery. https://doi.org/10.1145/38713.38723
Mendeley helps you to discover research relevant for your work.