Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How do i put this information into first second and third form of normalization? Agents agent _ id ( PK ) - - int agent

How do i put this information into first second and third form of normalization?
Agents
agent_id (PK)-- int
agent_name|-- varchar (255)
agent_address - varchar (255)
agent_phone - int
parcel_number (FK)- int
Properties
property_id (PK)-- int
parcel_number -- varchar (255)
property_address -- varchar (255)
number_of_rooms -- int
square_footage -- float
purchase_date - date
purchase_amount -- float
market_value - float
arch_id (FK)- int
Architecture Style
style_id (PK)-- int
arch_name -- varchar (255)
arch_description -- varchar (255)
Buyer Property
buyer_id (PK)- int
parcel_number (FK)- int
Agent Property
agent_id (PK)-- int
parcel_number (FK)-- int
1) buyers
2) properties
3) contractors
a) Contractors consisting of Interior Designers and General Contractors
4) sales agents
5) agreements
6) employees
a) an accountant, a lawyer, a secretary, and two maintenance workers
7) architectural design
8) properties to sales agent and buyer IDs
a) Buyer and Property should not have a direct relationship, those are connected through the Buyer Property table.
Previous and potential buyers account number, name, address, contact info, occupation, salary, and credit score.
Buyer can purchase one or more properties from you and the property can have one or more buyers.
Employee: employer code, employer name, employer address, employer phone number, etc.
Employee is a standalone table
Contractors: ID, name, address, and phone number.
Sales agents: ID, name, address, and phone number.
The sale of a property can be conducted by one agent, but an agent can sell many properties.
Property relations with agents and buyers such as:
Contract agreements: agreement number, contractor ID, contractor name, contractor address, contractor phone number, and description of the agreement.
A contractor can enter into several agreements, but each agreement can only be associated with one contractor.
Contractor Agreement has only one relationship and it is with Contractor table.
Properties acquired and sold: parcel number, address, and specification (number of rooms, square feet, purchase date, purchase amount, market value, and architecture style description)
Architectural styles include Cope Code, Colonial Contemporary, Ranch, etc.
Architectural Style: stores information such as the style and description of each style to provide additional characteristics for each property.
*The property should also be associated with details for both the buyer and sales agent (id, name, address, phone)*
image text in transcribed

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

Beginning PostgreSQL On The Cloud Simplifying Database As A Service On Cloud Platforms

Authors: Baji Shaik ,Avinash Vallarapu

1st Edition

1484234464, 978-1484234464

More Books

Students also viewed these Databases questions