This question requires some hypothetical background. Let\'s consider an employee table that has columns name, date_of_birth, tit
employee
name
date_of_birth
tit
In simple words,the role of Unique constraint is to make the field or column. The null destroys this property as database treats null as unknown
Inorder to avoid duplicates and allow null:
Make unique key as Primary key