Database-Management-System
August 29, 2024Database-Management-System
August 29, 2024Database-Management-System
|
Question 690
|
In relational databases, the natural join of two tables is
|
cartesian product always
|
|
|
combination of union and filtered cartesian product
|
|
|
combination of selection and filtered cartesian product
|
|
|
combination of projection and filtered cartesian product
|
Question 690 Explanation:
→While performing a natural join, if there were no common attributes between the two relations, Natural join will behave as Cartesian Product.
→ Example: If the tables R and S contains common attributes and value of that attribute in each tuple in both tables are same, then the natural join will result n*m tuples as it will return all combinations of tuples.
→ Example: If the tables R and S contains common attributes and value of that attribute in each tuple in both tables are same, then the natural join will result n*m tuples as it will return all combinations of tuples.
Correct Answer: D
Question 690 Explanation:
→While performing a natural join, if there were no common attributes between the two relations, Natural join will behave as Cartesian Product.
→ Example: If the tables R and S contains common attributes and value of that attribute in each tuple in both tables are same, then the natural join will result n*m tuples as it will return all combinations of tuples.
→ Example: If the tables R and S contains common attributes and value of that attribute in each tuple in both tables are same, then the natural join will result n*m tuples as it will return all combinations of tuples.
