Skip to main contentSkip to solution

Ram combines tuples from two tables on specified conditions on the related attributes of two tables within the FROM clause. This concept is known as:

Solution

✅ Correct Option: 2

A join combines tuples from two tables based on a condition on related attributes (for example, matching a foreign key with a primary key), and it is written in the FROM clause, such as FROM A JOIN B ON A.id = B.id\text{FROM A JOIN B ON A.id = B.id}.


Option 1: A Cartesian product pairs every row of one table with every row of the other, with no condition applied. A join is a Cartesian product filtered by a condition.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question