Db design / ER Modeling 20031 319B Database Systems ER-Modeling Part 3 Wilhelm Steinbuss Room G2.04, ext 4052

Slides:



Advertisements
Similar presentations
ER Model For a college DB
Advertisements

Entities and Relationships
Cutting-edge technology for the development of business software applications Takes advantage of the most recent international trends, combining Microsoft.NET.
Chapter 4: The Enhanced ER Model and Business Rules
1 Chapter 4 The Enhanced ER Model and Business Rules.
Chapter 3: The Enhanced E-R Model
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 3: The Enhanced E-R Model Modern Database Management 10 th Edition Jeffrey A. Hoffer,
Chapter 3  Define terms  Understand use of supertype/subtype relationships  Understand use of specialization and generalization techniques  Specify.
1 © Prentice Hall, 2002 Chapter 4: The Enhanced E-R Model and Business Rules Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott,
Bank On It Personal Finance Unit. Why Learn About Banking?
E/R Exercises – Part I April 16, 2017.
Entity - Relationship Modelling Exercises by Artem Chebotko
Bank On It.
CHAPTER 3: THE ENHANCED E-R MODEL © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 Modern Database Management 11 th Edition Jeffrey A. Hoffer,
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 4- 1.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 4- 1.
Associative Entities A relationship cannot have attributes
Information Resources Management February 6, 2001.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 4 Enhanced Entity-Relationship (EER) Modeling.
Developing an IT Application Using Advantage:Gen  Data Modeling: I-bars and subtypes.
1 Enhanced Entity Relationship Modelling EER Model Concepts Includes all basic ER modeling concepts Additional concepts: subclasses/superclasses specialization/generalization.
The Enhanced E-R (EER) Model
IS 4420 Database Fundamentals Chapter 4: The Enhanced ER Model and Business Rules Leon Chen.
8/28/97Information Organization and Retrieval Database Design University of California, Berkeley School of Information Management and Systems SIMS 202:
Chapter What kinds of transactions are recorded in a purchases journal? A) Merchandise bought on account B) All cash payments C) Sale of merchandise.
1 Chapter 4 Enhanced E-R Model. 2 Supertypes and Subtypes Subtype: A subgrouping of the entities in an entity type which has attributes that are distinct.
Chapter 3: The Enhanced E-R Model
1 Chapter 4: The Enhanced ER Model and Business Rules.
CS411 Database Systems Kazuhiro Minami
Throughout the world, its principal business is to process payments between the banks of merchants and the card issuing banks or credit unions of the purchasers.
Db design / ER Modeling B Database Systems ER-Modeling Part 2 Wilhelm Steinbuss Room G2.04, ext 4052
Bank On It 1. 2 Purpose Bank On It : Is an overview of banking services. Will help you build a positive relationship with banks, thrifts, and credit unions.
Solution Package. DVD (copy, video) Rent Order Customer Plan start date end date Cash Receipt Cash Title Category 0,N 1,N 0,1 0,N subcategory-of has-sub-category.
Practice of ER modeling
Db design / ER Modeling B Database Systems Database Design Wilhelm Steinbuss Room G2.04, ext 4052
Accounting Concepts & Rules In this lesson we study different concepts used in accounting which help us make correct accounts.
Chapter 4: The Enhanced ER Model and Business Rules
Databases : Data Modeling 2007, Fall Pusan National University Ki-Joune Li.
Buying equipment with Cash 1 Equipment (Asset) Cash (Asset) + - Debit Credit Debit Credit.
Course: Mobile Point of Sale Unit 4: Preorder. Unit Objectives In this unit, you will learn to: Identify the types of preorder receipts Describe different.
Database Design 3: Advanced Data Modeling Concepts CS 320.
The Hong Kong University of Science and Technology COMP3311 Spring 2013 Tutorial 1 ER Diagrams.
Chapter 3: The Enhanced E-R Model
Enhanced Entity-Relationship (EER) Modeling. Slide 4- 2 Chapter Outline EER stands for Enhanced ER or Extended ER EER Model Concepts Includes all modeling.
Weak Entity Sets A weak entity is an entity that cannot exist in a database unless another type of entity also exists in that database. Weak entity meets.
Database Systems Supertypes and Subtypes Lecture # 10.
OS App. 1 App. 2 App. 3 OS App. 1 App. 2 App. 3 DBMSDBMS OS App. 1 App. 2 App. 3 O-O D B M S Data Design Files & Databases.
Week 2 Lab2 ER Diagram Dina A. Said
Supertypes and Subtypes
Copyright Ó Oracle Corporation, All rights reserved. Assign Unique Identifiers A Unique Identifier (UID) is any combination of attributes and/or.
Enhanced Entity-Relationship Modeling
1 CSBP430 – Database Systems Chapter 4: Enhanced Entity– Relationship and Object Modeling Elarbi Badidi College of Information Technology United Arab Emirates.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 4- 1.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, modified by Dr. Lyn Mathis 5-1 David M. Kroenke’s, 10 th ed. Chapter.
Extended ER Modelling. Extended E-R Features: Specialization Top-down design process; we designate subgroupings within an entity set that are distinctive.
Copyright © 2016 Pearson Education, Inc. Modern Database Management 12 th Edition Jeff Hoffer, Ramesh Venkataraman, Heikki Topi CHAPTER 3: THE ENHANCED.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 4- 1.
BTM 382 Database Management Chapter 5: Advanced Data Modeling
IT 5433 LM2 ER & EER Model. Learning Objectives: Explain importance of data modeling Define and use the entity-relationship model Define E/R terms Describe.
Rationale Databases are an integral part of an organization. Aspiring Database Developers should be able to efficiently design and implement databases.
The Enhanced E-R Model and Business Rules
LECTURE 4: Chapter 4: The Enhanced E-R Model
Semantic Object Modeling (SOM)
Chapter 4: The Enhanced ER Model and Business Rules
UML UML Data Modeling.
Super Entity & Sub Entity
Database Management System 1 (ITED123A)
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management
Database Management system
Presentation transcript:

db design / ER Modeling B Database Systems ER-Modeling Part 3 Wilhelm Steinbuss Room G2.04, ext 4052

db design / ER Modeling Sub- and Supertypes Supertype Subtype Complete decomposition Uncomplete decomposition Exclusive decomposition Inclusive decomposition Multilayer decomposition Multiple decomposition

db design / ER Modeling Supertype Abstraction of similar entity types Build if –‚similar‘ entity types have the same relationships –‚similar‘ entity types have attributes in common Inheritance of attributes and relationships to the subtypes

db design / ER Modeling Subtypes Specialization of an entity type Build if –Some entities owns additional attributes –Some entities have additional relationships Inherits the attributes and relationships from the supertype

db design / ER Modeling complete decomposition The supertype is the union of his subtypes Example:

db design / ER Modeling incomplete decomposition The supertype can contain entities which are not in the decomposition Example:

db design / ER Modeling exclusive decomposition The subtypes are disjoint (mutually exclusive) Example:

db design / ER Modeling inclusive decomposition The subtypes can have entities in common Example:

db design / ER Modeling Example skier A skier is trained by exactly one trainer and belongs to one club He or she is specialized in one discipline (downhill race, slalom,..) For every discipline there are competitions a skier can takes part in a competition (solution: example 6)

db design / ER Modeling Multilayer decomposition Example:

db design / ER Modeling Multiple decomposition Example:

db design / ER Modeling Example airline An airline owns several planes of different types (B747, B767,..) under their employes there are pilots and maintenance staff A pilot can navigate several plane types A flight have to be assigned at least one pilot A plane have to be serviced at some time by persons from the maintenance staff A customer can book a flight for one or more persons A booking position includes a seat number and the class and the information about the passenger (solution: example 7)

db design / ER Modeling Exercise payback.com The company payback.com wants to create a database to support payback programs. In a payback program there are one or more companies on one side which are offering services or goods (called services in what follows) and on the other side there are customers requesting these services. If the customer pays for a service with cash (or credit card) he gets some bonus points; with these bonus points he can buy other services from any company in the same payback program. (For simplification a payment shall always be carried out exclusively with cash or bonus points.)

db design / ER Modeling Exercise (cont.) 1.In a payback program there is at least a company, and none or many customers. 2.A customer (and of course a company) can take part at many payback programs. 3.A customer gets for every membership an account, where his bonus points are recorded. 4.Every company offers at least one service; every service is offered by exactly one company (for sake of simplicity) 5.For every service the number of bonus points earned (if bought by cash) and the number of bonus points which are necessary (if bought by bonus points) must be recorded. (The price doesn't matter.) 6.In a transaction log must be recorded the service, the customer‘s account in that payback program and if bought by cash or bonus points.