Question: Question 1 : Consider the Entity Relational ( ER ) schema of relation R = ( A , B , C , D , E

Question1: Consider the Entity Relational (ER) schema of relation R=(A, B, C, D, E(E1, E2)); knowing that there are the following functional dependencies (f.d.):
fd1: \(\{A, C\}\rightarrow\{B, E\}\)
1. Can you guess the primary key attribute(s)? Justify your answer
2. Is R in 1NF? If "yes" why? If not modify R so as to put it in \(1 N F \). Let us call R1 the result of this
3. Is R1 in 2NF? If "yes" why? If not modify R1 so as to put it in 2NF. Let us call R2 the result of this
4. Is R2 in 3NF? If "yes" why? If not modify R3 so as to put it in 3NF
Question2: Knowing the relational schema of the Company database:
1. Write a relational algebra query to derive the new relation:
EMP_DEP=(ENAME,\(\underline{\text { SSN }}\) BDATA, ADDRESS, DNAME, DMGRSNN)
2. Populate your new relation with at least 5 entries,
3. Discuss insertion, deletion and modification anomalies.
Question 1 : Consider the Entity Relational ( ER

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!