CBSE Class 12 Informatics Practices Question 1 of 91

JOINS and SET Operations — Question 1

Back to all questions
1
Question

Question 1

Assertion. Cartesian product and joins are related.

Reason. Cartesian product is a join without any condition.

  1. Both A and R are true and R is the correct explanation of A.
  2. Both A and R are true but R is not the correct explanation of A.
  3. A is true but R is false.
  4. A is false but R is true.
Answer

Both A and R are true and R is the correct explanation of A.

Explanation
The Cartesian product and joins are related because a Cartesian product is a join without any condition. While a join is a query that combines rows from two or more tables based on a specified condition, a Cartesian product (or cross join) pairs every row from one table with every row from another, resulting in a set that includes all possible combinations of rows.