Skip to main content
Albero Academy

The Relational Model

Tables, rows, columns, keys — how relational data is organised.

Foundations9 min

A relational database organises data into tables (relations). Understanding this structure — rows, columns, keys, and the relationships between tables — is the foundation everything else builds on.

Tables, rows & columns

TermMeaning
TableA collection of related data (e.g. students)
RowA single record (one student)
ColumnA field/attribute (name, email) with a type
Primary keyA column uniquely identifying each row
Foreign keyA column referencing another table's primary key

Relationships

Instead of repeating data, relational databases link tables. A students table stores a programme_id that references a programmes table — store each fact once, reference it everywhere. That's the "relational" in relational database.

Key takeaways

  1. 01Data lives in tables of rows (records) and columns (typed fields).
  2. 02A primary key uniquely identifies each row.
  3. 03A foreign key references another table's primary key, linking tables.
  4. 04Store each fact once and link with keys — the essence of the relational model.

Finished this chapter?

Mark it complete to track your progress through SQL.