Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Draw an ER diagram for the following database requirements for a real estate company that has branches, agents, the houses that the branches list, and

Draw an ER diagram for the following database requirements for a real estate company that has branches, agents, the houses that the branches list, and the showing of houses by agents. Specific details are:

Every branch is described by a branch ID (unique), address, and phone number. Every agent is described by an agent ID (unique), name, and the languages the agent speaks. Every branch employs several agents while every agent works at one branch only. For every agent, the database shall record the date on which the agent started working at the branch. Furthermore, every branch has an agent acting as branch manager. For every manager, the database shall record the date on which the manager started managing the branch.

Every house is described by a house ID (unique), address, price, and the number of bathrooms it has. The database shall also record, for every house, the rooms that it has and the square footage of each room (examples of rooms are bedroom-1, bedroom-2, kitchen, den, study, etc.). Rooms are named uniquely within a house. Some houses are brand new while others are not, in which case the database shall record the sale history of such houses as sale date and sale price.

Every branch lists several houses on the market while a house can be listed by one branch only. The database shall record the date on which the branch listed the house. Any agent can show any listed house to a potential customer. The database shall record who showed which house and on what date assume here that the database shall record only the last showing of a particular house by a particular agent (even though the agent may show the house several times on different dates). Furthermore, and it is possible that an agent may not have showed a house (since an agent may be new), and a house may not have been shown (since it is a new listing).

The following is simply a skeleton; add what is needed to it. HINT: The ER will require two weak entities.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions

Question

Compose the six common types of social business messages.

Answered: 1 week ago

Question

Describe positive and neutral messages.

Answered: 1 week ago