1.3.2 Flashcards
Database
A persistent , organised store of related data
Flat file Database
A single table that can be set up in a spreadsheet
Only suitable for very simple data handling requirements
Relational Database
Data is stored in seperate tables each of which represent a single entity. Tables are linked via common attributes to form relationships
Primary Key
The unique identifier
Secondary Key
Used to enable a database to be searched quickly
Foreign Key
The attribute which links two tables together
Entity Relationship Modelling
One-to-one :
Husband —— Wife
One-to-many :
Doctor —-<Patients
Many-to-Many :
Customers >—-Products
Normalisation
The process of coming up with the best possible design for a relational database
First Normal Form
-No attribute can contain more than one single value
Second Normal Form
-Is in 1NF
-No partial dependencies
Third Normal Form
-Is in 2NF
-Contains no non-key dependencies
Indexing
Method used to store the position of each record when ordered by a certain attribute
Used to look up and access data quickly
Capturing Data
Before data is added to a database , it must be captured or input
Selecting and Managing Data
Selecting only relevant data
Data can be managed using SQL
Exchanging Data
The process of transferring the data that has been collected