Question: ER to Relational Mapping a) i) Reverse engineer the following schema to make an ER Diagram A (a), B (a, b), C (a, b, c)

ER to Relational Mapping

a) i)

Reverse engineer the following schema to make an ER Diagram

A (a), B (a, b), C (a, b, c) B.a references A.a; C.ab references B.ab

ii)

EMP (ssn, ename, supervisor, Dno), DEP (Dno, dname) EMP.Dno references DEP.Dno; EMP.supervisor references EMP.ssn

b) Map the following ER diagram into a relational schema.

Attribute(s) that form the primary key should be underlined (do not underline other candidate keys). Do not show the schema in progress after each step. Only give the final relational schema. Use the same names of attributes as in the ER. List all foreign keys in your mapped schema using the dot notation: Table1.Attribute1 references Table2.Attribute2

Phone is a weak attribute.but just didnt show in here.

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 Databases Questions!