there can only be ONE primary key, it's usually the id key.
normally the datablocks are stored in order to this key (if you have an autoindex for example)
unique key means, that every value is there only once, no two rows can have the same unique key (for example username of the usertable)
each primary key is a unique key, but not every unique key is a primary of course
|