I have two columns type and name in the database. I want to apply a unique constraint where the name is unique within each type.
Type Name
A ABC
R ABC
B ABC
should be allowed whereas
Type Name
A ABC
A ABC
should not be allowed
How to enforce this constraint where name is unique within each type?
Thanks,