Check out example codes for "drop primary key oracle". It will help you in understanding the concepts better.

Code Example 1

-- Dropping Using alter
ALTER TABLE table_name
DROP CONSTRAINT constraint_name;

Code Example 2

-- Adding Using alter
ALTER TABLE table_name
ADD CONSTRAINT constraint_name PRIMARY KEY (column1, column2, ... column_n);

Learn ReactJs, React Native from akashmittal.com