What is the relational model, and how do relations, tuples, attributes, and domains map to tables, rows, columns, and data types?
Last updated
The relational model (Codd, 1970) represents data as relations (sets of tuples) governed by set theory and predicate logic. Its formal terms map directly onto the table vocabulary practitioners use every day.
Relation → table: An unordered set of tuples sharing the same attributes.
Tuple → row: A single record; being a set, there are no duplicate tuples and no inherent order.
Attribute → column: A named property with a defined type.
Domain → data type: The set of permissible values an attribute may take (e.g. integers, dates).
Caveat: SQL is a loose implementation: SQL tables allow duplicate rows and use
NULL, so they are technically "bags," not pure mathematical relations.
- https://www.freecodecamp.org/news/how-to-design-structured-database-systems-using-sql-full-book/
- https://www.databricks.com/blog/what-is-a-relational-data-model
- https://medium.com/@ayoadeakin234/database-management-week-3-25ac7dada161
- https://itpecpractice.com/fe/2026-april/subject-a/question-19
- https://www.startertutorials.com/blog/relational-model-in-dbms-concepts-and-example.html