The following functional dependencies hold for relations and
The relation contains tuples and the relation contains tuples. What is the maximum number of tuples possible in the natural join ?
View worked solution
Answer: A
To find the maximum number of tuples in the natural join , we first identify the join attribute and analyze the constraints on it.
- Identify the Join Attribute: The common attribute between and is . Therefore, the natural join is performed on .
- Analyze the Functional Dependencies on :
We are given:
- Determine Tuple Uniqueness: Because is a candidate key of , the values of in must be unique. Thus, each distinct value of can appear at most once in .
- Calculate the Join Size: In the natural join , each tuple in can match with at most one tuple in (since is unique in ). Since contains tuples, the maximum number of matching tuples in the join is .
Thus, the maximum number of tuples possible in is .
Free practice · Your answers on this page are not saved.
