Entity-Relationship (ER) Model

πŸ“˜ DBMS πŸ‘ 76 views πŸ“… Nov 14, 2025
⏱ Estimated reading time: 1 min

The Entity–Relationship (ER) Model, proposed by Peter Chen, is a conceptual data model used to design and visualize a database. It represents real-world entities and the relationships between them.


Key Components of ER Model

1️⃣ Entity

An object that exists in the real world and has distinguishable characteristics.
Examples: Student, Employee, Product.

Entity Types

  • Strong Entity β€” has its own primary key

  • Weak Entity β€” depends on another entity


2️⃣ Attributes

Properties of an entity.

Types:

  • Simple (Name)

  • Composite (Full Address)

  • Derived (Age from DOB)

  • Multivalued (Phone numbers)

  • Key Attribute (RollNo)


3️⃣ Relationships

Associations between entities.

Types of Relationships

  • One-to-One (1:1)

  • One-to-Many (1:M)

  • Many-to-Many (M:N)

Example:
Student β€” Enrolls β€” Course


4️⃣ ER Diagram Symbols

ConceptSymbol
EntityRectangle
Weak EntityDouble rectangle
AttributeOval
Key AttributeUnderlined oval
RelationshipDiamond
Multivalued AttributeDouble oval

Example

Student β€” Enrolls β€” Course

  • Student (SID, Name, Age)

  • Course (CID, Title)

  • Relationship: Enrolls (Date)


Conclusion

The ER Model provides a clear and structured method for designing a database at the conceptual level. It helps convert real-world problems into a database blueprint, which is later transformed into relational tables.


πŸ”’ Some advanced sections are available for Registered Members
Register Now

Share this Post


← Back to Tutorials

Popular Competitive Exam Quizzes