Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Data modeling
1. DATA MODELING
Data modeling is a method to document and classify data
requirements and to design database system to fulfill those
requirements.
Figure 1.3 CONTEXT DATA MODEL
A context data model is shown below to describe the
relationship of each entity to other entities.
PLAYER
GENERATED
RESULT
ACTIVITY LOGS
PCSO RESULT
2. Figure 1.4 Key-Based Data model
Key-based data model eliminates the non-specific
relationships And includes primary keys and foreign keys. Each
entity is identified through assigning primary key for the
purpose of a unique identification of every record for fast
and easy organization of the relationships.
ACTIVITY LOGS
LOG_ID PK
PLAYER_ID FK
PCSO RESULT
PCSO_ID
PLAYER
PLAYER_ID PK
GENERATED RESULTS
GENERATED_ID PK
PLAYER_ID FK
3. Figure 1.5 Fully Attributed Diagram
The fully attributed data model represents and identifies the
attribute of each entity. The specific attributes suitable to every
entity is carefully assign. It is a combination of key based and
context data model.
PLAYER
PLAYER_ID PK
F_NAME
L_NAME
M_NAME
PHONE_NUMBER
EMAIL_ADDRESS
HOME_ADDRESS
USER_NAME
PASSWORD
ACTIVITY LOGS
LOG_ID PK
PLAYER_ID FK
Activity
LOGINDATETIME
LOGOUTDATETIME
GENERATED RESULT
GEN_ID PK
PLAYER_ID FK
CATEGORY
GENERATED_RESULT
GENERATED_DATE
PCSO RESULT
PCSO_ID PK
CATEGORY
RESULT
DRAW_DATE