Mind map
TRANSFORMING THE CONCEPTUAL DATA MODEL TO SQL

Map content
TRANSFORMING THE CONCEPTUAL DATA MODEL TO SQL
There is a natural evolution from the entity–relationship (ER) data models to a relational schema
Rules and SQL Constructs
- the three types of tables that are produced
- SQL table with the same information content as the original entity from which it is derived.
- SQL table with the embedded foreign key of the parent entity.
- SQL table derived from a relationship, containing the foreign keys of all the entities in the relationship.
- Binary Relationhsips
- Both entities mandatories
- each entity becomes a table, and the key of either entity can appear in the other entity’s table as a foreign key
- Both entities mandatories
- Binary Recursive Relationships
- A single entity with a one-to-one relationship implies some form of entity occurrence pairing
- This pairing may be completely optional, completely mandatory, or neither.
- In all of these cases, the pairing entity key appears as a foreign key in the resulting table.
- the three types of tables that are produced
Images and files in the map
Information
- Description
- Mind Map on TRANSFORMING THE CONCEPTUAL DATA MODEL TO SQL, created by Carlos Restrepo on 11/03/2020.
- Created by
- Carlos Restrepo
- Views
- 0
- Rating





