Primary Keys
A primary key is a column or a group of columns that is used to identify a row uniquely in a table.
A table can have only one primary key.
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
Syntax
-- Primary Key
CREATE TABLE table_name (
column_name data_type PRIMARY KEY,
column_name data_type, ...);