Back to the 2023 paper

Unit 1: Database System Architecture

20237m

Which key cannot be null

  • (i) Unique key
  • (ii) Primary key
  • (iii) Super key
  • (iv) Foreign key
Worked SolutionAI Assisted

Answer: (ii) Primary key

Explanation: Primary key cannot be NULL and must be unique - entity integrity constraint. Unique key can have one NULL (in many DBMS) but cannot duplicate. Super key is any set of attributes that uniquely identifies row, may include extra attributes. Foreign key can be NULL (if relationship optional) - referential integrity allows NULL.

Similar questions

Free AppAndroid App

Coursify Android App

Generate AI courses, take quick quizzes between classes, and master complex engineering concepts on the go.