What is a primary key in a database?
What is a primary key in a database?
Approach: Define unique identifier for records.
A specific column or set of columns in a table that uniquely identifies each row. It cannot contain null values and must be unique across the table.
Follow-up: What is a foreign key?
Key concepts: uniqueness, non-null, indexing.