Skip to content
Question 66 of 95

Q.Assertion (A) : The PRIMARY KEY constraint in SQL ensures that each value in the column(s) is unique and cannot be NULL. Reason (R) : Candidate keys are not eligible to become a primary key. (A) Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation for Assertion (A). (B) Both Assertion (A) and Reason (R) are true and Reason (R) is not the correct explanation for Assertion (A). (C) Assertion (A) is true, but Reason (R) is false. (D) Assertion (A) is false, but Reason (R) is true.

Tamil Nadu DgeCBSE Class XII Board 2026MCQ· 1mImportance★★★★★
69% · 66/95 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

Assertion (A) is correct—a PRIMARY KEY enforces uniqueness and disallows NULL values—but Reason (R) is false because candidate keys are precisely the keys eligible to become a primary key.

The assertion captures the essence of what a PRIMARY KEY constraint does in a relational database. When you designate a column (or a combination of columns) as the primary key of a table, the database management system enforces two iron rules: every value in that column must be unique across all rows, and no row may have a NULL value in that column. This dual guarantee—uniqueness plus mandatory presence—is what makes a primary key the definitive identifier for each record. Without it, you cannot reliably distinguish one row from another, and the entire relational model begins to crumble.

Now consider the reasoning offered. It claims that candidate keys are not eligible to become a primary key. This is precisely backwards. In database design, a candidate key is any column or set of columns that satisfies the two criteria above: it uniquely identifies each row, and it contains no NULL values. A table may have several candidate keys—employee ID, email address, and passport number might all uniquely identify a person—but you choose exactly one of these candidate keys to serve as the primary key. The others remain as alternate keys (sometimes called unique keys), still enforcing uniqueness but not bearing the special status of "primary." So candidate keys are not merely eligible to become the primary key; they are the only keys eligible for that role.

Important

A candidate key is defined as a minimal superkey—any attribute or combination of attributes that can uniquely identify a tuple and contains no NULL values. The primary key is simply the candidate key you select to be the principal identifier. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.