My understanding is that the primary key is a randomly chosen candidate key from a theoretical perspective.
According to this definition
' Candidate Key – A Candidate Key can be any column or a combination of columns that can qualify as unique key in database. There can be multiple Candidate Keys in one table. Each Candidate Key can qualify as Primary Key.
Primary Key – A Primary Key is a column or a combination of columns that uniquely identify a record. Only one Candidate Key can be Primary Key.'
The sentences 'Each Candidate Key can qualify as Primary Key.' and 'Only one Candidate Key can be Primary Key.' only logically don't contradict if the primary key is chosen arbitrarily from the candidate keys. Is this correct?
What special properties does a Primary key have that a Candidate key does not?