Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Flat

A
table

Flat Files
and
Relationa
l
Database
s

File Database

flat file database contains only one


of data. These include Records
which is the information about the
product or person; this is
represented by a row in the table.
There is also Fields which is the headings of the columns such
as Surname etc. There is limited use to these tables as it is
simple data storage and data often gets repeated. But a Flat
File database does include Primary Key Fields so identify the
person or object.
An advantage of a Flat File database is that it is simple to use
and make and stores lists of information such as names,
addresses, mobile numbers etc.
A disadvantage is that is produces Data Redundancy which is
when data gets repeated and time is wasted typing out the
same information over again which makes the database larger.
Also when a record is deleted, a lot of data that is still useful
might be deleted.
Relational Database
A relational database is when data is not stored in one table like
a Flat File but in multiple tables to show different information
with links between them so the data can be related or
combined together.
An advantage of this is Date redundancy is reduced completely
so it saves time from typing out the same information over and
over again.
A disadvantage is that it is very complicated to produce and
make the table to start this.

Custom
er ID
1

Forena
me
Dave

Bob

Arthur

Product
Name
Cost
..
ID
Surnam
.. Badger
P1
50c

e
Sniffer

P2
Turnip Example
50 of a Relational

Sonar Database:

P3
Flaming
1

Sales IDCowCustomer
Product
million

ID
ID
S1
2
P2
S2

P1

S3

P3

You might also like