A relational database organises data into tables (like spreadsheets) made of rows (records) and columns (fields). SQL (Structured Query Language) is how you create, read, update and manage that data.
The Relational Model
Tables, rows, columns and keys — the foundation of SQL.
Tap or hover a part to learn more.
One kind of thing.
A relational database stores data in tables (relations). Each table holds one kind of entity — Customers, Orders, Products — like a well-defined spreadsheet.
Check your understanding
1. What makes a database 'relational'?
2. What kind of language is SQL?
Keep learning
The essentials
- A DBMS (Database Management System) — MySQL, PostgreSQL, SQL Server, Oracle — stores and manages the data.
- Each table holds one kind of thing (e.g. Customers, Orders); columns have data types (INT, VARCHAR, DATE).
- SQL is declarative — you describe what you want, and the engine works out how to get it.
- Tables relate to each other via keys — the "relational" in relational database.
This is the foundation for every query you'll write and connects to cloud databases.
