Homepage
Accessibility links
- Skip to content
- Accessibility Help
BBC Account
Notifications
- Home
- News
- Sport
- Weather
- iPlayer
- Sounds
- Bitesize
- CBeebies
- CBBC
- Food
- Home
- News
- Sport
- Reel
- Worklife
- Travel
- Future
- Culture
- TV
- Weather
- Sounds
More menu
Search Bitesize Search Bitesize
- Home
- News
- Sport
- Weather
- iPlayer
- Sounds
- Bitesize
- CBeebies
- CBBC
- Food
- Home
- News
- Sport
- Reel
- Worklife
- Travel
- Future
- Culture
- TV
- Weather
- Sounds
BITESIZE
- Home
- Learn
- Support
- Careers
- My Bitesize
GCSE
Introducing databases
Databases are used to organise data in a clear and consistent way. Most website and online applications use databases. With so much data now being shared online, data security is an important issue.
Part of
Computer Science
Databases
quiz
Testprevious
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- Page5of 8
next
Database structure
A database is organised using a set of key components. These include:
- entities - each recorded item
- attributes - details about the entity
- field - columns used to capture attributes
- record - one row of details about an entity
- table - a set of fields and records
- primary key - unique number for an entity
This is an example table of a flat-file database. The entities are films and the attributes are details about the films:
Table
The table contains all of the fields and the records for one type of entity. A database may contain more than one table.
Records
Records contain a collection of data for each entity, usually recorded as a row in the table.
Fields
The column headings are called the fields. Each field contains a different attribute. For every entity, a unit of data will be entered into each field. Each column might require different data types. For example, the 'Title' column will require data entered as text and the 'Certificate' column will need data entered as numbers.
Unit of data
Each individual piece of data entered is a unit of data. These units are also called data elements.
The primary key contains a unique identifier for each record. To make each record in a database unique we normally assign them a primary key. Even if a record is deleted from a database, the primary key will not be used again. The primary key can be automatically generated and will normally just be a unique number or mix of numbers and letters.
previous
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- Page5of 8
next
GCSE Subjects
- Art and Design
- Biology (Single Science)
- Business
- Chemistry (Single Science)
- Combined Science
- Computer Science
- Design and Technology
- Digital Technology (CCEA)
- Drama
- English Language
- English Literature
- French
- Geography
- German
- History
- Home Economics: Food and Nutrition (CCEA)
- Hospitality (CCEA)
- ICT
- Irish – Learners (CCEA)
- Journalism (CCEA)
- Learning for Life and Work (CCEA)
- Mandarin
- Maths
- Maths Numeracy (WJEC)
- Media Studies
- Modern Foreign Languages
- Moving Image Arts (CCEA)
- Music
- Physical Education
- Physics (Single Science)
- PSHE and Citizenship
- Religious Studies
- Science
- Sociology
- Spanish
- Welsh Second Language (WJEC)