Professional Documents
Culture Documents
DATABASES
A database is a single organised collection of
structured and related data .
Software
UNNORMALISED FORM
Remove
repeating
groups
FIRST NORMAL FORM
1NF
Remove partial
dependencies
SECOND NORMAL FORM
2NF
1NF - First normal form
A table is in 1NF if and only if all columns contain only
atomic values; that is, there are no repeating groups
(columns) within a row.
That is, a relation in which the intersection of each tuple
and attribute (row and column) contains one and only one
value.
- All entries in a field must be of same kind and each field
must have a unique name, but the order of the field
(column) is irrelevant.
Cont…
Each record must be unique and the order of the rows
is irrelevant
TO BE CONTINUED…..
DATABASE RELATIONSHIPS
Attributes
This is a property or characteristic of an entity.
Attributes are properties of entities.
In other words, entities are described in a database by a set
of attributes.
The following are example of attributes:
– Brand, cost, and weight are the attributes of
CELLPHONE.
– Student number, name, and grade are the attributes
of STUDENT
Entity
An entity is something of interest to an organisation
about which data is to be held. It could be a person,
place, object, event or concept about which data is to
be maintained.
An entity is an object that exists and is distinguishable
from other objects.
In other words, the entity can be uniquely identified.
.
The examples of entities are: