Machine-translated by Google. Questions are authored in English.
Top

Discussion

When the values in one or more attributes being used as a foreign key must exist in another set of one or more attributes in another table, we have created a(n):

  • A.transitive dependency.
  • B.insertion anomaly.
  • C.referential integrity constraint.
  • D.normal form.

Answer: C

Correct answer: referential integrity constraint.

A referential integrity constraint requires that every value appearing in a foreign key already exist as a key value in the referenced relation. It is what prevents an order from referring to a customer who does not exist, and it is enforced by the database rather than by the application. Normal forms and anomalies concern the structure of a single relation.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.