Kendala ke kolom SQL

ALTER TABLE departments
ADD CONSTRAINT unique_id_constraint UNIQUE (id);
Tired Trout