select distinct CONSTRAINT_NAME
from information_schema.TABLE_CONSTRAINTS
where table_name="table_name" and constraint_type="UNIQUE";
select distinct CONSTRAINT_NAME
from information_schema.TABLE_CONSTRAINTS
where table_name="table_name" and constraint_type="UNIQUE";