All mock tests are FREE till 31 December — register to save your progress
Unit 4 · Database Management Systems Paper 2 CS · December 2022 Shift 1

Consider the relation R(P, Q, R, S, T, U, V, W, X, Y) and FDs: {P, Q, S} → T, R → Y, {P, Q} → V, {R, X} → X, Q → U, V → {W, X}. Which of the following is a candidate key?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. {P, Q, R, S}

Explanation

P, Q, R, S never appear on a right side, so they must be in every key. {P, Q, R, S}⁺ = P, Q, R, S, T, Y, V, U, W, X, i.e. all attributes. It is the candidate key.

More Database Management Systems questions