App C
App C
EMPLOYEES DEPARTMENTS
Cartesian product:
20 x 8 = 160 rows
EMPLOYEES DEPARTMENTS
… …
Foreign key Primary key
EMPLOYEES DEPARTMENTS
… …
…
To join n tables together, you need a minimum of n–1
join conditions. For example, to join three tables, a
minimum of two joins is required.
EMPLOYEES JOB_GRADES
DEPARTMENTS EMPLOYEES
…
There are no employees
in department 190.
… …