notes/School/Development/Primary Key.md

12 lines
342 B
Markdown

# Primary Key
A Primary key is a [[Constraint]] that uniquely identifies [[SQL Database#Entity]] in a entity set (table).
There can only be ONE primary per table and can consist of multiple attributes (columns).
A primary key is **not** required, but highly advised. Even if you don't use it its better to include one in your scheme.