Topics: Database


In databases, we have a functional dependency when, in a relation, the values in a set of attributes are determined by the values in another set of attributes.

More formally, a functional dependency occurs between two attributes in a relation if and only if each value of is associated with exactly one (and only one) value. We write such a functional dependency as .

Indeed, it’s called a functional dependency because it behaves just like a function; it is a function.