Please enable JavaScript.
Coggle requires JavaScript to display documents.
Database - Coggle Diagram
Database
-
MAPPING
steps
- mapping strong entity types - mapping weak entities - mapping binary 1 - 1 - mapping unary 1 - m - mapping m - m - mapping nary relation - unary
mapping strong entity : create table for each entity, choose the primary key for each entity
Multivalued attribute becomes a separate relation with foreign key : بناخد المالتيفاليو لتيبل تانية ومعاها البرايمري كي كفورين كي والاتنين مع بعض كومبوزيت كي
التيبل التاني بيكون فيه الفورين كي متكرر والسكيل ورا بعض
-
-
mapping weak entity: 1- partial key + primary key of a strong entity as a foreign key (primary key here is partial key + foreign key)
البارشال بيكون ايدينتيفير للتيبل بس مش كفاية انه يبقى برايمري لوحده فبناخد معاه البرايمري بتاع السترونج
-
one to one total + partial : تو تيبلز الناحية الاوبشنال بيكون فيها برايمري كي والناحية التوتال برايمري كي وفورين كي من الاوبشنال
employee may have a computer.. a computer must be owned by employee توتال يعني لازم يكون مملوك لحد يعني هو اللي معاه الفورين كي
-
-
-
many to many : مش ببص على البارتيسيبيشن وبناخد لبرايمري كيز بتو التو تيبلز والاتنين بيبقوا composite key
-
-
-
Relational database: A data structure through which data is stored in tables that are related
to one another in some way
The way the tables are related is described through a relationship