1,383 views
0 votes
0 votes

In relational algebra query , it always remove duplicates,

So, do we need to use cross product always, in place of join or union operation ? If not , then where exactly we use join or union operation ?

1 Answer

1 votes
1 votes
join is actually a combination of ( cartesian product, select ).

join opration pair two tuples form  different relations, if and only if a given join condition is satisfied.

cartesian product alone is meaning less .so we use it with select as a join. it is need not be union compatible.

Related questions

0 votes
0 votes
1 answer
1
Ashutosh_17 asked Mar 30, 2023
886 views
Let R be a relation of degree 5 then the total number of projections possible on R is ___?
3 votes
3 votes
1 answer
4
Hirak asked May 25, 2019
2,126 views
In a relational algebra ∩ is not a basic operator, to make it basic only relational operator we should have areX, – X, UU, –