Question:What is the difference between primary key and unique?
Answer
The PRIMARY KEY attribute is used to guarantee uniqueness for a given row. No values residing in a column designated as a primary key are repeatable or nullable within that column whereas a column assigned the UNIQUE attribute will ensure that all values possess distinct values, excenpt that NULL values are repeatable.