Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

Unit 1: Weak Entities and Identifying Relationships

Lesson 10 of 28 in the free Database Management Systems notes on Siksha Sarovar, written by Rohit Jangra.

10.1 What is a Weak Entity?

An entity type that does not have a primary key of its own is called a Weak Entity Type.

  • Owner Entity: The entity type on which the weak entity depends.
  • Identifying Relationship: The relationship that links the weak entity to its owner.

10.2 Characteristics of Weak Entities

  1. Existence Dependency: If the owner entity is deleted, the weak entities are automatically deleted.
  2. Total Participation: A weak entity always has total participation in its identifying relationship.
  3. Partial Key (Discriminator): A set of attributes that can uniquely identify weak entities that are related to the same owner entity.
  • Notation: Dashed underline.

10.3 Example: Dependents of an Employee

  • Owner Entity: EMPLOYEE (Key: EmpID).
  • Weak Entity: DEPENDENT (Attributes: Name, BirthDate).
  • Partial Key: Name. (Two different employees might have a dependent named 'Aryan', but one employee likely won't have two dependents with the exact same name).
  • Primary Key of Weak Entity: The combination of {Owner's Primary Key + Weak Entity's Partial Key}. In this case: {EmpID, Dependent_Name}.

10.4 Diagram Summary

ComponentER Notation
Weak EntityDouble Rectangle
Identifying RelationshipDouble Diamond
Partial KeyDashed Underline