Which of the following are true?
A. A database may have only one primary key
B. Every key is a candidate key
C. There can be multiple candidate keys
D. There can be more than one super keys
E. Every candidate key is a primary key.
Choose the correct answer from the options given below:
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. A, C, D only
Explanation
A table can have only one primary key, so A is true. A table can have several minimal super keys (candidate keys), so C is true, and since any superset of a key is also a super key, there can be many super keys, so D is true. B is false because a general "key" need not be minimal, so not every key is a candidate key. E is false because only one candidate key is chosen as the primary key; the others remain candidate keys, not primary keys. Hence the true statements are A, C, D only.More Database Management Systems questions
- What is the correct sequence of database design process? A. Create conceptual schema B. Data model mapping C. Requirements collection and a…
- Match the LIST-I with LIST-IILIST-I LIST-II A. Wait-for graph I. Holds all locks until it commits B. Precedence graph II. Holds write-locks…
- Consider the following three relations: Employee(eid, eName), Comp(cid, cName), Own(eid, cid). Which of the following relational algebra ex…
- Consider R(A, B, C, D, E) be a relation with the following dependencies: C → F, E → A, EC → D, A → B. Which of the following is a key for R?
- Consider the following statements: A. Data transformation is involved in the Data mining process. B. Online database is used in Data wareho…
- Consider the relation T1(A, B, C, D, E) with the dependencies {EB → C, D → E, EA → B} and T2(A, B, C, D) with the dependencies {C → A, A →…