- Functional dependencies describe a relationship between attributes within a db table
- Denoted by,
X -> Y
, where X
is the determinant and Y
is the dependent
- Crucial concept for efficient data storage without redundancy
Types of functional dependencies §
- Trivial -
{Emp_ID, Emp_Name -> Emp_Name}
- Non-Trivial -
{Emp_ID} -> {Emp_Name}
- Multi-valued -
{Emp_ID} - {Emp_Name, Emp_Age}
- Partial -
{Emp_Name} -> {Emp_ID}
- Transitive -
{Company_ID} -> {Ceo_Age}
Refs §
- https://www.geeksforgeeks.org/types-of-functional-dependencies-in-dbms/