1.

Write one similarity and one difference between UNIQUE and PRIMARY KEY constraints.

Answer»

Both of them ensure uniqueness of values for a column or set of columns.

Primary key cannot have NULL value but Unique key may be NULL.



Discussion

No Comment Found

Related InterviewSolutions