Relational Database Design Relational Database Design

Slides:



Advertisements
Similar presentations
Reznick Group Building Business Value 0 Property Owner Tenants Rent SINGLE ENTITY STRUCTURE.
Advertisements

A Move to the City 6th Period English April 8, 2013.
Basic Symbols.
Associative Entities A relationship cannot have attributes
Information Resources Management February 6, 2001.
Information Resources Management January 30, 2001.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts Chapter 2: Entity-Relationship Model Entity Sets Relationship Sets Design Issues Mapping.
Federal Property Management Professor Andrew Baum September 19th 2014.
Chapter 2 Modeling Data in the Organization
Chapter 3 Data Modeling Using the Entity- Relationship (ER) Model Dr. Bernard Chen Ph.D. University of Central Arkansas.
Data Modeling Using the Entity-Relationship Model
CSE314 Database Systems Data Modeling Using the Entity- Relationship (ER) Model Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson Ed Slide Set.
1 Advanced Computer Programming Databases. Overview What is a database? Database Basics Database Components Data Models Normalization Database Design.
Bondarchuk V., junior research fellow Kozlova M., Ph.D.
Database R.Fröhlich, M. Schaffer, J. Konicek Database Relationship Types Different Relationship Types in a Logical Relational Model.
CS 370 Database Systems Lecture 9 The Relational model.
Initial Design of Entity Types for the COMPANY Database Schema Based on the requirements, we can identify four initial entity types in the COMPANY database:
Chapter 11 & 12 Entity-Relationship (E-R) Model Characteristics of E-R Model Components of E-R Model Example of E-R Model Enhanced E-R Model.
Chapter 9: Logical Database Design and the Relational Model (ERD Mapping)
3 & 4 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Keys Consists of one or more attributes that determine other.
Database Management Systems MIT Lesson 02 – Database Design (Entity Relationship Diagram) By S. Sabraz Nawaz.
E-R to Relational - Basic
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
ENTITY RELATIONSHIP MODELLING
Data modeling Process. Copyright © CIST 2 Definition What is data modeling? –Identify the real world data that must be stored on the database –Design.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Transforming ER models to relational schemas
Chapter 8 Entity-Relationship Modeling Pearson Education © 2009.
Database -Entity-Relationship Model 2012/03/05.
Modern Real Estate Practice in Illinois Eighth Edition Chapter 18: Property Management ©2014 Kaplan, Inc.
Announcements Reading for Monday –Appendix A Homework 3 – Due today Project: Steps –Due 10/4 Exam 1 – 10/6.
Property Management Hawaii and Oahu -
Things You Should do Before Buying Property in Colorado. Vantegic Real Estate.
Data Modeling Using the Entity- Relationship (ER) Model
Data Model Basic Building Blocks
Entity- Relationship (ER) Model
COP Introduction to Database Structures
Chapter 4: Part B Logical Database Design and the Relational Model
ER Diagram Practical Example
Solution for Rental Property
Payroll Management System
ER MODEL Lecture 3.
بسم الله الرحمن الرحيم.
Two Types Of Potential Sellers To Contact For Properties By RealAcquisitions
Commercial Real Estate - MyersRealEstate LLC
Sell Your Industrial Building In Florida building.
Industrial Real Estate Florida building.
Entity Relationship Diagrams
Transformation of E/R Diagram to Relation
CSE2DBF – CSE4DBF E-R Model Examples 06/03/2017
الفصل الخامس قواعد البيانات Databases
Relational Database Design (Top Down)
CSE2DBF – CSE4DBF EER Example 14/03/2017
Chapter 2 Modeling Data in the Organization
Database Modeling using Entity Relationship Model (E-R Model)
Mapping E/R to Relational
Relational Database Design Examples
Amount Received: $ Cash Check, No. Money Order, No.
Entity-Relationship Diagram (ERD)
Receipt for Lease Security Deposit
Rent Receipt Rent Receipt Rent Receipt Date: To: Address:
Rent Receipt Rent Receipt Rent Receipt Date: To: Address:
Jeopardy Final Jeopardy Solving Equations Solving Inequalities
Relational Database Design
G061 - Data Dictionary.
Essex Real Estate Services Cashbuyernewjersey.com.
Chapter 10 Vocabulary.
BLUEBUILDING Wellington, New Zealand
Date: ____________________ Receipt #: _______________
Bookkeeping Services Los Angeles
Presentation transcript:

Relational Database Design Relational Database Design PROPERTY ACCOUNT MAINTENANCE TENANT OWNER incur rent own 1 N M (1, N) (1, 1) (0, N) for pay Perform the complete transformation steps for the E-R Model of the ‘Real Estate Agency’ described in Topic4. 1 Topic 5 : Relational Database Design

Relational Database Design Solution -- From Step1 OWNER ( Owner #, Owner Name, Owner Address) PROPERTY ( Building#, Address, Value) TENANT(Tenant#, Family Name, First Name, Contact Address, Phone#) MAINTENANCE (Maintenance#, Date, Type, Cost) ACCOUNT( Acct Receipt#, DateofPayment, TypeofAccount, AmountPaid) -- Step2: No weak entity -- Step3: no 1 To 1 relationship -- Step3 -- Step4: 1 To N between OWNER and PROPERTY -- The PROPERTY relation is modified: PROPERTY (Building#, Address, Value, Owner#) Topic 5 : Relational Database Design

Relational Database Design Solution -- Step4: 1 To N between PROPERTY and MAINTENANCE -- The MAINTENANCE relation is modified to: MAINTENANCE(Maintenance#, Date, Type, Cost, Building#) -- Step4: 1 To N between TENANT and ACCOUNT -- The ACCOUNT relation is modified to: ACCOUNT( Acct Receipt#, DateofPayment, TypeofAccount, AmountPaid,Tenant#) -- Step4: 1 To N between PROPERTY and ACCOUNT -- The ACCOUNT relation is modified to: ACCOUNT( Acct Receipt#, DateofPayment, TypeofAccount, AmountPaid,Tenant#, Building#) Topic 5 : Relational Database Design

Relational Database Design Solution -- Step5: M to N relationship between TENANT and PROPERTY -- The RENT relation is created: RENT (Building#, Tenant#, LeasedPeriod, Bond) -- Step6: no multivalued attribute. -- Step7: no ternary relatiosnhip - Topic 5 : Relational Database Design

Relational Database Design Solution -- Finally, the end result of the transformation can be listed as follows. OWNER ( Owner #, Owner Name, Owner Address) PROPERTY (Building#, Address, Value, Owner#) TENANT(Tenant#, Family Name, First Name, Contact Address, Phone#) MAINTENANCE(Maintenance#, Date, Type, Cost, Building#) ACCOUNT( Acct Receipt#, DateofPayment, TypeofAccount, AmountPaid, Tenant#, Building#) RENT(Building#, Tenant#, LeasedPeriod, Bond) Step 1 Step 4 Step 1 Step 4 Step 4 Step 5 Topic 5 : Relational Database Design