0 votes
in Sql by
What is the difference between UNIQUE and PRIMARY KEY constraints?

1 Answer

0 votes
by

The differences are as follows:

A table can have only one PRIMARY KEY whereas there can be any number of UNIQUE keys.

The primary key cannot contain Null values whereas the Unique key can contain Null values.

...