ć°Šæ•Źçš„ ćŸźäżĄæ±‡çŽ‡ïŒš1憆 ≈ 0.046166 慃 æ”Żä»˜ćźæ±‡çŽ‡ïŒš1憆 ≈ 0.046257慃 [退ć‡șç™»ćœ•]
SlideShare a Scribd company logo
Systems Analysis and DesignSystems Analysis and Design
5th Edition5th Edition
Chapter 6. Data ModelingChapter 6. Data Modeling
Alan Dennis, Barbara Haley Wixom, and Roberta Roth
6-1© Copyright 2011 John Wiley & Sons, Inc.
Chapter 6 Outline
 The Entity Relationship Diagram
(ERD).
- Elements of ERD
- The Data Dictionary and Metadata
 Creating an Entity Relationship
Diagram.
 Validating an ERD.
© Copyright 2011 John Wiley & Sons, Inc. 6-2
INTRODUCTION
 In this chapter, we discuss how the data are
organized and presented.
 A data model is a formal way of representing the
data that are used and created by a business system.
 During analysis (this Chapter), analysts draw a
Logical data model which shows the logical
organization of data without indicating how it is
stored, created, or manipulated.
 During design (Chapter 11), analysts draw a physical
data model to reflect how the data will physically be
stored in databases or files.
© Copyright 2011 John Wiley & Sons, Inc. 6-3
(cont’d)
 Topics of this chapter:
- Creating an entity relationship diagram
(ERD).
- Normalization, a technique that helps
analysts validate the data models.
- How data models balance, or
interrelate, with the process models.
© Copyright 2011 John Wiley & Sons, Inc. 6-4
THE ENTITY-RELATIONSHIP DIAGRAM
(ERD)
An entity-relationship diagram (ERD) is a
picture showing the information that is
created, stored, and used by a business
system.
Entities lists similar kinds of information
Lines drawn between entities represent
relationships among the data.
Special symbols communicate high-level
business rules.
© Copyright 2011 John Wiley & Sons, Inc. 6-5
Reading an Entity Relationship
Diagram
© Copyright 2011 John Wiley & Sons, Inc. 6-6
Elements of an Entity Relationship
Diagram
© Copyright 2011 John Wiley & Sons, Inc. 6-7
Entity
The entity is the basic building block for
a data model. It is a person, place,
event, or thing about which data is
collected.
 Entities represent something for which
there exist multiple instances, or
occurrences.
- E.g., John Smith could be an instance of the
customer entity.
© Copyright 2011 John Wiley & Sons, Inc. 6-8
(cont’d)
© Copyright 2011 John Wiley & Sons, Inc. 6-9
Attributes
An attribute is some type of information that
is captured about an entity.
Attributes are nouns that are listed with an
entity.
One or more attributes can serve as the entity
identifier - the attribute(s) that can uniquely
identify one instance of an entity.
Concatenated identifier - several attributes
are combined to uniquely identify an instance.
© Copyright 2011 John Wiley & Sons, Inc. 6-10
(cont’d)
© Copyright 2011 John Wiley & Sons, Inc. 6-11
Choices for Identifiers
Relationships
Relationships are associations
between entities.
Every relationship has a parent
entity and a child entity.
Relationships should be labeled with
active verbs.
© Copyright 2011 John Wiley & Sons, Inc. 6-12
Cardinality
 A relationship has cardinality which is the ratio of
parent instances to child instances.
 The 1:1 relationship means that one instance of the
parent entity is associated with one instance of the
child entity.
 The 1:N relationship means that a single instance of
a parent entity is associated with many instances of a
child entity.
 The M:N relationship means that many instances of
a parent entity can relate to many instances of a
child entity.
© Copyright 2011 John Wiley & Sons, Inc. 6-13
(cont’d)
Example of M:N Relationship
© Copyright 2011 John Wiley & Sons, Inc. 6-14
Modality
A relationship has modality of null or not null,
which refers to whether or not an instance of a
child entity can exist without a related instance in
the parent entity.
Null means that an instance of a child entity can
exist without a related instance in the parent
entity.
Not Null means that an instance of a child entity
can’t exist without a related instance in the
parent entity.
© Copyright 2011 John Wiley & Sons, Inc. 6-15
The Data Dictionary and Metadata
A data dictionary contains the information
about the entities, attributes, and
relationships on the ERD, or metadata.
Metadata is data about data.
Metadata is stored in the data dictionary so
it can be shared by developers and users
throughout the SDLC.
© Copyright 2011 John Wiley & Sons, Inc. 6-16
(cont’d)
Example of Data Dictionary Entry for
Entity
© Copyright 2011 John Wiley & Sons, Inc. 6-17
(cont’d)
Example of Data Dictionary Entry for
Attributes
© Copyright 2011 John Wiley & Sons, Inc. 6-18
(cont’d)
Example of Data Dictionary of Entry
for Relationship
© Copyright 2011 John Wiley & Sons, Inc. 6-19
(cont’d)
Types of Metadata Captured by the
Data Dictionary
© Copyright 2011 John Wiley & Sons, Inc. 6-20
CREATING AN ENTITY RELATIONSHIP
DIAGRAM (ERD)
Drawing the ERD is an iterative
process of trial and revision.
The basic steps in building an ERD:
1. Identify the entities;
2. add the appropriate attributes to
each entity; and
3. draw relationships among entities.
© Copyright 2011 John Wiley & Sons, Inc. 6-21
Step 1: Identify the Entities
 The entities should represent the major
categories of information that you need
to store in your system.
If you begin the data model using a use
case, look at the major inputs and
outputs of the use case.
If the process models are available, look
at the data stores, external entities, and
data flows.
© Copyright 2011 John Wiley & Sons, Inc. 6-22
Step 2: Add Attributes and Assign
Identifiers
The information that describes each entity
becomes its attributes.
– Check in the CASE repository of the process model for
details on data flows and data stores.
– Check the data requirements of the requirements
definition.
– Use requirements elicitation techniques (e.g., interview
and document analysis).
One or more of the attributes will become the
entity’s identifier.
© Copyright 2011 John Wiley & Sons, Inc. 6-23
Step3: Identify Relationships
The last step in creating ERDs is to
determine how the entities are
related to each other.
Lines are drawn between the entities
that have relationships.
Each relationship is labeled, and
cardinality and modality are
assigned.
© Copyright 2011 John Wiley & Sons, Inc. 6-24
Advanced Syntax
Three special types of entities:
Independent Entity
–Can exist without the help of another
entity.
–The identifiers is created from the entity’s
own attributes.
–Attributes from other entities are not
needed to uniquely identify instances of
these entities.
© Copyright 2011 John Wiley & Sons, Inc. 6-25
(cont’d)
Dependent Entity
– There are situations when a child entity does
require attributes from the parent entity to
uniquely identify an instance. In these cases,
the child entity is called a dependent entity, and
its identifier consists of at least one attributes
from the parent entity.
(E.g., the Chemical Request entity in Figure 6.1).
© Copyright 2011 John Wiley & Sons, Inc. 6-26
(cont’d)
Intersection Entity
–It exists in order to capture some
information about the relationship
between two other entities. Typically,
intersection entities are added to a
data model to store information about
two entities sharing an M : N
relationship.
© Copyright 2011 John Wiley & Sons, Inc. 6-27
(cont’d)
There are three steps involved in adding an
intersection entity:
Step 1. Remove the M:N relationship line and
insert a new entity (intersection entity) in
between the two existing ones.
Step 2. Add two 1:N relationships to the
model.
Step 3. Name the intersection entity.
© Copyright 2011 John Wiley & Sons, Inc. 6-28
(cont’d)
Resolving an M:N Relationship
© Copyright 2011 John Wiley & Sons, Inc. 6-29
VALIDATING AN ERD
 General design guidelines.
 Normalization.
Check the ERD against the process
models to make sure that both
model balance each other.
© Copyright 2011 John Wiley & Sons, Inc. 6-30
Design Guidelines
© Copyright 2011 John Wiley & Sons, Inc. 6-31
Normalization
Normalization is a technique that
can help analysts validate the data
models.
It is a process whereby a series of
rules are applied to a logical data
model to determine how well
formed it is.
© Copyright 2011 John Wiley & Sons, Inc. 6-32
(cont’d)
Normalization Steps
© Copyright 2011 John Wiley & Sons, Inc. 6-33
Balancing ERDs with DFDs
 The process models and data models are
interrelated.
 Although the process model focuses on the business
processes, it contains two data components – the
data and the data store.
 These two data components of the DFDs need to
balance with the ERDs.
 The DFD data components need to correspond with
the ERD’s data stores (i.e., entities) and the data
elements that comprise the data flows (i.e.,
attributes) depicted on the data model.
© Copyright 2011 John Wiley & Sons, Inc. 6-34
(cont’d)
 Many CASE tools provide features of identifying
problems with balance between DFDs and ERDs;
however, it is important to understand how to
identify problems on your own.
 Check your DFDs and ERDs to make sure all data
components correspond between DFDs and ERDs.
 A useful tools to clearly depict the interrelationship
between process and data models is the CRUD
matrix (create, read, update, delete matrix).
© Copyright 2011 John Wiley & Sons, Inc. 6-35
(cont’d)
A Portion of a DFD and the CRUD Matrix
© Copyright 2011 John Wiley & Sons, Inc. 6-36
SUMMARY
 Basic Entity Relationship Diagram Syntax
- Entity describes people, places, or things.
- Attribute is some type of information about the entity.
- Relationship conveys the associations between entities.
 Creating an ERD
- Identify the entities.
- Add the attributes to each entity.
- Draw relationships among entities.
 Validating an ERD
- Normalization
- CRUD matrix
© Copyright 2011 John Wiley & Sons, Inc. 6-37
Copyright 2011 John Wiley & Sons, Inc.
All rights reserved. Reproduction or translation of this work
beyond that permitted in Section 117 of the 1976 United States
Copyright Act without the express written permission of the
copyright owner is unlawful. Request for further information
should be addressed to the Permissions Department, John Wiley
& Sons, Inc. The purchaser may make back-up copies for his/her
own use only and not for redistribution or resale. The Publisher
assumes no responsibility for errors, omissions, or damages,
caused by the use of these programs or from the use of the
information contained herein.
© Copyright 2011 John Wiley & Sons, Inc. 6-38

More Related Content

What's hot

Chap11
Chap11Chap11
Chap11
lolanyunyu
 
Chap22
Chap22Chap22
Chap22
lolanyunyu
 
Chap03
Chap03Chap03
Chap03
lolanyunyu
 
System analysis and design
System analysis and designSystem analysis and design
System analysis and design
RobinsonObura
 
Chap04
Chap04Chap04
Chap04
lolanyunyu
 
Lecture6 is353(ea&data viewpoint )
Lecture6 is353(ea&data viewpoint )Lecture6 is353(ea&data viewpoint )
Lecture6 is353(ea&data viewpoint )
Taibah University, College of Computer Science & Engineering
 
Chapter 9
Chapter 9Chapter 9
Chapter 9
Ahmed Magdy
 
Lecture1-IS322(Data&InfoMang-introduction)
Lecture1-IS322(Data&InfoMang-introduction)Lecture1-IS322(Data&InfoMang-introduction)
Lecture1-IS322(Data&InfoMang-introduction)
Taibah University, College of Computer Science & Engineering
 
Chap01
Chap01Chap01
Chap01
lolanyunyu
 
Lectura 2.1 architectural integrationstylesfor largescale-editable_pdf
Lectura 2.1   architectural integrationstylesfor largescale-editable_pdfLectura 2.1   architectural integrationstylesfor largescale-editable_pdf
Lectura 2.1 architectural integrationstylesfor largescale-editable_pdf
Matias Menendez
 
SSAD; TOOLS & TECHNIQUES
SSAD; TOOLS & TECHNIQUESSSAD; TOOLS & TECHNIQUES
SSAD; TOOLS & TECHNIQUES
Malvika Bansal
 
Final
FinalFinal
Final
Dylan Clipp
 
Kendall_White Resume6
Kendall_White Resume6Kendall_White Resume6
Kendall_White Resume6
Kendall White
 
database chap 1 and 2.pptx
database chap 1 and 2.pptxdatabase chap 1 and 2.pptx
database chap 1 and 2.pptx
Eliasasefa
 
Managing enterprise stakeholders collaboration a qualitative and quantitative...
Managing enterprise stakeholders collaboration a qualitative and quantitative...Managing enterprise stakeholders collaboration a qualitative and quantitative...
Managing enterprise stakeholders collaboration a qualitative and quantitative...
Pragmatic Cohesion Consulting, LLC
 
AN OVERVIEW OF EXISTING FRAMEWORKS FOR INTEGRATING FRAGMENTED INFORMATION SYS...
AN OVERVIEW OF EXISTING FRAMEWORKS FOR INTEGRATING FRAGMENTED INFORMATION SYS...AN OVERVIEW OF EXISTING FRAMEWORKS FOR INTEGRATING FRAGMENTED INFORMATION SYS...
AN OVERVIEW OF EXISTING FRAMEWORKS FOR INTEGRATING FRAGMENTED INFORMATION SYS...
ijistjournal
 
Case study of rules as relational data
Case study of rules as relational dataCase study of rules as relational data
Case study of rules as relational data
Jeff Long
 
Developing Sales Information System Application using Prototyping Model
Developing Sales Information System Application using Prototyping ModelDeveloping Sales Information System Application using Prototyping Model
Developing Sales Information System Application using Prototyping Model
Editor IJCATR
 
[Www.pkbulk.blogspot.com]dbms01
[Www.pkbulk.blogspot.com]dbms01[Www.pkbulk.blogspot.com]dbms01
[Www.pkbulk.blogspot.com]dbms01
AnusAhmad
 

What's hot (19)

Chap11
Chap11Chap11
Chap11
 
Chap22
Chap22Chap22
Chap22
 
Chap03
Chap03Chap03
Chap03
 
System analysis and design
System analysis and designSystem analysis and design
System analysis and design
 
Chap04
Chap04Chap04
Chap04
 
Lecture6 is353(ea&data viewpoint )
Lecture6 is353(ea&data viewpoint )Lecture6 is353(ea&data viewpoint )
Lecture6 is353(ea&data viewpoint )
 
Chapter 9
Chapter 9Chapter 9
Chapter 9
 
Lecture1-IS322(Data&InfoMang-introduction)
Lecture1-IS322(Data&InfoMang-introduction)Lecture1-IS322(Data&InfoMang-introduction)
Lecture1-IS322(Data&InfoMang-introduction)
 
Chap01
Chap01Chap01
Chap01
 
Lectura 2.1 architectural integrationstylesfor largescale-editable_pdf
Lectura 2.1   architectural integrationstylesfor largescale-editable_pdfLectura 2.1   architectural integrationstylesfor largescale-editable_pdf
Lectura 2.1 architectural integrationstylesfor largescale-editable_pdf
 
SSAD; TOOLS & TECHNIQUES
SSAD; TOOLS & TECHNIQUESSSAD; TOOLS & TECHNIQUES
SSAD; TOOLS & TECHNIQUES
 
Final
FinalFinal
Final
 
Kendall_White Resume6
Kendall_White Resume6Kendall_White Resume6
Kendall_White Resume6
 
database chap 1 and 2.pptx
database chap 1 and 2.pptxdatabase chap 1 and 2.pptx
database chap 1 and 2.pptx
 
Managing enterprise stakeholders collaboration a qualitative and quantitative...
Managing enterprise stakeholders collaboration a qualitative and quantitative...Managing enterprise stakeholders collaboration a qualitative and quantitative...
Managing enterprise stakeholders collaboration a qualitative and quantitative...
 
AN OVERVIEW OF EXISTING FRAMEWORKS FOR INTEGRATING FRAGMENTED INFORMATION SYS...
AN OVERVIEW OF EXISTING FRAMEWORKS FOR INTEGRATING FRAGMENTED INFORMATION SYS...AN OVERVIEW OF EXISTING FRAMEWORKS FOR INTEGRATING FRAGMENTED INFORMATION SYS...
AN OVERVIEW OF EXISTING FRAMEWORKS FOR INTEGRATING FRAGMENTED INFORMATION SYS...
 
Case study of rules as relational data
Case study of rules as relational dataCase study of rules as relational data
Case study of rules as relational data
 
Developing Sales Information System Application using Prototyping Model
Developing Sales Information System Application using Prototyping ModelDeveloping Sales Information System Application using Prototyping Model
Developing Sales Information System Application using Prototyping Model
 
[Www.pkbulk.blogspot.com]dbms01
[Www.pkbulk.blogspot.com]dbms01[Www.pkbulk.blogspot.com]dbms01
[Www.pkbulk.blogspot.com]dbms01
 

Viewers also liked

Process modelling
Process modellingProcess modelling
Process modelling
Fajar Baskoro
 
Kebutuhan
KebutuhanKebutuhan
Kebutuhan
Fajar Baskoro
 
Anakasus
AnakasusAnakasus
Anakasus
Fajar Baskoro
 
Apsi
ApsiApsi
8. pen scratch
8. pen scratch8. pen scratch
8. pen scratch
Fajar Baskoro
 
Ch09-User Interface Design
Ch09-User Interface DesignCh09-User Interface Design
Ch09-User Interface Design
Fajar Baskoro
 
Ch07-Moving into Design
Ch07-Moving into DesignCh07-Moving into Design
Ch07-Moving into Design
Fajar Baskoro
 
Ch10-Program Design
Ch10-Program DesignCh10-Program Design
Ch10-Program Design
Fajar Baskoro
 
10. sensing scratch
10. sensing scratch10. sensing scratch
10. sensing scratch
Fajar Baskoro
 
Materi pertemuan-4-overloading objek
Materi pertemuan-4-overloading objekMateri pertemuan-4-overloading objek
Materi pertemuan-4-overloading objek
Fajar Baskoro
 
Materi pertemuan-2-java dan blue j
Materi pertemuan-2-java dan blue jMateri pertemuan-2-java dan blue j
Materi pertemuan-2-java dan blue j
Fajar Baskoro
 
Pbo pertemuan-6-Menggunakan Library
Pbo pertemuan-6-Menggunakan LibraryPbo pertemuan-6-Menggunakan Library
Pbo pertemuan-6-Menggunakan Library
Fajar Baskoro
 
Bebras 1
Bebras 1Bebras 1
Bebras 1
Fajar Baskoro
 
SDLC Models
SDLC ModelsSDLC Models
SDLC Models
SoftwareTestingDiary
 
SDLC MODELS PPT
SDLC MODELS PPTSDLC MODELS PPT
SDLC MODELS PPT
KARRI SUKANYA
 

Viewers also liked (15)

Process modelling
Process modellingProcess modelling
Process modelling
 
Kebutuhan
KebutuhanKebutuhan
Kebutuhan
 
Anakasus
AnakasusAnakasus
Anakasus
 
Apsi
ApsiApsi
Apsi
 
8. pen scratch
8. pen scratch8. pen scratch
8. pen scratch
 
Ch09-User Interface Design
Ch09-User Interface DesignCh09-User Interface Design
Ch09-User Interface Design
 
Ch07-Moving into Design
Ch07-Moving into DesignCh07-Moving into Design
Ch07-Moving into Design
 
Ch10-Program Design
Ch10-Program DesignCh10-Program Design
Ch10-Program Design
 
10. sensing scratch
10. sensing scratch10. sensing scratch
10. sensing scratch
 
Materi pertemuan-4-overloading objek
Materi pertemuan-4-overloading objekMateri pertemuan-4-overloading objek
Materi pertemuan-4-overloading objek
 
Materi pertemuan-2-java dan blue j
Materi pertemuan-2-java dan blue jMateri pertemuan-2-java dan blue j
Materi pertemuan-2-java dan blue j
 
Pbo pertemuan-6-Menggunakan Library
Pbo pertemuan-6-Menggunakan LibraryPbo pertemuan-6-Menggunakan Library
Pbo pertemuan-6-Menggunakan Library
 
Bebras 1
Bebras 1Bebras 1
Bebras 1
 
SDLC Models
SDLC ModelsSDLC Models
SDLC Models
 
SDLC MODELS PPT
SDLC MODELS PPTSDLC MODELS PPT
SDLC MODELS PPT
 

Similar to Datamodelling

Hi600 ch06_text_slides
Hi600 ch06_text_slidesHi600 ch06_text_slides
Hi600 ch06_text_slides
ljmcneill33
 
Database Modeling Using Entity.. Weak And Strong Entity Types
Database Modeling Using Entity.. Weak And Strong Entity TypesDatabase Modeling Using Entity.. Weak And Strong Entity Types
Database Modeling Using Entity.. Weak And Strong Entity Types
aakanksha s
 
DATA MODELING.pptx
DATA MODELING.pptxDATA MODELING.pptx
DATA MODELING.pptx
NishimwePrince
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
Ahmed Magdy
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modeling
oudesign
 
Chapter10 conceptual data modeling
Chapter10 conceptual data modelingChapter10 conceptual data modeling
Chapter10 conceptual data modeling
Dhani Ahmad
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPT
Trinath
 
7chap007_data modeling and analysis_14-7-19.ppt
7chap007_data modeling and analysis_14-7-19.ppt7chap007_data modeling and analysis_14-7-19.ppt
7chap007_data modeling and analysis_14-7-19.ppt
MDTahsinAmin3
 
Back to Basics - Firmware in NFV security
Back to Basics - Firmware in NFV securityBack to Basics - Firmware in NFV security
Back to Basics - Firmware in NFV security
Lilminow
 
uml.pptx
uml.pptxuml.pptx
uml.pptx
amanuel236786
 
8.pptx
8.pptx8.pptx
8.pptx
Doris292547
 
HL7 Version 3 Overview
HL7 Version 3 Overview HL7 Version 3 Overview
HL7 Version 3 Overview
WardTechTalent
 
Db lec 01
Db lec 01Db lec 01
Db lec 01
Ramadan Babers, PhD
 
ch6
ch6ch6
Normalization
NormalizationNormalization
Normalization
AbuSahama
 
ICS Part 2 Computer Science Short Notes
ICS Part 2 Computer Science Short NotesICS Part 2 Computer Science Short Notes
ICS Part 2 Computer Science Short Notes
Abdul Haseeb
 
Data base design
Data base designData base design
Data base design
Roxana Tadayon
 
Database model
Database modelDatabase model
Database model
Shashwat Shriparv
 
Asi Chap007
Asi Chap007Asi Chap007
Asi Chap007
Putra Tidore
 
Understanding Data Modelling Techniques: A Compre
.pdf
Understanding Data Modelling Techniques: A Compre
.pdfUnderstanding Data Modelling Techniques: A Compre
.pdf
Understanding Data Modelling Techniques: A Compre
.pdf
Lynn588356
 

Similar to Datamodelling (20)

Hi600 ch06_text_slides
Hi600 ch06_text_slidesHi600 ch06_text_slides
Hi600 ch06_text_slides
 
Database Modeling Using Entity.. Weak And Strong Entity Types
Database Modeling Using Entity.. Weak And Strong Entity TypesDatabase Modeling Using Entity.. Weak And Strong Entity Types
Database Modeling Using Entity.. Weak And Strong Entity Types
 
DATA MODELING.pptx
DATA MODELING.pptxDATA MODELING.pptx
DATA MODELING.pptx
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modeling
 
Chapter10 conceptual data modeling
Chapter10 conceptual data modelingChapter10 conceptual data modeling
Chapter10 conceptual data modeling
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPT
 
7chap007_data modeling and analysis_14-7-19.ppt
7chap007_data modeling and analysis_14-7-19.ppt7chap007_data modeling and analysis_14-7-19.ppt
7chap007_data modeling and analysis_14-7-19.ppt
 
Back to Basics - Firmware in NFV security
Back to Basics - Firmware in NFV securityBack to Basics - Firmware in NFV security
Back to Basics - Firmware in NFV security
 
uml.pptx
uml.pptxuml.pptx
uml.pptx
 
8.pptx
8.pptx8.pptx
8.pptx
 
HL7 Version 3 Overview
HL7 Version 3 Overview HL7 Version 3 Overview
HL7 Version 3 Overview
 
Db lec 01
Db lec 01Db lec 01
Db lec 01
 
ch6
ch6ch6
ch6
 
Normalization
NormalizationNormalization
Normalization
 
ICS Part 2 Computer Science Short Notes
ICS Part 2 Computer Science Short NotesICS Part 2 Computer Science Short Notes
ICS Part 2 Computer Science Short Notes
 
Data base design
Data base designData base design
Data base design
 
Database model
Database modelDatabase model
Database model
 
Asi Chap007
Asi Chap007Asi Chap007
Asi Chap007
 
Understanding Data Modelling Techniques: A Compre
.pdf
Understanding Data Modelling Techniques: A Compre
.pdfUnderstanding Data Modelling Techniques: A Compre
.pdf
Understanding Data Modelling Techniques: A Compre
.pdf
 

More from Fajar Baskoro

Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
Pemberdayaan Kelompok Usaha Siswa dengan Tools Wirausaha AI.pdf
Pemberdayaan Kelompok Usaha Siswa dengan Tools Wirausaha AI.pdfPemberdayaan Kelompok Usaha Siswa dengan Tools Wirausaha AI.pdf
Pemberdayaan Kelompok Usaha Siswa dengan Tools Wirausaha AI.pdf
Fajar Baskoro
 
Skills for The Future - Pemberdayaan Remaja Untuk Meningkatkan Keterampilan.pptx
Skills for The Future - Pemberdayaan Remaja Untuk Meningkatkan Keterampilan.pptxSkills for The Future - Pemberdayaan Remaja Untuk Meningkatkan Keterampilan.pptx
Skills for The Future - Pemberdayaan Remaja Untuk Meningkatkan Keterampilan.pptx
Fajar Baskoro
 
Slides OOSC - Program Penanganan ATS Unicef Bappeda Jawa Timur.pptx
Slides OOSC - Program Penanganan ATS Unicef Bappeda Jawa Timur.pptxSlides OOSC - Program Penanganan ATS Unicef Bappeda Jawa Timur.pptx
Slides OOSC - Program Penanganan ATS Unicef Bappeda Jawa Timur.pptx
Fajar Baskoro
 
PPT- Menyiapkan GenerasiTerampilDigitalSkill1.pptx
PPT- Menyiapkan GenerasiTerampilDigitalSkill1.pptxPPT- Menyiapkan GenerasiTerampilDigitalSkill1.pptx
PPT- Menyiapkan GenerasiTerampilDigitalSkill1.pptx
Fajar Baskoro
 
PPT-Menyiapkan Alumni GenerasiTerampil.pptx
PPT-Menyiapkan Alumni GenerasiTerampil.pptxPPT-Menyiapkan Alumni GenerasiTerampil.pptx
PPT-Menyiapkan Alumni GenerasiTerampil.pptx
Fajar Baskoro
 
RIngkasan Program - Markoding Innovation Challenge.pptx
RIngkasan Program - Markoding Innovation Challenge.pptxRIngkasan Program - Markoding Innovation Challenge.pptx
RIngkasan Program - Markoding Innovation Challenge.pptx
Fajar Baskoro
 
Pengembangan Program Pelatihan Double Track - DT PLUSK
Pengembangan Program Pelatihan Double Track - DT PLUSKPengembangan Program Pelatihan Double Track - DT PLUSK
Pengembangan Program Pelatihan Double Track - DT PLUSK
Fajar Baskoro
 
DT-PLUSK Pengembangan SMA Double Track Tahun ke 5
DT-PLUSK Pengembangan SMA Double Track Tahun ke 5DT-PLUSK Pengembangan SMA Double Track Tahun ke 5
DT-PLUSK Pengembangan SMA Double Track Tahun ke 5
Fajar Baskoro
 
Generasi Terampil Digital Skill-2023.pptx
Generasi Terampil Digital Skill-2023.pptxGenerasi Terampil Digital Skill-2023.pptx
Generasi Terampil Digital Skill-2023.pptx
Fajar Baskoro
 
Cara Membuat Kursus Online Wordpress-tutorstarter
Cara Membuat Kursus Online Wordpress-tutorstarterCara Membuat Kursus Online Wordpress-tutorstarter
Cara Membuat Kursus Online Wordpress-tutorstarter
Fajar Baskoro
 
PPT-Kick Off Double Track 2024 melaksanakan Festival Ramadhan
PPT-Kick Off Double Track 2024 melaksanakan Festival RamadhanPPT-Kick Off Double Track 2024 melaksanakan Festival Ramadhan
PPT-Kick Off Double Track 2024 melaksanakan Festival Ramadhan
Fajar Baskoro
 
Buku Inovasi 2023 - 2024 konsep capaian KUS
Buku Inovasi 2023 - 2024 konsep capaian  KUSBuku Inovasi 2023 - 2024 konsep capaian  KUS
Buku Inovasi 2023 - 2024 konsep capaian KUS
Fajar Baskoro
 
Pemaparan Sosialisasi Program Dual Track 2024.pptx
Pemaparan Sosialisasi Program Dual Track 2024.pptxPemaparan Sosialisasi Program Dual Track 2024.pptx
Pemaparan Sosialisasi Program Dual Track 2024.pptx
Fajar Baskoro
 
Executive Millennial Entrepreneur Award 2023-1a-1.pdf
Executive Millennial Entrepreneur Award  2023-1a-1.pdfExecutive Millennial Entrepreneur Award  2023-1a-1.pdf
Executive Millennial Entrepreneur Award 2023-1a-1.pdf
Fajar Baskoro
 
1-Executive Millennial Entrepreneur Award 2023-1-cetak.pptx
1-Executive Millennial Entrepreneur Award  2023-1-cetak.pptx1-Executive Millennial Entrepreneur Award  2023-1-cetak.pptx
1-Executive Millennial Entrepreneur Award 2023-1-cetak.pptx
Fajar Baskoro
 
Executive Millennial Entrepreneur Award 2023-1.pptx
Executive Millennial Entrepreneur Award  2023-1.pptxExecutive Millennial Entrepreneur Award  2023-1.pptx
Executive Millennial Entrepreneur Award 2023-1.pptx
Fajar Baskoro
 
Pemrograman Mobile - JetPack Compose1.pptx
Pemrograman Mobile - JetPack Compose1.pptxPemrograman Mobile - JetPack Compose1.pptx
Pemrograman Mobile - JetPack Compose1.pptx
Fajar Baskoro
 
Evaluasi KPP Program Dual Track Provinsi Kaltim
Evaluasi KPP Program Dual Track Provinsi KaltimEvaluasi KPP Program Dual Track Provinsi Kaltim
Evaluasi KPP Program Dual Track Provinsi Kaltim
Fajar Baskoro
 
foto tenda digital skill program dari sekolah
foto tenda digital skill program dari sekolahfoto tenda digital skill program dari sekolah
foto tenda digital skill program dari sekolah
Fajar Baskoro
 

More from Fajar Baskoro (20)

Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
Pemberdayaan Kelompok Usaha Siswa dengan Tools Wirausaha AI.pdf
Pemberdayaan Kelompok Usaha Siswa dengan Tools Wirausaha AI.pdfPemberdayaan Kelompok Usaha Siswa dengan Tools Wirausaha AI.pdf
Pemberdayaan Kelompok Usaha Siswa dengan Tools Wirausaha AI.pdf
 
Skills for The Future - Pemberdayaan Remaja Untuk Meningkatkan Keterampilan.pptx
Skills for The Future - Pemberdayaan Remaja Untuk Meningkatkan Keterampilan.pptxSkills for The Future - Pemberdayaan Remaja Untuk Meningkatkan Keterampilan.pptx
Skills for The Future - Pemberdayaan Remaja Untuk Meningkatkan Keterampilan.pptx
 
Slides OOSC - Program Penanganan ATS Unicef Bappeda Jawa Timur.pptx
Slides OOSC - Program Penanganan ATS Unicef Bappeda Jawa Timur.pptxSlides OOSC - Program Penanganan ATS Unicef Bappeda Jawa Timur.pptx
Slides OOSC - Program Penanganan ATS Unicef Bappeda Jawa Timur.pptx
 
PPT- Menyiapkan GenerasiTerampilDigitalSkill1.pptx
PPT- Menyiapkan GenerasiTerampilDigitalSkill1.pptxPPT- Menyiapkan GenerasiTerampilDigitalSkill1.pptx
PPT- Menyiapkan GenerasiTerampilDigitalSkill1.pptx
 
PPT-Menyiapkan Alumni GenerasiTerampil.pptx
PPT-Menyiapkan Alumni GenerasiTerampil.pptxPPT-Menyiapkan Alumni GenerasiTerampil.pptx
PPT-Menyiapkan Alumni GenerasiTerampil.pptx
 
RIngkasan Program - Markoding Innovation Challenge.pptx
RIngkasan Program - Markoding Innovation Challenge.pptxRIngkasan Program - Markoding Innovation Challenge.pptx
RIngkasan Program - Markoding Innovation Challenge.pptx
 
Pengembangan Program Pelatihan Double Track - DT PLUSK
Pengembangan Program Pelatihan Double Track - DT PLUSKPengembangan Program Pelatihan Double Track - DT PLUSK
Pengembangan Program Pelatihan Double Track - DT PLUSK
 
DT-PLUSK Pengembangan SMA Double Track Tahun ke 5
DT-PLUSK Pengembangan SMA Double Track Tahun ke 5DT-PLUSK Pengembangan SMA Double Track Tahun ke 5
DT-PLUSK Pengembangan SMA Double Track Tahun ke 5
 
Generasi Terampil Digital Skill-2023.pptx
Generasi Terampil Digital Skill-2023.pptxGenerasi Terampil Digital Skill-2023.pptx
Generasi Terampil Digital Skill-2023.pptx
 
Cara Membuat Kursus Online Wordpress-tutorstarter
Cara Membuat Kursus Online Wordpress-tutorstarterCara Membuat Kursus Online Wordpress-tutorstarter
Cara Membuat Kursus Online Wordpress-tutorstarter
 
PPT-Kick Off Double Track 2024 melaksanakan Festival Ramadhan
PPT-Kick Off Double Track 2024 melaksanakan Festival RamadhanPPT-Kick Off Double Track 2024 melaksanakan Festival Ramadhan
PPT-Kick Off Double Track 2024 melaksanakan Festival Ramadhan
 
Buku Inovasi 2023 - 2024 konsep capaian KUS
Buku Inovasi 2023 - 2024 konsep capaian  KUSBuku Inovasi 2023 - 2024 konsep capaian  KUS
Buku Inovasi 2023 - 2024 konsep capaian KUS
 
Pemaparan Sosialisasi Program Dual Track 2024.pptx
Pemaparan Sosialisasi Program Dual Track 2024.pptxPemaparan Sosialisasi Program Dual Track 2024.pptx
Pemaparan Sosialisasi Program Dual Track 2024.pptx
 
Executive Millennial Entrepreneur Award 2023-1a-1.pdf
Executive Millennial Entrepreneur Award  2023-1a-1.pdfExecutive Millennial Entrepreneur Award  2023-1a-1.pdf
Executive Millennial Entrepreneur Award 2023-1a-1.pdf
 
1-Executive Millennial Entrepreneur Award 2023-1-cetak.pptx
1-Executive Millennial Entrepreneur Award  2023-1-cetak.pptx1-Executive Millennial Entrepreneur Award  2023-1-cetak.pptx
1-Executive Millennial Entrepreneur Award 2023-1-cetak.pptx
 
Executive Millennial Entrepreneur Award 2023-1.pptx
Executive Millennial Entrepreneur Award  2023-1.pptxExecutive Millennial Entrepreneur Award  2023-1.pptx
Executive Millennial Entrepreneur Award 2023-1.pptx
 
Pemrograman Mobile - JetPack Compose1.pptx
Pemrograman Mobile - JetPack Compose1.pptxPemrograman Mobile - JetPack Compose1.pptx
Pemrograman Mobile - JetPack Compose1.pptx
 
Evaluasi KPP Program Dual Track Provinsi Kaltim
Evaluasi KPP Program Dual Track Provinsi KaltimEvaluasi KPP Program Dual Track Provinsi Kaltim
Evaluasi KPP Program Dual Track Provinsi Kaltim
 
foto tenda digital skill program dari sekolah
foto tenda digital skill program dari sekolahfoto tenda digital skill program dari sekolah
foto tenda digital skill program dari sekolah
 

Recently uploaded

Streamlining End-to-End Testing Automation
Streamlining End-to-End Testing AutomationStreamlining End-to-End Testing Automation
Streamlining End-to-End Testing Automation
Anand Bagmar
 
European Standard S1000D, an Unnecessary Expense to OEM.pptx
European Standard S1000D, an Unnecessary Expense to OEM.pptxEuropean Standard S1000D, an Unnecessary Expense to OEM.pptx
European Standard S1000D, an Unnecessary Expense to OEM.pptx
Digital Teacher
 
High-Class Call Girls In Chennai 📞7014168258 Available With Direct Cash Payme...
High-Class Call Girls In Chennai 📞7014168258 Available With Direct Cash Payme...High-Class Call Girls In Chennai 📞7014168258 Available With Direct Cash Payme...
High-Class Call Girls In Chennai 📞7014168258 Available With Direct Cash Payme...
shoeb2926
 
OpenChain Webinar - Open Source Due Diligence for M&A - 2024-06-17
OpenChain Webinar - Open Source Due Diligence for M&A - 2024-06-17OpenChain Webinar - Open Source Due Diligence for M&A - 2024-06-17
OpenChain Webinar - Open Source Due Diligence for M&A - 2024-06-17
Shane Coughlan
 
AI Based Testing - A Comprehensive Guide.pdf
AI Based Testing - A Comprehensive Guide.pdfAI Based Testing - A Comprehensive Guide.pdf
AI Based Testing - A Comprehensive Guide.pdf
kalichargn70th171
 
Accelerate your Sitecore development with GenAI
Accelerate your Sitecore development with GenAIAccelerate your Sitecore development with GenAI
Accelerate your Sitecore development with GenAI
Ahmed Okour
 
SAP ECC & S4 HANA PPT COMPARISON MM.pptx
SAP ECC & S4 HANA PPT COMPARISON MM.pptxSAP ECC & S4 HANA PPT COMPARISON MM.pptx
SAP ECC & S4 HANA PPT COMPARISON MM.pptx
aneeshmanikantan2341
 
How GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdfHow GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdf
Zycus
 
Premium Call Girls In Ahmedabad 💯Call Us 🔝 7426014248 🔝Independent Ahmedabad ...
Premium Call Girls In Ahmedabad 💯Call Us 🔝 7426014248 🔝Independent Ahmedabad ...Premium Call Girls In Ahmedabad 💯Call Us 🔝 7426014248 🔝Independent Ahmedabad ...
Premium Call Girls In Ahmedabad 💯Call Us 🔝 7426014248 🔝Independent Ahmedabad ...
Anita pandey
 
Top Call Girls Lucknow ✔ 9352988975 ✔ Hi I Am Divya Vip Call Girl Services Pr...
Top Call Girls Lucknow ✔ 9352988975 ✔ Hi I Am Divya Vip Call Girl Services Pr...Top Call Girls Lucknow ✔ 9352988975 ✔ Hi I Am Divya Vip Call Girl Services Pr...
Top Call Girls Lucknow ✔ 9352988975 ✔ Hi I Am Divya Vip Call Girl Services Pr...
simmi singh$A17
 
Digital Marketing Introduction and Conclusion
Digital Marketing Introduction and ConclusionDigital Marketing Introduction and Conclusion
Digital Marketing Introduction and Conclusion
Staff AgentAI
 
Folding Cheat Sheet #5 - fifth in a series
Folding Cheat Sheet #5 - fifth in a seriesFolding Cheat Sheet #5 - fifth in a series
Folding Cheat Sheet #5 - fifth in a series
Philip Schwarz
 
TheFutureIsDynamic-BoxLang-CFCamp2024.pdf
TheFutureIsDynamic-BoxLang-CFCamp2024.pdfTheFutureIsDynamic-BoxLang-CFCamp2024.pdf
TheFutureIsDynamic-BoxLang-CFCamp2024.pdf
Ortus Solutions, Corp
 
What’s New in VictoriaLogs - Q2 2024 Update
What’s New in VictoriaLogs - Q2 2024 UpdateWhat’s New in VictoriaLogs - Q2 2024 Update
What’s New in VictoriaLogs - Q2 2024 Update
VictoriaMetrics
 
Introduction to Python and Basic Syntax.pptx
Introduction to Python and Basic Syntax.pptxIntroduction to Python and Basic Syntax.pptx
Introduction to Python and Basic Syntax.pptx
GevitaChinnaiah
 
Call Girls Solapur ☎ +91-7426014248 😍 Solapur Call Girl Beauty Girls Solapur...
Call Girls Solapur ☎ +91-7426014248 😍 Solapur Call Girl Beauty Girls Solapur...Call Girls Solapur ☎ +91-7426014248 😍 Solapur Call Girl Beauty Girls Solapur...
Call Girls Solapur ☎ +91-7426014248 😍 Solapur Call Girl Beauty Girls Solapur...
anshsharma8761
 
What’s new in VictoriaMetrics - Q2 2024 Update
What’s new in VictoriaMetrics - Q2 2024 UpdateWhat’s new in VictoriaMetrics - Q2 2024 Update
What’s new in VictoriaMetrics - Q2 2024 Update
VictoriaMetrics
 
Stork Product Overview: An AI-Powered Autonomous Delivery Fleet
Stork Product Overview: An AI-Powered Autonomous Delivery FleetStork Product Overview: An AI-Powered Autonomous Delivery Fleet
Stork Product Overview: An AI-Powered Autonomous Delivery Fleet
Vince Scalabrino
 
Refactoring legacy systems using events commands and bubble contexts
Refactoring legacy systems using events commands and bubble contextsRefactoring legacy systems using events commands and bubble contexts
Refactoring legacy systems using events commands and bubble contexts
MichaƂ Kurzeja
 

Recently uploaded (20)

Streamlining End-to-End Testing Automation
Streamlining End-to-End Testing AutomationStreamlining End-to-End Testing Automation
Streamlining End-to-End Testing Automation
 
European Standard S1000D, an Unnecessary Expense to OEM.pptx
European Standard S1000D, an Unnecessary Expense to OEM.pptxEuropean Standard S1000D, an Unnecessary Expense to OEM.pptx
European Standard S1000D, an Unnecessary Expense to OEM.pptx
 
High-Class Call Girls In Chennai 📞7014168258 Available With Direct Cash Payme...
High-Class Call Girls In Chennai 📞7014168258 Available With Direct Cash Payme...High-Class Call Girls In Chennai 📞7014168258 Available With Direct Cash Payme...
High-Class Call Girls In Chennai 📞7014168258 Available With Direct Cash Payme...
 
OpenChain Webinar - Open Source Due Diligence for M&A - 2024-06-17
OpenChain Webinar - Open Source Due Diligence for M&A - 2024-06-17OpenChain Webinar - Open Source Due Diligence for M&A - 2024-06-17
OpenChain Webinar - Open Source Due Diligence for M&A - 2024-06-17
 
AI Based Testing - A Comprehensive Guide.pdf
AI Based Testing - A Comprehensive Guide.pdfAI Based Testing - A Comprehensive Guide.pdf
AI Based Testing - A Comprehensive Guide.pdf
 
bgiolcb
bgiolcbbgiolcb
bgiolcb
 
Accelerate your Sitecore development with GenAI
Accelerate your Sitecore development with GenAIAccelerate your Sitecore development with GenAI
Accelerate your Sitecore development with GenAI
 
SAP ECC & S4 HANA PPT COMPARISON MM.pptx
SAP ECC & S4 HANA PPT COMPARISON MM.pptxSAP ECC & S4 HANA PPT COMPARISON MM.pptx
SAP ECC & S4 HANA PPT COMPARISON MM.pptx
 
How GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdfHow GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdf
 
Premium Call Girls In Ahmedabad 💯Call Us 🔝 7426014248 🔝Independent Ahmedabad ...
Premium Call Girls In Ahmedabad 💯Call Us 🔝 7426014248 🔝Independent Ahmedabad ...Premium Call Girls In Ahmedabad 💯Call Us 🔝 7426014248 🔝Independent Ahmedabad ...
Premium Call Girls In Ahmedabad 💯Call Us 🔝 7426014248 🔝Independent Ahmedabad ...
 
Top Call Girls Lucknow ✔ 9352988975 ✔ Hi I Am Divya Vip Call Girl Services Pr...
Top Call Girls Lucknow ✔ 9352988975 ✔ Hi I Am Divya Vip Call Girl Services Pr...Top Call Girls Lucknow ✔ 9352988975 ✔ Hi I Am Divya Vip Call Girl Services Pr...
Top Call Girls Lucknow ✔ 9352988975 ✔ Hi I Am Divya Vip Call Girl Services Pr...
 
Digital Marketing Introduction and Conclusion
Digital Marketing Introduction and ConclusionDigital Marketing Introduction and Conclusion
Digital Marketing Introduction and Conclusion
 
Folding Cheat Sheet #5 - fifth in a series
Folding Cheat Sheet #5 - fifth in a seriesFolding Cheat Sheet #5 - fifth in a series
Folding Cheat Sheet #5 - fifth in a series
 
TheFutureIsDynamic-BoxLang-CFCamp2024.pdf
TheFutureIsDynamic-BoxLang-CFCamp2024.pdfTheFutureIsDynamic-BoxLang-CFCamp2024.pdf
TheFutureIsDynamic-BoxLang-CFCamp2024.pdf
 
What’s New in VictoriaLogs - Q2 2024 Update
What’s New in VictoriaLogs - Q2 2024 UpdateWhat’s New in VictoriaLogs - Q2 2024 Update
What’s New in VictoriaLogs - Q2 2024 Update
 
Introduction to Python and Basic Syntax.pptx
Introduction to Python and Basic Syntax.pptxIntroduction to Python and Basic Syntax.pptx
Introduction to Python and Basic Syntax.pptx
 
Call Girls Solapur ☎ +91-7426014248 😍 Solapur Call Girl Beauty Girls Solapur...
Call Girls Solapur ☎ +91-7426014248 😍 Solapur Call Girl Beauty Girls Solapur...Call Girls Solapur ☎ +91-7426014248 😍 Solapur Call Girl Beauty Girls Solapur...
Call Girls Solapur ☎ +91-7426014248 😍 Solapur Call Girl Beauty Girls Solapur...
 
What’s new in VictoriaMetrics - Q2 2024 Update
What’s new in VictoriaMetrics - Q2 2024 UpdateWhat’s new in VictoriaMetrics - Q2 2024 Update
What’s new in VictoriaMetrics - Q2 2024 Update
 
Stork Product Overview: An AI-Powered Autonomous Delivery Fleet
Stork Product Overview: An AI-Powered Autonomous Delivery FleetStork Product Overview: An AI-Powered Autonomous Delivery Fleet
Stork Product Overview: An AI-Powered Autonomous Delivery Fleet
 
Refactoring legacy systems using events commands and bubble contexts
Refactoring legacy systems using events commands and bubble contextsRefactoring legacy systems using events commands and bubble contexts
Refactoring legacy systems using events commands and bubble contexts
 

Datamodelling

  • 1. Systems Analysis and DesignSystems Analysis and Design 5th Edition5th Edition Chapter 6. Data ModelingChapter 6. Data Modeling Alan Dennis, Barbara Haley Wixom, and Roberta Roth 6-1© Copyright 2011 John Wiley & Sons, Inc.
  • 2. Chapter 6 Outline  The Entity Relationship Diagram (ERD). - Elements of ERD - The Data Dictionary and Metadata  Creating an Entity Relationship Diagram.  Validating an ERD. © Copyright 2011 John Wiley & Sons, Inc. 6-2
  • 3. INTRODUCTION  In this chapter, we discuss how the data are organized and presented.  A data model is a formal way of representing the data that are used and created by a business system.  During analysis (this Chapter), analysts draw a Logical data model which shows the logical organization of data without indicating how it is stored, created, or manipulated.  During design (Chapter 11), analysts draw a physical data model to reflect how the data will physically be stored in databases or files. © Copyright 2011 John Wiley & Sons, Inc. 6-3
  • 4. (cont’d)  Topics of this chapter: - Creating an entity relationship diagram (ERD). - Normalization, a technique that helps analysts validate the data models. - How data models balance, or interrelate, with the process models. © Copyright 2011 John Wiley & Sons, Inc. 6-4
  • 5. THE ENTITY-RELATIONSHIP DIAGRAM (ERD) An entity-relationship diagram (ERD) is a picture showing the information that is created, stored, and used by a business system. Entities lists similar kinds of information Lines drawn between entities represent relationships among the data. Special symbols communicate high-level business rules. © Copyright 2011 John Wiley & Sons, Inc. 6-5
  • 6. Reading an Entity Relationship Diagram © Copyright 2011 John Wiley & Sons, Inc. 6-6
  • 7. Elements of an Entity Relationship Diagram © Copyright 2011 John Wiley & Sons, Inc. 6-7
  • 8. Entity The entity is the basic building block for a data model. It is a person, place, event, or thing about which data is collected.  Entities represent something for which there exist multiple instances, or occurrences. - E.g., John Smith could be an instance of the customer entity. © Copyright 2011 John Wiley & Sons, Inc. 6-8
  • 9. (cont’d) © Copyright 2011 John Wiley & Sons, Inc. 6-9
  • 10. Attributes An attribute is some type of information that is captured about an entity. Attributes are nouns that are listed with an entity. One or more attributes can serve as the entity identifier - the attribute(s) that can uniquely identify one instance of an entity. Concatenated identifier - several attributes are combined to uniquely identify an instance. © Copyright 2011 John Wiley & Sons, Inc. 6-10
  • 11. (cont’d) © Copyright 2011 John Wiley & Sons, Inc. 6-11 Choices for Identifiers
  • 12. Relationships Relationships are associations between entities. Every relationship has a parent entity and a child entity. Relationships should be labeled with active verbs. © Copyright 2011 John Wiley & Sons, Inc. 6-12
  • 13. Cardinality  A relationship has cardinality which is the ratio of parent instances to child instances.  The 1:1 relationship means that one instance of the parent entity is associated with one instance of the child entity.  The 1:N relationship means that a single instance of a parent entity is associated with many instances of a child entity.  The M:N relationship means that many instances of a parent entity can relate to many instances of a child entity. © Copyright 2011 John Wiley & Sons, Inc. 6-13
  • 14. (cont’d) Example of M:N Relationship © Copyright 2011 John Wiley & Sons, Inc. 6-14
  • 15. Modality A relationship has modality of null or not null, which refers to whether or not an instance of a child entity can exist without a related instance in the parent entity. Null means that an instance of a child entity can exist without a related instance in the parent entity. Not Null means that an instance of a child entity can’t exist without a related instance in the parent entity. © Copyright 2011 John Wiley & Sons, Inc. 6-15
  • 16. The Data Dictionary and Metadata A data dictionary contains the information about the entities, attributes, and relationships on the ERD, or metadata. Metadata is data about data. Metadata is stored in the data dictionary so it can be shared by developers and users throughout the SDLC. © Copyright 2011 John Wiley & Sons, Inc. 6-16
  • 17. (cont’d) Example of Data Dictionary Entry for Entity © Copyright 2011 John Wiley & Sons, Inc. 6-17
  • 18. (cont’d) Example of Data Dictionary Entry for Attributes © Copyright 2011 John Wiley & Sons, Inc. 6-18
  • 19. (cont’d) Example of Data Dictionary of Entry for Relationship © Copyright 2011 John Wiley & Sons, Inc. 6-19
  • 20. (cont’d) Types of Metadata Captured by the Data Dictionary © Copyright 2011 John Wiley & Sons, Inc. 6-20
  • 21. CREATING AN ENTITY RELATIONSHIP DIAGRAM (ERD) Drawing the ERD is an iterative process of trial and revision. The basic steps in building an ERD: 1. Identify the entities; 2. add the appropriate attributes to each entity; and 3. draw relationships among entities. © Copyright 2011 John Wiley & Sons, Inc. 6-21
  • 22. Step 1: Identify the Entities  The entities should represent the major categories of information that you need to store in your system. If you begin the data model using a use case, look at the major inputs and outputs of the use case. If the process models are available, look at the data stores, external entities, and data flows. © Copyright 2011 John Wiley & Sons, Inc. 6-22
  • 23. Step 2: Add Attributes and Assign Identifiers The information that describes each entity becomes its attributes. – Check in the CASE repository of the process model for details on data flows and data stores. – Check the data requirements of the requirements definition. – Use requirements elicitation techniques (e.g., interview and document analysis). One or more of the attributes will become the entity’s identifier. © Copyright 2011 John Wiley & Sons, Inc. 6-23
  • 24. Step3: Identify Relationships The last step in creating ERDs is to determine how the entities are related to each other. Lines are drawn between the entities that have relationships. Each relationship is labeled, and cardinality and modality are assigned. © Copyright 2011 John Wiley & Sons, Inc. 6-24
  • 25. Advanced Syntax Three special types of entities: Independent Entity –Can exist without the help of another entity. –The identifiers is created from the entity’s own attributes. –Attributes from other entities are not needed to uniquely identify instances of these entities. © Copyright 2011 John Wiley & Sons, Inc. 6-25
  • 26. (cont’d) Dependent Entity – There are situations when a child entity does require attributes from the parent entity to uniquely identify an instance. In these cases, the child entity is called a dependent entity, and its identifier consists of at least one attributes from the parent entity. (E.g., the Chemical Request entity in Figure 6.1). © Copyright 2011 John Wiley & Sons, Inc. 6-26
  • 27. (cont’d) Intersection Entity –It exists in order to capture some information about the relationship between two other entities. Typically, intersection entities are added to a data model to store information about two entities sharing an M : N relationship. © Copyright 2011 John Wiley & Sons, Inc. 6-27
  • 28. (cont’d) There are three steps involved in adding an intersection entity: Step 1. Remove the M:N relationship line and insert a new entity (intersection entity) in between the two existing ones. Step 2. Add two 1:N relationships to the model. Step 3. Name the intersection entity. © Copyright 2011 John Wiley & Sons, Inc. 6-28
  • 29. (cont’d) Resolving an M:N Relationship © Copyright 2011 John Wiley & Sons, Inc. 6-29
  • 30. VALIDATING AN ERD  General design guidelines.  Normalization. Check the ERD against the process models to make sure that both model balance each other. © Copyright 2011 John Wiley & Sons, Inc. 6-30
  • 31. Design Guidelines © Copyright 2011 John Wiley & Sons, Inc. 6-31
  • 32. Normalization Normalization is a technique that can help analysts validate the data models. It is a process whereby a series of rules are applied to a logical data model to determine how well formed it is. © Copyright 2011 John Wiley & Sons, Inc. 6-32
  • 33. (cont’d) Normalization Steps © Copyright 2011 John Wiley & Sons, Inc. 6-33
  • 34. Balancing ERDs with DFDs  The process models and data models are interrelated.  Although the process model focuses on the business processes, it contains two data components – the data and the data store.  These two data components of the DFDs need to balance with the ERDs.  The DFD data components need to correspond with the ERD’s data stores (i.e., entities) and the data elements that comprise the data flows (i.e., attributes) depicted on the data model. © Copyright 2011 John Wiley & Sons, Inc. 6-34
  • 35. (cont’d)  Many CASE tools provide features of identifying problems with balance between DFDs and ERDs; however, it is important to understand how to identify problems on your own.  Check your DFDs and ERDs to make sure all data components correspond between DFDs and ERDs.  A useful tools to clearly depict the interrelationship between process and data models is the CRUD matrix (create, read, update, delete matrix). © Copyright 2011 John Wiley & Sons, Inc. 6-35
  • 36. (cont’d) A Portion of a DFD and the CRUD Matrix © Copyright 2011 John Wiley & Sons, Inc. 6-36
  • 37. SUMMARY  Basic Entity Relationship Diagram Syntax - Entity describes people, places, or things. - Attribute is some type of information about the entity. - Relationship conveys the associations between entities.  Creating an ERD - Identify the entities. - Add the attributes to each entity. - Draw relationships among entities.  Validating an ERD - Normalization - CRUD matrix © Copyright 2011 John Wiley & Sons, Inc. 6-37
  • 38. Copyright 2011 John Wiley & Sons, Inc. All rights reserved. Reproduction or translation of this work beyond that permitted in Section 117 of the 1976 United States Copyright Act without the express written permission of the copyright owner is unlawful. Request for further information should be addressed to the Permissions Department, John Wiley & Sons, Inc. The purchaser may make back-up copies for his/her own use only and not for redistribution or resale. The Publisher assumes no responsibility for errors, omissions, or damages, caused by the use of these programs or from the use of the information contained herein. © Copyright 2011 John Wiley & Sons, Inc. 6-38
  çż»èŻ‘