An extended relational algebra with control over duplicate elimination

  • Authors:
  • Umeshwar Dayal;Nathan Goodman;Randy H. Katz

  • Affiliations:
  • Computer Corporation of America, Cambridge, Massachusetts;Computer Corporation of America, Cambridge, Massachusetts;Computer Corporation of America, Cambridge, Massachusetts

  • Venue:
  • PODS '82 Proceedings of the 1st ACM SIGACT-SIGMOD symposium on Principles of database systems
  • Year:
  • 1982

Quantified Score

Hi-index 0.01

Visualization

Abstract

In the pure relational model, duplicate tuples are automatically eliminated. Some real world languages such as DAPLEX, however, give users control over duplicate elimination. This paper extends the relational model to include multiset relations, i.e., relations with duplicate tuples. It considers three formalisms for expressing queries in this model: extended relational algebra, tableaux, and DAPLEX. It shows that, as in the original algebra, the equivalence problem for conjunctive expressions in the extended algebra can be solved using tableaux, and is NP-complete. Finally, it demonstrates that the extended algebra and DAPLEX have essentially the same expressiveness relative to conjunctive expressions.