Professional Documents
Culture Documents
Erdiag
Erdiag
Database Development
Process
Business Information Requirements
Physical
Database Build
Operational Database
Terminology
CONCEPTUAL LOGICAL
(Business view) (Systems view)
ANALYSIS DESIGN
ENTITY TABLE
ATTRIBUTE COLUMN
entity relationship
Participation Requirements
(optionality)
Main Elements of an Oracle ERD
Relationship
CUSTOMER Unique
held # * customer number Identifier
Entity MEMBERSHIP by * first name
* last name Attributes
the holder
o other initials
of
COMPANY
held Super-type
by SUPPLIER
Sub-type
the holder
of
OTHER
composed COMPANY
of
part of Recursive
Relationship
Exclusive Arc
Hardware and Software Independence
ENTITY RELATIONSHIP MODEL
Agreement Product
Term
NETWORK
HIERARCHICAL Agreement
DATABASE
DATABASE
COPY TITLE
many
(crow’s foot) optional
mandatory one
Relationship Syntax
assigned to
EMPLOYEE DEPARTMENT
How do you read this?
assigned to
EMPLOYEE DEPARTMENT
EMPLOYEE DEPARTMENT
responsible for
How do you read this?
EMPLOYEE DEPARTMENT
responsible for
assigned to
EMPLOYEE DEPARTMENT
responsible for
enrolled in
STUDENT COURSE
taken by
How do you read this?
enrolled in
STUDENT COURSE
taken by
Child Parent
Entity Entity (1)
• Singular
first name
last name
payroll num
date of birth
employment status • Lowercase
Meaningful Components
PERSON PERSON
last name
name first name
ITEM ITEM
type
code vendor
num
Verify for Single Value
RENTAL
transaction date
total amount paid
Can an attribute have more
item than one value for one
instance of the entity?
REVIEW TITLE
product code
author title
comment description
date recorded review details
Finding Common or Derived
Data
• Count
• Total
• Maximum, Minimum, Average
• Calculation
• Tagged with o
Attribute Optionality
EMPLOYEE
badge num
* first name
* last name
*o title
o weight
Attribute Details and
Volumes
AUDIO
Stereo
MON
Audio STE
SUR
Game
Surround
Sound
Creating an Entity
For DB Planning
Adding Details
Domains
Creating Relationships
Diagrammer Behavior
• Definition changes are stored in
Repository even if the diagram is
not saved.
• Saving a diagram saves the layout.
• Diagrams are not synchronized
automatically.
• Requerying is your responsibility.
• Diagrams can be exported to, for
example, Word documents.
Editing in the RON