Referential Integrity deals with a constraint involving two relations. It is used to specify a relationship among tuples in two relations:
- the referencing relation; tuples in the referencing relation has foreign key attributes referencing the primary key
- the referenced relation; tuples in the referenced relation have primary key attributes referenced by the foreign key