Repetitions and permutations of columns in the semijoin algebra

Dirk Leinders; Jan Van Den Bussche

RAIRO - Theoretical Informatics and Applications - Informatique Théorique et Applications (2009)

  • Volume: 43, Issue: 2, page 179-187
  • ISSN: 0988-3754

Abstract

top
Codd defined the relational algebra [E.F. Codd, Communications of the ACM 13 (1970) 377–387; E.F. Codd, Relational completeness of data base sublanguages, in Data Base Systems, R. Rustin, Ed., Prentice-Hall (1972) 65–98] as the algebra with operations projection, join, restriction, union and difference. His projection operator can drop, permute and repeat columns of a relation. This permuting and repeating of columns does not really add expressive power to the relational algebra. Indeed, using the join operation, one can rewrite any relational algebra expression into an equivalent expression where no projection operator permutes or repeats columns. The fragment of the relational algebra known as the semijoin algebra, however, lacks a full join operation. Nevertheless, we show that any semijoin algebra expression can still be simulated in a natural way by a set of expressions where no projection operator permutes or repeats columns.

How to cite

top

Leinders, Dirk, and Jan Van Den Bussche. "Repetitions and permutations of columns in the semijoin algebra." RAIRO - Theoretical Informatics and Applications - Informatique Théorique et Applications 43.2 (2009): 179-187. <http://eudml.org/doc/245912>.

@article{Leinders2009,
abstract = {Codd defined the relational algebra [E.F. Codd, Communications of the ACM 13 (1970) 377–387; E.F. Codd, Relational completeness of data base sublanguages, in Data Base Systems, R. Rustin, Ed., Prentice-Hall (1972) 65–98] as the algebra with operations projection, join, restriction, union and difference. His projection operator can drop, permute and repeat columns of a relation. This permuting and repeating of columns does not really add expressive power to the relational algebra. Indeed, using the join operation, one can rewrite any relational algebra expression into an equivalent expression where no projection operator permutes or repeats columns. The fragment of the relational algebra known as the semijoin algebra, however, lacks a full join operation. Nevertheless, we show that any semijoin algebra expression can still be simulated in a natural way by a set of expressions where no projection operator permutes or repeats columns.},
author = {Leinders, Dirk, Jan Van Den Bussche},
journal = {RAIRO - Theoretical Informatics and Applications - Informatique Théorique et Applications},
keywords = {database; relational algebra; semijoin algebra; projection},
language = {eng},
number = {2},
pages = {179-187},
publisher = {EDP-Sciences},
title = {Repetitions and permutations of columns in the semijoin algebra},
url = {http://eudml.org/doc/245912},
volume = {43},
year = {2009},
}

TY - JOUR
AU - Leinders, Dirk
AU - Jan Van Den Bussche
TI - Repetitions and permutations of columns in the semijoin algebra
JO - RAIRO - Theoretical Informatics and Applications - Informatique Théorique et Applications
PY - 2009
PB - EDP-Sciences
VL - 43
IS - 2
SP - 179
EP - 187
AB - Codd defined the relational algebra [E.F. Codd, Communications of the ACM 13 (1970) 377–387; E.F. Codd, Relational completeness of data base sublanguages, in Data Base Systems, R. Rustin, Ed., Prentice-Hall (1972) 65–98] as the algebra with operations projection, join, restriction, union and difference. His projection operator can drop, permute and repeat columns of a relation. This permuting and repeating of columns does not really add expressive power to the relational algebra. Indeed, using the join operation, one can rewrite any relational algebra expression into an equivalent expression where no projection operator permutes or repeats columns. The fragment of the relational algebra known as the semijoin algebra, however, lacks a full join operation. Nevertheless, we show that any semijoin algebra expression can still be simulated in a natural way by a set of expressions where no projection operator permutes or repeats columns.
LA - eng
KW - database; relational algebra; semijoin algebra; projection
UR - http://eudml.org/doc/245912
ER -

References

top
  1. [1] S. Abiteboul, R. Hull and V. Vianu, Foundations of Databases. Addison-Wesley (1995). Zbl0848.68031
  2. [2] H. Andréka, I. Németi and J. van Benthem, Modal languages and bounded fragments of predicate logic. J. Philosophical Logic 27 (1998) 217–274. Zbl0919.03013MR1624137
  3. [3] E.F. Codd, A relational model of data for large shared data banks. Communications of the ACM 13 (1970) 377–387. Zbl0207.18003
  4. [4] E.F. Codd, Relational completeness of data base sublanguages, in Data Base Systems, R. Rustin, Ed. Prentice-Hall (1972) pp. 65–98. 
  5. [5] E. Grädel, On the restraining power of guards. J. Symbolic Logic 64 (1999) 1719–1742. Zbl0958.03027MR1780081
  6. [6] E. Grädel, Guarded fixed point logics and the monadic theory of countable trees. Theor. Comput. Sci. 288 (2002) 129–152. Zbl1061.03022MR1934892
  7. [7] E. Grädel, C. Hirsch and M. Otto, Back and forth between guarded and modal logics. ACM Transactions on Computational Logic 3 (2002) 418–463. MR1911554
  8. [8] E. Grädel and I. Walukiewicz, Guarded fixed point logic, in Proceedings of the 14th IEEE Symposium on Logic in Computer Science LICS ’99 (1999) pp. 45–54. MR1942519
  9. [9] D. Leinders and J. Van den Bussche, On the complexity of division and set joins in the relational algebra. J. Comput. Syst. Sci. 73 (2007) 538–549. Special issue with selected papers on database theory. Zbl1115.68066MR2320184
  10. [10] D. Leinders, M. Marx, J. Tyszkiewicz and J. Van den Bussche, The semijoin algebra and the guarded fragment. J. Logic, Language and Information 14 (2005) 331–343. Zbl1080.03012MR2167027
  11. [11] D. Leinders, J. Tyszkiewicz and J. Van den Bussche, On the expressive power of semijoin queries. Inform. Process. Lett. 91 (2004) 93–98. Zbl1178.68202MR2064649

NotesEmbed ?

top

You must be logged in to post comments.

To embed these notes on your page include the following JavaScript code on your page where you want the notes to appear.

Only the controls for the widget will be shown in your chosen language. Notes will be shown in their authored language.

Tells the widget how many notes to show per page. You can cycle through additional notes using the next and previous controls.

    
                

Note: Best practice suggests putting the JavaScript code just before the closing </body> tag.