1.

List Two Reasons Why Null Values Might Be Introduced Into The Database?

Answer»

Nulls may be introduced into the database because the actual value is either unknown or does not exist. For example, an EMPLOYEE whose address has CHANGED and whose NEW address is not yet known should be retained with a null address. If employee tuples have a composite attribute dependents, and a particular employee has no dependents, then that TUPLE’s dependents attribute should be given a null value.

Nulls may be introduced into the database because the actual value is either unknown or does not exist. For example, an employee whose address has changed and whose new address is not yet known should be retained with a null address. If employee tuples have a composite attribute dependents, and a particular employee has no dependents, then that tuple’s dependents attribute should be given a null value.



Discussion

No Comment Found

Related InterviewSolutions