Question 11 Attribute inheritance is the gaining of attributes by a subtype entity from a supertype entity. This inheritance of common pieces of data from.

Slides:



Advertisements
Similar presentations
Chapter 4: The Enhanced ER Model and Business Rules
Advertisements

Enhanced E-R Models and Business Rules
1 Chapter 4 The Enhanced ER Model and Business Rules.
Chapter 3: The Enhanced E-R Model
Enhanced Entity-Relationship Modeling. Strong and Weak Entity Types Strong entity: Each object is uniquely identifiable using primary key of that entity.
© 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.
Advanced Data Modeling
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,
Chapter 3 © 2013 Pearson Education, Inc. Publishing as Prentice Hall 1 CHAPTER 4: THE ENHANCED E-R MODEL Modern Database Management 11 th Edition Jeffrey.
CS 157A: Intro to Database Sys Summary of Chapter Section 4.1 of the textbook Data Modeling and Database Design Copyright 2007 Thomson Course Technology.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 6 Advanced Data Modeling.
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 5 Advanced Data Modeling.
Database Systems: Design, Implementation, and Management Tenth Edition
Chapter 6 Advanced Data Modelling
Chapter 4: Enhanced Entity-Relationship (EER) Modeling
BIS Database Systems School of Management, Business Information Systems, Assumption University A.Thanop Somprasong Chapter # 6 Advanced Data Modeling.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 6 Advanced Data Modeling.
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,
Enhanced Entity-Relationship and Object Modeling (Ch 4) Jan R McFadyen1 Class/subclass relationships Inheritance Specialization Generalization.
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,
Associative Entities A relationship cannot have attributes
Chapter 4: The Enhanced ER Model and Business Rules
Enhanced Entity-Relationship Modeling
IS 4420 Database Fundamentals Chapter 4: The Enhanced ER Model and Business Rules Leon Chen.
Michael F. Price College of Business Chapter 6: Logical database design and the relational model.
Chapter 4: The Enhanced E-R Model and Business Rules
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.
Class Agenda – 04/04/2006 Discuss database modeling issues
© 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,
© 2007 by Prentice Hall (Hoffer, Prescott & McFadden) 1 The Enhanced Entity Relationship Diagrams (E-ERDs)
Chapter 8 Data Modeling Advanced Concepts Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition.
IS 475/675 - Introduction to Database Design
CSEN 5314 Quiz Inheritance is which of the following? A. When a supertype entity inherits values of the subtype attribute B. When a subtype entity.
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
1 The Enhanced Entity Relationship Diagrams (E-ERDs)
Chapter 3: The Enhanced E-R Model
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,
© 2011 Pearson Education 1 Chapter 3: Advanced Database Analysis Modern Database Management 10 th Edition, International Edition Jeffrey A. Hoffer, V.
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,
Database Systems Supertypes and Subtypes Lecture # 10.
Database Systems: Design, Implementation, and Management Ninth Edition
IS6145 Database Analysis and Design Lecture 5: Enhanced Entity-Relationship (EER) Modeling Rob Gleasure
The Entity-Relationship Model, P. I R. Nakatsu. Data Modeling A data model is the relatively simple representation, usually graphic, of the structure.
Advance Database Engineering 1 Chapter 4: The Enhanced ER Model and Business Rules Modern Database Management 7 th Edition Jeffrey A. Hoffer, Mary B. Prescott,
Copyright © 2016 Pearson Education, Inc. Modern Database Management 12 th Edition Jeff Hoffer, Ramesh Venkataraman, Heikki Topi CHAPTER 3: THE ENHANCED.
Ch 05. Basic Symbols ( manino ). Cardinalities Cardinality Notation.
Data Modeling Advanced Concepts Updated 20/4/2015 TMC2034 Database Concept and Design1.
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
© 2005 by Prentice Hall 1 Chapter 4: The Enhanced ER Model and Business Rules Modern Database Management 7 th Edition Jeffrey A. Hoffer, Mary B. Prescott,
The Enhanced E-R Model and Business Rules
LECTURE 4: Chapter 4: The Enhanced E-R Model
Advanced Database Analysis
Chapter 4: The Enhanced E-R Model and Business Rules
Chapter 4: The Enhanced ER Model and Business Rules
IS6145 Database Analysis and Design Lecture 5: Enhanced Entity-Relationship (EER) Modeling Rob Gleasure
Super Entity & Sub Entity
Database Management System 1 (ITED123A)
Order Database – ER Diagram
Chapter 3: The Enhanced E-R Model
Overview of Entity‐Relationship Model
CHAPTER 3: THE ENHANCED E-R MODEL
IS6125 Database Analysis and Design Lecture 7: Enhanced Entity-Relationship (EER) Modeling Rob Gleasure
Chapter 5 Advanced Data Modeling
MBA 664 Database Management
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management
Weak Entities (cont…) Entities that do not have key attributes of their own Related to specific entities from another entity type plus their own attributes.
Presentation transcript:

Question 11 Attribute inheritance is the gaining of attributes by a subtype entity from a supertype entity. This inheritance of common pieces of data from general to more specific definitions of entities is what enables subtypes to be further defined from supertypes. By separating entities out into subtypes that have their own data that doesn’t need to be defined in the more general supertype of the entity, the data stored is less redundant and the relationships among it are more flexible.

Question 12 a.For the disjoint rule to apply, an entity instance that corresponds to the supertype cannot correspond to more than one of its subtypes. An example would be a supertype entity FURNITURE that has relationships with subtype entities CHAIR and TABLE. An entity instance cannot be both a CHAIR and a TABLE according to the business rule and the standard definitions of chairs and tables. b.For the overlap rule to apply, an entity instance that corresponds to the supertype must be able to correspond to more than one of its subtypes at a time. An example would be a supertype entity PATRON and related subtype entities DONOR and BOARDMEMBER for an art gallery. All entities participating are instances of type PATRON, can be instances of type DONOR, and those of type DONOR can be of type BOARDMEMBER as well, depending on the business rule.

Question 13 Enhanced Entity-Relationship diagrams are designed to represent the inheritance of attributes that occurs between instances of the same entities that should not all use the same attributes. These types of entities arise from business rules that specify entities that are related but not identical. Such rules are those where certain instances of an entity don’t use one or more of their given attributes and may have invalid null values for those attributes, or may share only several of their attributes and can be related but not lumped together under one definition. Business rules that specify different types of employees that have some shared attributes and some different employees have extra non-uniform attributes should be modeled with EER diagrams to allow for this incongruence of data between different types.