1. Database Fundamentals: Fields, Records, Tables
A database stores organised data in one or more tables. Think of a table like a grid. Each column in the grid is called a 'field', which stores a single piece of information, like 'FirstName' or 'EmailAddress'. Each row in the grid is called a 'record', which is a complete set of information for one person or item, containing all the field data for that single entry. The entire grid of fields and records is called a 'table'.
Key term
Examiner insight
Common pitfall
Fun fact
Worked example 12 marks
The table below stores details of library members.
| MemberID | FirstName | Surname | Postcode |
|---|---|---|---|
| 101 | Sarah | Khan | SW1A 0AA |
| 102 | Ben | Jones | W1A 1AA |
i) Identify and copy out one field name. [1] ii) Identify and copy out one complete record. [1]
- 1
i) A field is a single column heading that describes the data. Any of the following are correct: MemberID, FirstName, Surname, Postcode.
- 2
ii) A record is a complete row of data for one member. Either of the following is correct: 101, Sarah, Khan, SW1A 0AA OR 102, Ben, Jones, W1A 1AA.
Recap
- A database is an organised collection of data.
- Data is stored in tables, which are made up of columns and rows.
- A column in a table is called a field and represents one type of information.
- A row in a table is called a record and represents all the information about one item.
- A table is a collection of records about a specific entity, like 'Students' or 'Products'.
Quick check
- What is the term for a single column in a database table?1 mark
- What is the term for a single row in a database table?1 mark