In: Operations Management
What does a database expert mean when (s)he observes that a database displays both entity and referential integrity?
Entity integrity describes a condition in which all tuples within a table are uniquely identified by their primary key. The unique value requirement prohibits a null primary key value, because nulls are not unique.
Referential integrity describes a condition in which a foreign key value has a match in the corresponding table or in which the foreign key value is null. The null foreign key value makes it possible not to have a corresponding value, but the matching requirement on values that are not null makes it impossible to have an invalid value.
Means when data is displaying all the fields.