Unique Identifiers (UIDs)
Unique Identifiers (UIDs)
Databases
Natural Identifier
Natural Identifier
Types of Primary Identifier
Unique Artificial Identifier
Identifiers
To select a unique identifier using business rules,
a Model
employee_id INT PRIMARY KEY,
name VARCHAR(100),
Using manager_id INT,
Recursion FOREIGN KEY (manager_id) REFERENCES
and Employees(employee_id)
Hierarchies );
Arc Differences:
Forms (1NF,
2NF, 3NF)
Definition: Builds on 1NF and ensures that all
non-key attributes (attributes not part of the
• Second Normal primary key) are fully dependent on the primary
Form (2NF) key.
Definition: Builds on 2NF and ensures that there
Third Normal Form are no transitive dependencies; that is, no non-key
attribute depends on another non-key attribute.
(3NF)