Unknown ER Data Model in DBMS in Hindi | Entities and Attributes in DBMS in Hindi | My Project HD | My Project HD
X

ER Data Model in DBMS in Hindi | Entities and Attributes in DBMS in Hindi

Computer Science Engineering Tutorials in Hindi | Relational Database Management System Tutorial for Beginners in Hindi

ER Data Model in DBMS in Hindi | Entities and Attributes in DBMS in Hindi

Computer Science Engineering Tutorials in Hindi | Relational Database Management System Tutorial for Beginners in Hindi



ER Data Model in DBMS in Hindi | Entities and Attributes in DBMS in Hindi

  • ER Model एक Entity-Relationship model के लिए है। यह एक high-level data model है। इस model का उपयोग किसी specified system के लिए data elements और relationship  को define करने के लिए किया जाता है।
  • यह Database के लिए एक conceptual design develop करता है। यह Data का view देखने के लिए एक बहुत ही सरल और आसान design develop करता है
  • ER modeling में, database structure को एक entity-relationship diagram नामक एक diagram के रूप में चित्रित किया जाता है।

Component of ER DiagramComponent of ER Diagram
 

ER Data Model in Dbms in hindi

 

1. Entity:
एक entity कोई भी object, class, person or place हो सकता है। ER diagram में, एक entity को rectangles के रूप में दर्शाया जा सकता है।

एक organization के example के रूप में विचार करें-manager, product, employee, department etc को एक entity के रूप में लिया जा सकता है।

 

ER Data Model in Dbms in hindi

 

a. Weak Entity
एक entity जो एक अन्य entity पर निर्भर करती है जिसे Weak entity कहा जाता है। Weak entity का अपना कोई प्रमुख गुण नहीं है। weak entity को एक double rectangle द्वारा दर्शाया गया है।
 

 

ER Data Model in Dbms in hindi

 

2. Attribute
किसी Entity की property को   describe  करने के लिए attribute का उपयोग किया जाता है। एक attribute को represent करने के लिए Eclipse का उपयोग किया जाता है।
For example, id, age, contact number, name, etc. एक छात्र के Attribute हो सकते हैं.
 

ER Data Model in Dbms in hindi

 

a. Key Attribute
किसी entity की main characteristics का represent करने के लिए key attribute का उपयोग किया जाता है। यह एक primary key का प्रतिनिधित्व करता है।key attribute को underlined text के साथ एक ellipse द्वारा दर्शाया गया है।
 

ER Data Model in Dbms in hindi

 

b. Composite Attribute
एक Attribute जो कई other attributes से बना है, एक Composite Attribute के रूप में जानी जाती है। composite attribute को एक ellipse द्वारा दर्शाया जाता है, और उन ellipse को ellipse के साथ जोड़ा जाता है।
 

ER Data Model in Dbms in hindi

 

c. Multivalued Attribute
एक Attribute में एक से अधिक value हो सकते हैं। इन attribute को multivalued attribute के रूप में जाना जाता है। double oval का उपयोग multivalued attribute का represent करने के लिए किया जाता है।

For example,एक Student के पास एक से अधिक phne number हो सकते हैं।

 

ER Data Model in Dbms in hindi

 

d. Derived Attribute
एक Attribute जिसे other attribute से प्राप्त किया जा सकता है, एक derived attribute के रूप में जाना जाता है। इसे dashed ellipse द्वारा दर्शाया जा सकता है।

 

ER Data Model in Dbms in hindi

 


3. Relationship
entities के बीच relation का describe करने के लिए एक relationship  का उपयोग किया जाता है। relationship को  represent करने के लिए Diamond या rhombus का उपयोग किया जाता है।
img 9

Relationship के प्रकार इस प्रकार हैं:
a. One-to-One Relationship
जब एक entity का केवल एक instance relationship के साथ associat होता है, तो इसे One-to-One Relationship के रूप में जाना जाता है।


b. One-to-many relationship
जब left ओर entity का केवल एक instance होता है, और relationship के साथ right ओर एक entity का One-to-many instance होता है, तो यह One-to-many relationship के रूप में जाना जाता है।

c. Many-to-one relationship
जब left ओर की entity का एक से अधिक instance, और relationship के साथ right associates पर एक entity का केवल एक instance है, तो इसे many-to-one relationship के रूप में जाना जाता है।

d. Many-to-many relationship
जब left ओर entity का एक से अधिक instance, और relationship के साथ right associates पर एक entity का एक से अधिक instance तब इसे Many-to-many relationship के रूप में जाना जाता है।
 



More Tutorials

Web Technology Tutorials in Hindi

Web Technology Tutorials in Hindi

Read More
Diploma engineering tutorial for polytechnic collage

Diploma Engineering Tutorial

Read More
Final Year Projects for Computer Science with Source Code

Final Year Projects for Computer Science with Source Code

Read More