cara menambahkan kendala unik di tabel mysql

ALTER TABLE mytbl ADD UNIQUE (columnName);
Easy Eland