Skip to main contentSkip to solution

Which clause is used to combine rows from two tables that meet a condition?

Solution

✅ Correct Option: 3

JOIN combines rows from two tables by matching them on a condition, usually given with ON (for example, equality of a common column such as a key). Each result row contains columns from both tables.


UNION, INTERSECT and MINUS are set operators, not joins. They work on the results of two queries with the same columns, stacking or comparing whole rows rather than matching rows on a condition and widening them with columns from both tables.

UNION: all rows from both results, duplicates removed.

INTERSECT: only rows common to both results.

MINUS: rows in the first result that are not in the second.

Keyboard Shortcuts

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