Slide 1 Ent it y Relat ionship Diagrams Slide 2 Dat abase Development Process Dat abase Development Process
Business Information Requirements Operational Database Conceptual Data Modeling Logical Database Design Physical Database Build
Business view Systems view
Slide 3 Terminology Terminology
LOGICAL CONCEPTUAL
DESIGN ENTITY RELATIONSHIP ATTRIBUTE TABLE FOREIGN KEY COLUMN (Business view) (Systems view) ANALYSIS UNIQUE IDENTIFIER PRIMARY KEY UNIQUE KEY
Slide 4 I nf ormat ion Models I nf ormat ion Models
- Or ganize t hought processes
- Accurat ely model business dat a
- Communicat e wit h st akeholders
- Analyze t he scope
- Provide sound basis f or syst em design
- Or ganize t hought processes
- Accurat ely model business dat a
- Communicat e wit h st akeholders
- Analyze t he scope
- Provide sound basis f or syst em design
Slide 5 CS 450 ERD Convent ions
EMPLOYEE DEPARTMENT Works For M 1 empnum entity relationship attribute Participation Requirements (optionality) Cardinality (degree) key
Slide 6
held by the holder- f
- f
Recursive Relationship
Main Element s of an Oracle ERD Main Element s of an Oracle ERD
Exclusive Arc MEMBERSHIP CUSTOMER # * customer number * first name * last name
- other initials
- f
Unique Identifier Attributes Relationship Entity Super-type Sub-type
Slide 7
Hardware and Software Independence Hardware and Software Independence
Agreement Term Product Agreement Code Date Customer Code Description Agreement Quantity Product Number HIERARCHICAL DATABASE NETWORK DATABASE RELATIONAL DATABASE Agreement Product x Product y Item 1 Item 2 ENTITY RELATIONSHIP MODEL Agreement Item 1 Product X Item 2 Product XSlide 8 Relat ionship Def init ions Relat ionship Def init ions
- The way one ent it y relat es t o anot her
- The business rules t hat link t oget her
business inf or mat ion needs
- What one t hing has t o do wit h
anot her
- A named associat ion bet ween ent it ies
- The way one ent it y relat es t o anot her
- The business rules t hat link t oget her
business inf or mat ion needs
- What one t hing has t o do wit h
anot her
- A named associat ion bet ween ent it ies
Slide 9 Relat ionship Diagramming Convent ions Relat ionship Diagramming Convent ions
- A line bet ween t wo ent it ies
- Lower case r elat ionship name
- Opt ionalit y (Minimum car dinalit y)
- A line bet ween t wo ent it ies
- Lower case r elat ionship name
- Opt ionalit y (Minimum car dinalit y)
Optional - may be Mandatory - must be One or more One and only one
- Degree (Maximum cardinalit y)
- Degree (Maximum cardinalit y)
Slide 10 Relat ionship Diagramming Convent ions Relat ionship Diagramming Convent ions
COPY TITLE many (crow’s foot) mandatory
- ptional
- ne