You are on page 1of 2

Types of databases and key fields!

Key Fields
1. What is a key field in a database?
It is a piece of data in a database that is unique to a particular record. And
identifies each identity equally.
2. Why are key fields needed? What rules do key fields follow?
The rules are that it has to be unique and have a different field for each
person; they are needed so that we are guaranteed to find them.
Terms:
1. What is a FIELD?
A single item of data, an example
would be a surname.
2. What is a RECORD?
All data that relates to a single thing
or person is called a record.
3. What is a FILE?
A collection of related records is
called a file.
Please use my website for the above and you MUST put an example database
table in your work to illustrate these key terms. Label each part.
Types of database
1. What is a flat file database?
Only suitable for simple databases and they are limited all stored in one
database.
2. What advantages are there to using a flat file database?
All the records are stored in one place.
3. What disadvantages do flat file databases have?
They can often duplicate the databases.
4. How many tables are in a flat file databases?
They can have one or more tables.
You MUST use the key word data redundancy and key field in the following
questions.
5. What is a Relational database?
It has lots of data that can be linked by key fields and it has 2 or more
tables.
6. What is the advantage of a relational database?
No data redundancy, complex queries.
7. How many tables are there in a relational database?
Two or more tables.
8. What might be the disadvantages of a relational database?

Complex to set up and hard to maintain.


Draw out an example of a relational database structure in your work, label
each part.

When the primary key goes into another table it


becomes the foreign key, so then it forms a joint
table.
This is an example of a primary key going into a foreign
key to form a joint table.

You might also like