What is a functional dependency, and how does it relate to the process of normalization?

Last updated 3 July 2026

  • A functional dependency X → Y means rows with the same X values must have the same Y values (e.g. employee_id → department).

  • FDs define redundancy, so they drive normalization: 2NF removes partial dependencies on a composite key, 3NF removes transitive (non-key → non-key) ones, and BCNF requires every determinant to be a candidate key.

  • In practice you list FDs, find candidate keys, and decompose tables until every determinant is a key.

  • https://medium.com/@shammuajantha/normalization-and-functional-dependencies-551266fb4445
  • https://fibery.com/blog/product-management/functional-dependencies-explained/
  • https://www.geeksforgeeks.org/dbms/types-of-functional-dependencies-in-dbms/
  • https://www.geeksforgeeks.org/sql/sql-interview-questions/
All SQL interview questions