Database Management
primer-original-v2easySQLPrimary KeyConstraintsprimer-original-v2

Which constraints does a PRIMARY KEY automatically enforce?

Answer options

A
NOT NULL and UNIQUE
B
UNIQUE and CHECK
C
NOT NULL and DEFAULT
D
FOREIGN KEY and UNIQUE

Correct answer: NOT NULL and UNIQUE

Detailed Solution & Conceptual Analysis

This question has been retained as-is due to its unique context.

Key Engineering Takeaway

In Database Management, understanding the underlying mechanics of SQL is critical for writing performant, bug-free production code and passing rigorous technical architecture reviews.

Related Database Management questions

Practice more Database Management questions

PrimerPrep has independently reviewed practice questions and coding exercises — all free.