Can anyone please tell me the differences between primary key, candidate key and alternate key in a database?
Answers
Answered by
1
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.
Similar questions