IT lexicon › Database › Weak Entity

Weak Entity

Database På svenska → Updated: 2026-11-12

In the Entity-Relationship Model: an entity type that cannot be uniquely identified by its own attributes alone but must rely on a relationship dependency on another entity.

A weak entity has no primary key of its own and cannot exist independently. A classic example is "Order Line Item" which depends on "Order" — each line item is identified by the order number plus a line number, but the line number alone is meaningless without the order. In ER diagrams, weak entities are drawn as double rectangles and their identifying relationship as a double line. In implementation, a weak entity typically becomes a table with a composite primary key that includes the key from the parent entity.

This concept is important for modeling hierarchical and dependent data structures.

← Back to the lexicon