If AB and C are the candidate keys in a relation schema R(A,B,C,D), then what…

2018

If AB and C are the candidate keys in a relation schema R(A,B,C,D), then what are the prime attributes?

Answer: A. A, B, and C onlyPrime attributes are defined as any attribute that is part of at least one candidate key. Since the candidate keys are AB and C, the attributes A, B, and C…

  1. A.

    A, B, and C only

  2. B.

    A and B only

  3. C.

    A and C only

  4. D.

    B and C only

Attempted by 1061 students.

Show answer & explanation

Correct answer: A

Prime attributes are defined as any attribute that is part of at least one candidate key. Since the candidate keys are AB and C, the attributes A, B, and C constitute the set of prime attributes.

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…