Professional Documents
Culture Documents
A Flat file is a database which is of limited use and is only suitable for
very simple databases. In flat files, its data redundant which means the
same data is stored more than once in the table.
Advantages:
All records are stored in one place
Easy to understand
Can be sorted easily
Disadvantages:
Harder to update
Harder to change data format
Non unique records
Data redundancy
A relational database when data is not stored in the same table. Instead,
the data is stored in several tables with links between the tables to enable
the data in the separate tables to be combined together if needed using
key fields.
Advantages:
Disadvantages:
Example
Custom
er ID
1
Forena
me
Dave
Bob
Arthur
Surna
me
Product Pname
ID
P1
Badger
Cost
P2
Turnip
50
P3
cow
50p
Custom
er ID
2
Produ
ct ID
P2
S2
P1
S3
P3