CS FundamentalsEasyTCS NQT · Infosys pattern

Which pair of properties must every primary key satisfy?

  1. A. Unique and NOT NULL
  2. B. Unique and indexed as clustered
  3. C. Unique and referenced by a foreign key
  4. D. NOT NULL and numeric

Correct answer: A. Unique and NOT NULL

A primary key identifies each row, so its values must be unique and can never be NULL. It need not be numeric or clustered, and nothing has to reference it.

More DBMS and SQL questions

Exams that ask this topic