What is a primary key?medium
Answer
A primary key uniquely identifies each row in a table.
Explanation
It should be unique and non-null, and it provides a stable reference for relationships through foreign keys.
Follow-upHow is a primary key different from a unique key?