GATE CS 2014, set 3 · Question 32 · Databases · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer

A prime attribute of a relation scheme R is an attribute that appears

  1. (A) in all candidate keys of R.
  2. (B) in some candidate key of R.
  3. (C) in a foreign key of R.
  4. (D) only in the primary key of R.
Answer

Answer (B)

Answer from the official GATE CS 2014 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes