我正在寻找如何使用NULL检查实现唯一约束.
MySQL不应该允许多个空值.
雇员:
id | name ---|----- 1 | null 2 | null -> should give error during inserting 2nd row.
mysql null constraints duplicates
constraints ×1
duplicates ×1
mysql ×1
null ×1