Different between primary key and unique key?

One table may have more than one Unique Key Constraint
columns, but should have only one Primary Key Constraint
column.
 
Unique key allow us NULL values where Primary key not allow us null values. 
 
 

Most Popular

The difference between React vs AngularJs

How to send emails using PHPmailer and GMAIL SMTP

Enabling Gzip Compression of PHP, CSS, and JS Files Without mod_deflate