Primary key - a column or a group of columns that is used to identify a row uniquely in a table
You define primary keys through primary key constraints — A table can have one and only one primary key
It's good practice to add a primary key to every table
When you add a primary key to a table, PostgreSQL creates a unique index on the column or a group of columns used to define the primary key
We use cookies to understand our websites traffic and offer our website visitors personalized experience. To find out more, click ‘More Information’. In addition, please, read our
Privacy policy.