Consider R(A, B, C, D, E) be relation with following dependencies: C->F, E->A, EC->D, A->B. Which of the following is a key for R ?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: B. EC
Explanation
E and C never appear on a right side, so every key must contain both. (EC)+ = E, C, A (E→A), D (EC→D), B (A→B): all attributes. So EC is the key.
More Database Management Systems questions
- In a relational database, which one of the following is CORRECT:
- An alternate key in database table is also called
- In concurrency control, phantom problem may occur, when-
- Match the LIST-I with LIST-II
- The degree of a relation in database is
- Match List I with List II. List I: A. Project Join Normal Form, B. The lost update problem, C. Discretionary Access Control, D. Data Manipu…