Question
1. For the given database schema: R1(A,B,C,D) R2(A,E) R3(B,F,H) R4(C,G) R5(H,I) Please list all the foreign keys in R1. a. A b. B c. C
1. For the given database schema:
R1(A,B,C,D)
R2(A,E)
R3(B,F,H)
R4(C,G)
R5(H,I)
Please list all the foreign keys in R1.
| a. | A |
| b. | B |
| c. | C |
| d. | All of A, B, and C are foreign key in R1 |
2. Given universal schema R(A,B,C,D,E,F,G,H,I) and a set of functional dependencies as follows:
AB CD
A E
B FH
C G
D B
G C
H I
when schema R(A,B,C,D,E,F,G,H,I) is normalized or decomposed into the following schema:
R1(A,B,C,D)
R2(A,E)
R3(B,F,H)
R4(C,G)
R5(H,I)
| a. | The normalized schema: R1(A,B,C,D) R2(A,E) R3(B,F,H) R4(C,G) R5(H,I) possesses the lossless join decomposition property.
|
| b. | The normalized schema: R1(A,B,C,D) R2(A,E) R3(B,F,H) R4(C,G) R5(H,I) possesses the functional dependency preservation property.
|
| c. | Both a. and b. |
| d. | neither a. nor b. |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started