Functional dependency
A relationship where values in one column (or columns) uniquely determine the values in another column — the mathematical foundation of normalization.
A functional dependency is a mathematical relationship fundamental to database design. If column B depends on column A (written A → B), it means for each value in A, there is exactly one corresponding value in B. For example, a person's ID number uniquely determines their name: id → name. This is the essence of a primary key — the column(s) that uniquely identify a row and from which all other values functionally depend.
Normalization is about eliminating "bad" functional dependencies — cases where a non-key column is determined by something other than the whole key. For example, in an orders table, unit_price should depend on product_id, not order_id, or you risk inconsistency. By understanding and eliminating these unwanted dependencies, you create a well-normalized database that avoids redundancy and anomalies. E. F. Codd developed this theory in the 1970s as the mathematical foundation for relational databases.