Download the BYJU'S Exam Prep App for free GATE/ESE preparation videos & tests - Download the BYJU'S Exam Prep App for free GATE/ESE preparation videos & tests -

Many-to-One Relationship in DBMS

In a database management system, a Many-to-One relationship is defined as a relationship between several instances of one entity and one instance of another entity. For example, it is possible for more than one student to work on a project. A group of five college students is given a project that they must accomplish in a month’s time. It shows a Many-to-One relationship.

In this article, we will dive deeper into Many-to-One Relationship in DBMS according to the GATE Syllabus for (Computer Science Engineering) CSE. Keep reading ahead to learn more.

What is a Many-to-One Relationship in DBMS?

When one or more entries in one table may be linked to each record in the other table, this is known as a Many-to-One relationship. This is also one of the most common types of relationship found along with one-to-many relationships. Depending on how we look at it, a Many-to-One relationship can also be described as a one-to-many relationship.

Example

It is possible for more than one student to work on a project. A group of five college students is given a project that they must accomplish in a month’s time. It describes the connection between the two entities, Student and Project. As a result, the relationship is Many-to-One. However, if we look at it from the other perspective, where a project is linked to multiple students, we can call it a one-to-many relationship.

A reverse of this (one-to-many relationship) would look like this:

Keep learning and stay tuned to get the latest updates on the GATE Exam along with Eligibility Criteria, GATE Syllabus for CSE (Computer Science Engineering), GATE CSE Notes, GATE CSE Question Paper, and more.

Also Explore,

Comments

Leave a Comment

Your Mobile number and Email id will not be published.

*

*