Data Modeling Relational Model
Data Modeling Relational Model
2. Logical Model – A more detailed design that defines the structure of the data using
tables, attributes, and relationships.
Relation (Table) – Data is stored in tables where each table represents an entity or a
concept.
1/2
2. Keys in the Relational Model
Foreign Key – A reference to the primary key of another table, used to establish
relationships.
3. Integrity Constraints
Referential Integrity – The foreign key must match an existing primary key in another
table.
Union (∪) – Combines rows from two relations with the same attributes.
Difference (-) – Returns rows that exist in one relation but not in the other.
Would you like an example or a diagram to better understand the relational model? 🚀
2/2