GoalExplain what a database is and name the records and fields in one.
New words
database · an organised collection of related datarecord · all the data about one thing, such as one row of a table or one cardfield · one kind of fact kept for every record, such as a title or a colour
Explanation
Data is facts, such as words, numbers and pictures. A database is an organised collection of related data. “Organised” means the facts are kept in a clear order. “Related” means they are all about the same topic. Think of a library that keeps one card for each book. Each card is a record, and it holds the facts about one book. Every card has the same fields: the title, the writer and the shelf. A database can be kept on paper or on a computer. A pile of loose notes is not a database, because nobody has organised it.
Title
Writer
Shelf
Sea Stories
Hana Lopez
B4
Moon Trip
Tom Reid
A2
Kite Day
Ravi Das
C1
Worked examples
Name
Street
Phone
Ali
Palm Road
555 0142
Sara
Lake Lane
555 0177
A paper address book is a database. Each person has an entry, which is a record. The fields are the name, the street and the phone number.
Toy
Colour
In stock
kite
blue
5
ball
red
12
drum
yellow
7
A toy shop keeps its stock in a table. Each row is a record about one toy. The three headings are the fields. The owner sees at once that there are 7 drums in stock.
A bag of loose receipts holds data, but it is not a database. Nothing is in order and there are no fields. A card box with a card for each customer, in A to Z order, is a database.
Class activity
Fruit card database (with a friend): cut six small cards. On each card write three fields: Fruit, Colour and Taste (sweet or sour). Fill in the cards, for example apple, red, sweet. Shuffle the cards, then race to find every card where the taste is sweet. Sort the cards into piles by colour. Which words are your fields? What is each card called? How is your card box like a database?
Practice
1
Which of these is a database? A a class list with each pupil’s name and birthday, B a pile of loose bus tickets, C one drawing.
A. It is organised and the data is related.
2
How many records and how many fields does this table have?
Player
Position
Shirt
Leo
defender
4
Ana
goalkeeper
1
Kenji
striker
9
Mia
midfielder
8
4 records (the rows) and 3 fields (the headings).
3
Use the same table. Which player wears shirt number 1?
Ana.
4
Name two databases that a school might keep.
For example: the class register, the library list, the lunch orders or the list of pupils’ phone numbers.