- Trending Categories
- Data Structure
- Operating System
- C Programming
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Identifying Entity Relationships in DBMS
Identifying entity relationships in DBMS is used to identify a relationship between strong and weak entity.
Before beginning, let us take an example of Professor entity, which is our Strong Entity, with Professor_ID as a Primary Key −
The weak entity is Professor_Dependents entity:
Now, let us continue,
Weak Entity is dependent on Strong Entity and does not have a primary key. Weak Entity has a partial key. It is represented as double rectangle −
Other entities are dependent on Strong Entity and it has a key attribute i.e. a primary key and represented as a single rectangle.
It links the strong and weak entity and is represented by a double diamond sign.
Let us see with an example to link both the entities using Identifying Relationships:
Above we saw that, Dependent Name could not exist on its own but in relationship to a Professor.
Rest, the following we used in our E-R Diagram −
|Partial Key (Weak Entity)||Name|
|Primary Key (Strong Entity)||ID|
- Types of Entity Relationships in DBMS
- What is an Entity relationship model in DBMS?
- Explain Mapping the ER diagrams with binary and ternary relationships(DBMS)?
- Difference between Strong Entity and Weak Entity
- Explain difference between Strong Entity and Weak Entity
- Entity-Relationship Diagram
- Entity Integrity Rule in RDBMS
- Entity Relationship Participation in Database
- HTML Entity Parser in C++
- Identifying handwritten digits using Logistic Regression in PyTorch?
- What is Entity-Relationship Modeling?
- Extended Entity-Relationship (EE-R) Model
- Difference Between Strong and Weak Entity
- Google’s Relationships Based Voice Search on Android