notes
alter table tablename add constraint unionkeyname primary key (column1,column2);
The above statement:
tablename is the table you want to add Constraints
unionkeyname to add the name of Constraints
column1, column2 role as the primary key column names of two columns
Description link