MySQL Primary Key And Candidate Key

Every row of a table is identified uniquely by primary key. There is only one primary key for a table.

Primary Key is also a candidate key. By common convention, candidate key can be designated as primary and which can be used for any foreign key references.

Share

Leave a Reply

Your email address will not be published. Required fields are marked *