Journal of the ACM · 1988 · 296 citations · 12 references
ComputingComputer ScienceAlgorithmsDatabasesSet TheoryBoolean AlgebraPartially Ordered SetsPredicate LogicQuery OptimizationQuery ProcessingMinimizationQuery ContainmentQuery EquivalenceQuery Minimization
Conjunctive queries are extended to allow inequality comparisons, and while general containment lacks homomorphisms, certain subclasses retain the homomorphism property. Algorithms for containment and equivalence of inequality queries over dense, totally ordered domains are presented, along with a minimization algorithm that uses the equivalence procedure. The study identifies essential versus nonessential constants in a query and shows that the minimal query can be nondeterministically guessed using only the essential constants.
Conjunctive queries are generalized so that inequality comparisons can be made between elements of the query. Algorithms for containment and equivalence of such “inequality queries” are given, under the assumption that the data domains are dense and totally ordered. In general, containment does not imply the existence of homomorphisms (containment mappings), but the homomorphism property does exist for subclasses of inequality queries. A minimization algorithm is defined using the equivalence algorithm. It is first shown that the constants appearing in a query can be divided into “essential” and “nonessential” subgroups. The minimum query can be nondeterministically guessed using only the essential constants of the original query.
12
Optimal implementation of conjunctive queries in relational data bases
Ashok K. Chandra, Philip M. Merlin · 1977 · 1.2K citations · Full text
M. M. Astrahan, Michael W. Blasgen, Donald D. Chamberlin et al. · ACM Transactions on Database Systems · 1976 · 1K citations · Full text
The design and implementation of INGRES
Michael Stonebraker, Gerald Held, Eugene Wong et al. · ACM Transactions on Database Systems · 1976 · 884 citations · Full text
Equivalences among Relational Expressions
A. V. Aho, Yehoshua Sagiv, Jeffrey D. Ullman · SIAM Journal on Computing · 1979 · 364 citations
Computing, Computer Science, Algebra +15