Advertisements
Advertisements
Question
If a table which has one Primary key and two alternate keys. How many Candidate keys will this table have?
Options
1
2
3
4
MCQ
Solution
3
Explanation:
- Candidate Keys are the smallest set of attributes that can uniquely identify a row in a table.
- In your case:
- Primary Key: A primary key is always a candidate key.
- Alternate Keys: These candidate keys are not picked as the primary key.
- Thus, the table will have 3 candidate keys: 1 Primary Key, 2 Alternate Keys.
shaalaa.com
Is there an error in this question or solution?