types of joins in relational algebra with examples
Theta-Join I The theta-join of two relations R and S is the set of tuples in theCartesian product of R and S that satisfy some condition C.RA R ./ C SSQL SELECT *FROM R, SWHERE C; I R ./ C S = Ë C (R S): T. M. Murali August 30, 2010 CS4604: SQL and Relational Algebra. Results of operations are also sets of tuples. (Later, we will dene arelational algebra on bags.) I Think of expressions in relational algebra as queries, which construct newrelations from given relations. I Four types of operators: I Remove parts of a single relation: projection and selection.