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)

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay