


ER Modelling is a systematic process to design a database as it would require you to analyze all data requirements before implementing your database. The course entity has attributes such as Cou_ID & Cou_Name.Īn Entity-Relationship Model represents the structure of the database with the help of a diagram. Student entity possesses attributes - Stu_Id, Stu_Name & Stu_Age. The relationship described between student and course is many-to-many, as a course can be opted by several students, and a student can opt for more than one course. The following diagram showcases two entities - Student and Course, and their relationship. ER diagram is created based on three principal components: entities, attributes, and relationships. It acts as a framework created with specialized symbols for the purpose of defining the relationship between the database entities. Fundamentally, the ER Diagram is a structural design of the database. What is an ER Diagram?Īn Entity Relationship Diagram (ER Diagram) pictorially explains the relationship between entities to be stored in a database.

Later, it's forwarded to the database administrators to design the database. Today’s business world previews all the requirements demanded by the users in the form of an ER Diagram. An ER Diagram in DBMS plays a crucial role in designing the database. An Entity Relationship Diagram is a diagram that represents relationships among entities in a database.
