Question DB-REL-0007
EasyWhat is a candidate key?
- A.
A foreign key
- B.
A key containing NULL
- C.
Show answer and explanation
Answer: D
A table may have several candidate keys; one is chosen as the primary key and the others are alternate keys.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Relational Model and Keys question
What is a candidate key?
A foreign key
A key containing NULL
Answer: D
A table may have several candidate keys; one is chosen as the primary key and the others are alternate keys.
Any attribute
A minimal set of attributes that could serve as the primary key