Professional Documents
Culture Documents
• An implementation-ready data model should • The relational database table resembles a file
contain at least the following components: (similar but with a crucial difference)
• Allows navigation
• Main Disadvantages:
• Complicated Relationships
• Relationships – association;
typically verb
ER Diagram: Example
- A characteristic of an
entity
- Equivalent of fields in
file systems
- Describes an
association among
- Three Types of
relationships: one-to-
many, many-to-many, Multivalued attributes
and one-to-one
▪ capable of taking on more than one value
All of these are an equal part of a data model. None of
each element is greater than the other.
Derived Attributes
EER vs ER Diagram
• Supertype - It is a general
entity type that may be
related to a single or
more subgroup
• When two entities having relation is treated as a ▪ Each instance of an entity in supertype should
sole entity be a part of a subtype in the relation.
Composition
Overlap Rule
EER Constraints : Completeness Constraints
▪ states that a single entity can be a part of two or
Completeness Constraints
more subtypes
▪ is a type of constraint used to determine or
specify if an occurrence of an entity supertype
can also be included to least one subtype.
• IT IMO1: ADVANCED DATABASE SYSTEMS I: LESSON 3
Database Normalization
Normalization: Objectives
Advantages of Normalization
Goals of Normalization Process Partial Dependency