DEV Community

Mujahida Joynab
Mujahida Joynab

Posted on

Entity Relationship Diagram(ER Diagram)

ER Diagram:
Shows the relationship among the entity sets .
And also helps to visualize the logical structure of database .

To solve a problem in a contest -

  1. Algorithm -> Flowchart(To visualize) ->Implement

In database ->

  1. Visualizing thinking in diagram like primary key ralationship with foreign key should be changed this diagram is called ER diagram . After this if we go to implementation our changes will become less .

Let's design a database
Table1- Student
Table2 - Section

  1. S-id
  2. Name
  3. Section id Section-
  4. Section_id
  5. Section_name

Is there any relationship between this two entity
If we want to express it with ER diagram -

Student -Relationship-Section
SE

Top comments (0)