2022-08-05 09:00:04 +01:00
|
|
|
---
|
2022-08-16 11:58:34 +01:00
|
|
|
categories:
|
2022-08-05 09:00:04 +01:00
|
|
|
- Databases
|
2023-02-10 18:22:04 +00:00
|
|
|
tags: [relational-databases]
|
2022-08-05 09:00:04 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
# Relational database architecture
|
2022-08-16 11:58:34 +01:00
|
|
|
|
2022-08-05 09:00:04 +01:00
|
|
|
Tables, fields and records are the basic building blocks of databases
|
|
|
|
|
2024-02-16 16:14:01 +00:00
|
|
|

|
2022-08-05 09:00:04 +01:00
|
|
|
|
|
|
|
## Table
|
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
A group of similar data with rows for **records** and columns for each
|
|
|
|
**field**.
|
2022-08-05 09:00:04 +01:00
|
|
|
|
|
|
|
## Record
|
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
A horizontal row: a collection of items which may be of different data types all
|
|
|
|
relating to the individual or object that the record describes. A single _entry_
|
|
|
|
in the table. Sometimes called **row** interchangeably.
|
2022-08-05 09:00:04 +01:00
|
|
|
|
2022-12-08 20:18:56 +00:00
|
|
|
## Field
|
2022-08-05 09:00:04 +01:00
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
A vertical column: stores a single particular unit of data for each record. Each
|
|
|
|
field must use the same data type. Sometimes called **field** interchangeably.
|
2022-08-05 09:00:04 +01:00
|
|
|
|
2024-02-02 15:58:13 +00:00
|
|
|
Each individual field has **properties:** such as the data type, length or the
|
|
|
|
total memory allocation.
|