Flatfile database
Relational database
Entity
an item of interest about which information is stored
Primary key
Foreign key
Secondary key
Entity- relationships modelling
One - to - one
Each entity can only be linked to one other entity
One- to- many
One table can be associated with many other tables
Many-to-many
Many tables can be associated with many other tables
Normalisation
First normal form 1NF
(To get to 1NF a tables must follow 5 rules)
No duplicate records in 1NF
this is because duplicate records take up unnecessary space and can cause inconsistencies if updates are not performed on all of them
Second normal form (2NF)
Partial dependency
Fixing a many to-many relationship
Third normal form (3NF)
Non key dependencies
When the value of a field depends on the value of another field which is not the primary key
Indexing
Indexing advantages
Indexing disadvantages
Handling data
Consists of 4 parts :
- capturing data
- selecting data
- managing data
- exchanging data
Data capturing methods
Paper based forms