CBSE Class 12 Computer Science
Question 1 of 79
Table Creation and Data Manipulation Commands — Question 1
Back to all questions(d)
Assertion is false but Reason is true.
Explanation
UNIQUE and PRIMARY KEY constraints are not the same and there are differences between them. Though both ensure unique values for each row in a column, but UNIQUE allows NULL values whereas PRIMARY KEY does not. Also, there can exist multiple columns with UNIQUE constraints in a table, but there can exist only one column or one combination with PRIMARY KEY constraint.