Use below code to add a new Identity column and make it the Primary Key in the table.
Alter table [table_name] add ID int IDENTITY
Alter table [table_name] add primary key (ID)
Use below code to add a new Identity column and make it the Primary Key in the table.
Alter table [table_name] add ID int IDENTITY
Alter table [table_name] add primary key (ID)
Below are the steps to setup SQL Server 2019