Key constraint states that:

2016

Key constraint states that:

  1. A.

    a table can't have more than one candidate keys

  2. B.

    a table can't have both primary key and foreign key

  3. C.

    the value of foreign key can't be null

  4. D.

    the value of primary key must be unique in all tuples

Attempted by 162 students.

Show answer & explanation

Correct answer: D

a key constraint ensures that an identifier uniquely distinguishes each row within a relation. The value of a primary key must be unique in all tuples and cannot contain duplicate values, maintaining data integrity. Therefore, Option D is the correct answer.

Explore the full course: Btsc Lab Assistant