Академический Документы
Профессиональный Документы
Культура Документы
BUSINESS SCHOOL
START
EM Read EM
ET Read ET
ET>EM Read EM
ADD SAL
• Hierarchical Databases
• Network Database
• Relational Databases
Performan Utilitie
Monitorin ce s
g • Indexes • Explain Plan
• Alerts • Threads
• OEM • DBMS Pkgs
• PQs
Data
Data
Management
Entry
• IMP, EXP
• Forms
Database • Backup
• SQL
• Recovery
• Reports
Securit Transactio
Integrit
y n
y
• Keys • Users • Locks
• Constraints • Privileges • Commit
• Views
Information Rule
Guaranteed Access Rule
Null Value support
Data Description
Sublanguage
View Updating
Insert update rule
Physical Data independence
Logical Data independence
Integrity independence
Distribution rule
Non-subversion
Planning
Data ER
and
Modeling Diagram
Analysis
• It maps well to the relational model. The constructs used in the ER model
can easily be transformed into relational tables.
• It is simple and easy to understand with a minimum of training. Therefore,
the model can be used by the database designer to communicate the
design to the end user.
• In addition, the model can be used by the database developer to physically
construct the data structures.
The ER model views the real world as a network of entities and association
between entities.
Entities
• EMPLOYEES
• DEPARTMENTS
• PROJECTS
• ORDERS
• INVOICES etc.
Relationships
Attributes
For example, each passenger in a flight is assigned only one seat. Here
both the passenger and seat number are unique in the relationship.
Is represented by
• solid line for mandatory relationship
• dotted line for optional relationship
• crow’s foot for m degree Relationship Notation
• single line for “1” degree
mandatory
optional
one
many
relationship1
E1 E2
relationship2
Harry runs a a video library for the members of his video club. It is
important for him to know about the titles on his shelves, of
course, but also how many copies he has, what sort of video
format they are, what their purchase price was, their condition,
what their run time is so forth.
of
LOAN VIDEO COPY
• From_date • Format
ο Exp_return subject of ο Condition
at
to of
used
in DAILY RATE
• Amount
ο St_date
party to
source of
CUSTOMER
• Memb_No VIDEO TITLE
ο Name • Name
ο Renew_Dt ο Run_Time
ο Distributor
• Identify and list in col. 2 all items which have more than single value while
the remains single valued. This is a repeating group. There can be more
than one.
• Copy the original key to join the new key in 1 NF relation. Mark it as a
Foreign key (@)
• The foreign key copied will be the primary key of another relation
• Check for nested repeating groups
• List remaining data items and original keys as a final group in 1 NF
• In each data group at 1 NF identify all data items that depend on only on a
part of the key.
• List these as a new relation. Copy the part key. The key also remains with
the original group.
• For each non-key items, list all those items which are dependent on another
item(s) and not the key.
• List these as a new relation. Copy the determinant items as the key. The
key also remains with the original group as a foreign key.
Doc. 1 Doc. 2
# Prod. No.
Prod. Desc.
Prod. Size
Reorder Level
Optimized
# Cust. No.
Cust. Name
Cust. Addr.
Cust. Contact
Last Payment
A/C Bal
Delinquency Indicator
Invoice
#@ Inv. No.
Inv. Date
@ Cust. No.
Customer
# Cust. No.
Order Cust. Name
# Ord. No. Cust. Addr.
Ord. Date Cust. Contact
@ Cust. No. Last Payment
A/C Bal
Delinquency Indicator