Functional Dependencies & Keys

Your answer
Answer & solution
Official answer: B
Step 1: A candidate key is a minimal attribute set that uniquely identifies a tuple. A relation may have several such sets. Step 2: An attribute is prime if it appears in at least one candidate key, including a candidate key not chosen as primary. Therefore B is the definition. Step 3: Requiring membership in every key is too strong. Foreign-key membership is unrelated, and selection of a primary key does not change which attributes are prime.