Skip to main contentSkip to solution

_________ joins are needed to combine 'N' tables on equality condition.

Solution

✅ Correct Option: 3

Each join combines two tables into one, so every join reduces the number of tables by one. Starting with NN tables and ending with a single result, we need N−1N - 1 joins.

For example, 3 tables AA, BB, CC need 2 joins: A⋈BA \bowtie B, then the result ⋈C\bowtie C.

Joins needed=N−1\text{Joins needed} = N - 1


Option 4: NN joins would be one more than needed; the first join already combines two tables.

Keyboard Shortcuts

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