What is the difference between the primary and unique key in Mysql?

Primary Key Unique Key
A table can hold only one primary key It can be more than one unique key in one table
A Primary Key cannot be NULL. A Unique key can have NULL.

Suggest An Answer

No suggestions avaliable!

Latest post from Mysql Interview Questions

Ask Question