SS2 DP Note - 1ST
SS2 DP Note - 1ST
Data Model
A data model is a conceptual representation of the data
structures that are required by a database. The data
structures include the data objects, the associations
between data objects, and the rules which govern
operations on the objects. As the name implies, the data
model focuses on what data is required and how it
should be organized rather than what operations will be
performed on the data.
Data Structure
A data model describes the structure of data within a
given domain and by implication, the underlying
structure of that domain itself.
Data Organization
This describes how to organize data using a database
management technology.
Pacement improvement
Sillicone Sealant
Asphalt Sealant
ASSIGNMENT
1. With the aid of a diagram, differentiate between
the Relational Data Model and Object – Relational
Data Model
2. Write a comprehensive note on the hierarchical
data model stating its advantages over other data
models.
Topic: Data Modeling
Sub-topic: Creating tables, forms queries and reports.
Assignment
1. Write out 30 data fields and their corresponding
data types
2. Explain query and list the steps to create report
using Report Wizard and queries using query wizard.
TOPIC: DATA MODELING
SUB-TOPIC: SIGNIFICANCE OF DATA MODEL
Normalization
Normalization is the process of efficiently organizing data
in a database. The primary purpose of normalization is to
allow updates, insert and delete operations to be
performed on a single database table and propagated
through the database by means of the defined
relationships.
Goals of Normalization
There are two major goals of normalization process,
there are:
1. Eliminating redundant data (for example, storing the
same data in more than one tables
2. Ensuring data dependencies make sense (only
storing related data in a table).
Normal Forms
The normal forms (NF) of relational database theory
provide criteria for determining a table’s degree of
vulnerability to logical inconsistencies and anomalies.
The higher the normal form applicable to a table, the less
vulnerable it is, each table has a highest normal form
(HNF); also by definition, a table fails to meet the
requirements of any normal form higher than its HNF.
Student Name
Address
Student ID
Course ID
Course Name
Course Instructor
Phone
Zip
E-mail City
Zip table
Pk Cust Num
First Name
Last name
Address
Zip
Phone
Pk order Number
Customer Num
Unit Price
Quantity
Total
Topic: Determinates of Normal Forms
Determination of Normal forms
Normalization is a technique for producing a set of
suitable relations that support the data requirements of
an enterprise. Characteristics of a suitable set of relations
include:
1. The minimal number of attributes necessary to
support the data requirements of the enterprise.
2. Attributes with a close logical relationship are found
in the same relation
3. Minimal redundancy with each attribute
represented only once with the important exception
of attributes that form all or foreign keys
Student table
Student ID Foreign Key
Student name
Address
Student ID
Course ID
Course Name
Course Instructor
TOPIC: ENTITY – RELATIONSHIP ENTITIES
SUB – TOPIC: ENTITY – RELATIONSHIP MODEL
File Organization
A file is a collection of data usually stored on a disk. File
organization is a way of organizing the data or records in
a file. It does not refer to how files are organized in
folders but how the content of a file are added and
accessed.