1,481 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

1.1k
views
1 answers
0 votes
Ashutosh_17 asked Mar 30, 2023
1,079 views
Let R be a relation of degree 5 then the total number of projections possible on R is ___?
789
views
1 answers
1 votes
rohitkaushal1 asked Sep 25, 2022
789 views
Information about a collection of students is given by the relation studinfo (studid, name, sex). The relation enroll (studld, Courseld) gives which student has enrolled ...
2.2k
views
1 answers
3 votes
Hirak asked May 25, 2019
2,173 views
In a relational algebra ∩ is not a basic operator, to make it basic only relational operator we should have areX, – X, UU, –