Repetitions and permutations of columns in the semijoin algebra
Hasselt University and Transnational University of
Limburg Agoralaan, gebouw D, 3590 Diepenbeek Belgium; email@example.com
Accepted: 3 April 2008
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.
Mathematics Subject Classification: 68P15
Key words: Database / relational algebra / semijoin algebra / projection.
© EDP Sciences, 2008