Which of following types of table constraints will prevent the entry of duplicate rows:

A ) Primary key

B ) Unique ✅

C ) Null

D ) Foreign key


Explanation: A unique constraint is a rule that forbids duplicate values in one or more columns within a table. Unique and primary keys are the supported unique constraints.