Advertisements
Advertisements
Question
The attributes which have all the properties of primary key
Options
Foreign key
Alternate key
Candidate key
Both (1) and (3)
MCQ
Solution
Candidate key
Explanation -
Both the candidate key and the primary key serve the same function, which is to individually identify the tuples. The distinction between the two is that while a table may have one or more candidate keys, it may only have one primary key.
shaalaa.com
Keys in a Relational Database
Is there an error in this question or solution?