Skills101
← Tech dictionary

Databases & SQL

What is Primary key?

A primary key is a column (or set of columns) that uniquely identifies each row in a table; it cannot be NULL or duplicated. A foreign key in another table refers to it to link the tables.

Learn it properlyDBMS & SQL tutorials — free, with diagrams, quizzes and a certificate

Related terms