What is Relationship in RDBMS? Explain the different types of relationship with ER diagram
Answers
Answered by
3
There are three types of relationships that can exist between two entities.
- One-to-One Relationship.
- One-to-Many or Many-to-One Relationship.
- Many-to-Many Relationship.
Answered by
50
An ER diagram shows the relationship among entity sets. An entity set is a group of similar entities and these entities can have attributes. In terms of DBMS, an entity is a table or attribute of a table in database, so by showing relationship among tables and their attributes, ER diagram shows the complete logical structure of a database. Lets have a look at a simple ER diagram to understand this concept.
Attachments:
Similar questions