Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

a. Question 1: Data Modeling Problems [Marks 6] Define an ERD for the following narrative. The database should track homes and owners. A home has

image text in transcribed

a. Question 1: Data Modeling Problems [Marks 6] Define an ERD for the following narrative. The database should track homes and owners. A home has a unique home identifier, a street address, a city, a state, a zip, a number of bedrooms, a number of bathrooms, and square feet. A home is either owner occupied or rented. An owner has a Social Security number, a name, an optional spouse name, a profession, and an optional spouse profession. An owner can possess one or more homes. Each home has only one owner. b. Refine the ERD from problem a by adding an agent entity type. Agents represent owners in the sale of a home. An agent can list many homes, but only one agent can list a home. An agent has a unique agent identifier, a name, an office identifier, and a phone number. When an owner agrees to list a home with an agent, a commission (percentage of the sales price) and a selling price are determined. c. In the ERD from problem b, transform the attribute, office identifier, into an entity type. Data about an office include the phone number, the manager name, and the address. d. In the ERD from problem c, add a buyer entity type. A buyer entity type has a Social Security number, a name, a phone, and preferences for the number of bedrooms and bathrooms, and a price range. e. An agent can work with many buyers, but a buyer works with only one agent. Refine the ERD from problem d with a generalization hierarchy to depict similarities between buyers and owners. f. Revise the ERD from problem e by adding an offer entity type. A buyer makes an offer on a home for a specified sales price. The offer starts on the submission date and time and expires on the specified date and time. A unique offer number identifies an offer. A buyer can submit multiple offers for the same home

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

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions

Question

What is a verb?

Answered: 1 week ago