Professional Documents
Culture Documents
Data Modeling Using The Entity-Relationship (
Data Modeling Using The Entity-Relationship (
Data Modeling Using The Entity-Relationship (
. هو نموذج يستخدم لتمثيل الكيانات التي نحتفظ عنها ببيانات في قاعده البيانات والعالقات الموجودة بين هذه الكيانات: ER ال
Entities and Attributes :
Entities are specific persons, places,events,objects in the user environment about which the user needs to keep
data.
o for examples: The Employee , office ,Task.
هو أي شخص أو اي مكان أو اي حدث أو اي شئ يهتم المستخدم بحفظ بياناته في قاعدة البيانات: Entities o
For Example Employee entity may have the attributes >>> Name , SSN , SEX , BirthDate
Relationships
A Relationships relates two or more distinct entities with a specific meaning.
For Example Employee entity may have the attributes >>> Name , SSN , SEX , BirthDate
Each entity has a single atomic value for the attribute. For example, SSN or Sex.
مثال لرقم القومي................. له قيمة مجردة بدون تفاصيل مثل النوع ذكر أو انثيattribute هي
Composite
او رقم التلفون يتكون من كود الدولة ورقم التليفون.......... اخري ويمكن استخراج عدة تفاصيل من قيمتة مثل العنوان <<< رقم البيت واسم الشارع والمدينة و الدولةattribute يتكون منattribute هي
For example:
Composition may form a hierarchy where some components are themselves composite.
Multi-valued