Professional Documents
Culture Documents
الفرقة الرابعة نظم (2) شعبة اللغة كل المجموعات المحاضرة (7) جزء د - احمد مختار
الفرقة الرابعة نظم (2) شعبة اللغة كل المجموعات المحاضرة (7) جزء د - احمد مختار
Lecture (7)
Fourth Year
All Groups
Second Semester 2020-2021
Chapter (19)
Database Design Using the REA Data Model
Part Dr. Ahmed Mokhtar
DEVELOPING AN REA DIAGRAM
• Developing an REA diagram for a specific
transaction cycle consists of three steps:
– STEP ONE: Identify the events about which
management wants to collect information.
– STEP TWO: Identify the resources affected by the
events and the agents who participated.
– STEP THREE: Determine the cardinalities between
the relationships.
• Let’s walk through an example.
STEP ONE: IDENTIFY RELEVANT EVENTS
• In completing the first step of an REA diagram, the event entities are
typically drawn from top to bottom in the sequence in which they
normally occur.
Take Order
Sale
Receive
Cash
STEP TWO: IDENTIFY RESOURCES AND AGENTS
Inventory
Customer
Sale
Employee
Receive
Cash Customer
Cash
STEP TWO: IDENTIFY RESOURCES AND AGENTS
Sale Customer
Sale Customer
Sale Customer
Sale Customer
Sale Customer