Question: Question 4. ER to Relational schema Mapping (6 points). Consider the ER diagram for the Beautiful House Real Estate Agency database below using UML class

Question 4. ER to Relational schema Mapping (6 points). Consider the ER diagram for the Beautiful House Real Estate Agency database below using UML class diagram symbols. Map the diagram to a relational database schema. Indicate the primary key (underline) and any foreign keys (asterisk) for each relation. Note that a relational database schema comprises a set of relations written in the form as shown in the examples below: Student(sno, name, address) Course(cno, title) Take(sno* cno*, grade) OpenSession Staff 1. " empNo {PK} PK sessionNo {PK} opendate D.* -AttendBy givename opentime surname AgentFor Property Client 0.. propertyNo {PK} custNo {PK} streetnumber givename street surname suburb phoneno postcode creditrating Owner ownerNo {PK} address Lease phoneno leaseNo {PK} start-date end-date IndividualOwner EntityOwner givename ABN surname entityname
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
