0% found this document useful (0 votes)
6 views

Assignment Based on Keys

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Assignment Based on Keys

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Course Name: DBMS Course Code: E2UC302B

Assignment 3 (a)

Problem based on Primary key, candidate key and super key

1. R (A, B, C), FDs: A → B B → C Find: Super Keys, Candidate Keys, Primary Key.

2. R (A, B, C, D), FDs: A → B C → D B → C Find: Super Keys, Candidate Keys, Primary Key.

3. R (A, B, C), FDs: A → B B → A B → C Find: Super Keys, Candidate Keys, Primary Key.

4. R (A, B, C, D), FDs: A → B A → CB → D Find: Super Keys, Candidate Keys, Primary Key.

5. Given the relation table R with attributes {A, B, C, D} and the functional dependencies:
A→ B
B→C
C→D
Determine the candidate keys for the table R.
6. Consider the relation R with attributes {X, Y, Z, W} and the following functional
dependencies:
X→Y
Y→Z
W→X
Z→W
Find all candidate keys for the relation R.
7. Given the relation R with attributes {P, Q, R, S, T} and the functional dependencies:
P→Q
Q→R
R→S
S→T
T→P
Identify the candidate keys for the relation R.
Consider a relation R with attributes {A, B, C, D, E} and the functional dependencies:
A→ B
B→C
C→D
D→E
E→A
Find all possible candidate keys for the relation R.

8. Given the relation R with attributes {L, M, N, O} and the functional dependencies:
L→M
M→N
O→L
N→O
Determine the candidate keys for the relation R.
9. List all prime and non-prime attributes In Relation R(A,B,C,D,E) with FD set F = {AB→C,
B→E, C→D}.
10. A set of FDs for the relation R{A, B, C, D, E, F} is AB →C, C → A, BC → D,ACD → B, BE → C,
EC → FA, CF → BD, D→ E. Find a minimum cover forth is set of FDs

You might also like