Download presentation
Presentation is loading. Please wait.
Published byClara Cecily Goodwin Modified over 9 years ago
1
PTADipMgt17 Assignment 1 Group 8 Session 3 Member 1 Entity Relationship Diagrams by Ms Esha Batish
2
ERD Entity Relationship Diagram Contents 1. 1. 2. Reasons for ERD 2. 2. Definitions of Entity and Relationship 3. 3. Aspects of ERDs 4. 4. Attributes 5. 5. Model - Kaplan
3
What is an / noun World English Dictionary entity ( ˈɛ nt ɪ t ɪ ) — n, pl -ties 1.something having real or distinct existence; A thing, esp when considered as independent of other things. 2.existence or being 3.the essence or real nature FOLDOC (Computing dictionary) FOLDOC (Computing dictionary)entity In an entity- relationship model, an entity is a type of thing being modelled such as "person" or "product". Different entities have different sets of attributes such as "name" or "price" and are connected via relationships like "bought". databaseentity- relationship model Entity
4
Relationships and Verbs describe Actions or / The Relationship btwn 2 things, Sometimes we need to add a preposition to know the direction of action. Verbs Works for Works at Is being worked by Is employed with Is the employee of Has been employed from/by Adds to Is taken from Is divided into Is subdivided into Is Multiplied by Has Owns Buys Purchases Belongs to Note! Entities only have relationships with other Entities!
5
Why do we do ERDs? Brainstorm process- 1st stage and will be revisited. Ensures that no data is overlooked Provides direction to the architecture and design team to start physical database design Easy to understand for database designers / systems analyst / managers and users Symbols are understood by all levels
6
Aspects of ERDs 1. Direction Single direction: Bi direction: 2. Optionality and Cardinality: Optionality and Cardinality Symbols at the ends of the relationship lines indicate the optionality and the cardinality of each relationship. “Optionality” expresses whether the relationship is optional or mandatory. “Cardinality” expresses the maximum number of relationships. STUDENT SCHOOL attends has
7
What are ? An attribute is something that further describes an entity, e.g. customer first name, customer last name, or product name. They can be just nouns, adjectives. Attributes SCHOOL STUDENT serves Name Location Tel Address Name
8
STUDENTS Name I.D. Number Course Enrolled enrols
9
I.D number STAFF Designation Name hires STUDENTS Name I.D. Number Course Enrolled enrols
10
I.D number SCHOOLS KLI KHEI KHEA runs STAFF Designation Name hires STUDENTS Name I.D. Number Course Enrolled enrols
11
I.D number BRANCHES FACILITIES Washroom Wilkie StarHub Admin Reception Aircon Classroom Address have has are SCHOOLS KLI KHEI KHEA runs STAFF Designation Name hires STUDENTS Name I.D. Number Course Enrolled enrols
12
Dr. Peter Chen He is the originator of the Entity-Relationship Model (ER Model), Adjunct Professor at in the Computer Science Department and Emeritus Professor in the College of Business, LSU Started developing the model in 1978.
13
Thank you & All the best in the Exams! Thank you & All the best in the Exams! References: http://www.databasedesign.co.uk/bookdatabasesafirstcourse/chap3 /chap3.htm http://www.databasedesign.co.uk/bookdatabasesafirstcourse/chap3 /chap3.htm http://www.databasedesign.co.uk/bookdatabasesafirstcourse/chap3 /chap3.htm http://www.databasedesign.co.uk/bookdatabasesafirstcourse/chap3 /chap3.htm http://www.information-management-architect.com/entity- relationship-diagram.html http://www.information-management-architect.com/entity- relationship-diagram.html http://www.information-management-architect.com/entity- relationship-diagram.html http://www.information-management-architect.com/entity- relationship-diagram.html http://dictionary.reference.com/browse/entity?s=t http://dictionary.reference.com/browse/entity?s=t http://dictionary.reference.com/browse/entity?s=t http://foldoc.org/entity http://foldoc.org/entity http://foldoc.org/entity
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.