Query graphs, implementing trees, and freely-reorderable outerjoins

Arnon S. Rosenthal, César A. Galindo-Legaria · 1990

We determine when a join/outerjoin query can be expressed unambiguously as a query graph, without an explicit specification of the order of evaluation. To do so, we first characterize the set of expression trees that implement a given join/outerjoin query graph, and investigate the existence of transformations among the various trees. Our main theorem is that a join/outerjoin query is freely reorderable if the query graph derived from it falls within a particular class, every tree that “implements” such a graph evaluates to the same result.

Read the paper · More papers on PaperTik