Multiple choice technology databases

To produce a meaningful result set without any cartesian products, what is the minimum number of conditions that should appear in the WHERE clause of a four-table join?

  1. 8

  2. 2

  3. 3

  4. 4

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

To avoid a cartesian product when joining N tables in a query, a minimum of N - 1 join conditions must be specified in the WHERE clause. Therefore, joining four tables requires at least three join conditions to properly relate all records without generating redundant combinations.