Third Normal Form builds on Second Normal Form by addressing transitive dependencies: cases where one non-key attribute relies on another. Learn how 3NF helps reduce repeated data and protect consistency, with a simple student and location example—and a clear look at the role of superkeys and prime attributes.

Multiple Choice

In database normalization, what does Third Normal Form require?

In Third Normal Form, the focus is on removing transitive dependencies after ensuring the table is in Second Normal Form. A transitive dependency occurs when a non-key attribute depends on another non-key attribute, which itself depends on the key. So, being in 3NF means the relation is in 2NF and there are no transitive dependencies among non-key attributes. This ensures that non-key attributes do not rely on each other to convey information about the key, which reduces redundancy. A helpful way to think about it is: for every functional dependency X → Y that you have in the table, either X must be a superkey (so the dependency is directly tied to identifying the row), or Y must be a prime attribute (one that’s part of a candidate key). In practice, if a non-key attribute depends on another non-key attribute, you should decompose to remove that chain of dependency, preserving data consistency and reducing duplication. For example, if a table has StudentID, StudentName, City, and State, and City depends on StudentID while State depends on City, then State transitively depends on StudentID. Splitting into separate tables for students and for city/state information eliminates this transitive link and brings the schema into 3NF. Why the other descriptions are not correct: 3NF is not about eliminating all functional dependencies, nor about a fixed schema or only dependencies from the primary key. It specifically targets transitive dependencies and relies on the idea that dependencies should either come from a superkey or involve prime attributes.

Third Normal Form: Keeping Database Facts Where They Belong

A well-designed database shouldn’t need the same fact repeated in lots of places. If a student’s city and state appear in dozens of rows, a small change—say, a city name correction—can turn into a tedious hunt. Database normalization helps prevent that kind of mess by organizing information around what each fact actually describes.

Third Normal Form, or 3NF, is one step in that process. It builds on Second Normal Form and focuses on a particular source of redundancy: transitive dependencies. The idea sounds abstract at first, but it comes down to a simple question: does a non-key fact depend on another non-key fact, rather than directly on the key?

First, what’s a dependency?

A functional dependency describes a relationship between attributes, or columns, in a table. If one attribute determines another, we write it as X → Y. This means that when two rows have the same value for X, they must also have the same value for Y.

For example, if each student has a unique StudentID, then:

StudentID → StudentName

In plain language, a student ID identifies a student’s name. The name depends on the ID.

A key is an attribute—or group of attributes—that identifies a row. A candidate key is any minimal set of attributes that can do this. A primary key is the candidate key chosen as the main identifier. A superkey is a key or any larger set of attributes that still identifies a row.

These terms matter because 3NF is defined through functional dependencies and keys. The everyday summary, though, is easier to keep in mind: each non-key fact should describe the key, the whole key, and not another non-key fact.

So, what does Third Normal Form require?

A relation is in 3NF if it is already in Second Normal Form (2NF) and has no problematic transitive dependencies among non-key attributes.

A transitive dependency forms a chain. One attribute depends on the key, and another attribute depends on that first attribute:

StudentID → City → State

Here, StudentID determines the student’s city, and the city determines the state. So the state depends on the student ID indirectly. If City and State are both stored in a student table, the state is a non-key fact that depends on another non-key fact.

That chain can cause duplicate information. If 40 students live in the same city, the state may be stored 40 times. When the city’s state information changes or needs correction, the database may end up with conflicting values. One row says “Oregon,” another says “Washington.” Now the data has a consistency problem.

The formal definition gives a useful refinement. For every nontrivial functional dependency X → Y, 3NF requires at least one of these conditions:

  • X is a superkey, or

  • Y is a prime attribute, meaning it belongs to at least one candidate key.

This definition is a little more precise than the common “no transitive dependencies” summary. In many introductory examples, the two descriptions lead to the same conclusion. But the formal rule also handles some cases involving candidate keys and attributes that are part of them.

A small example makes the chain clear

Imagine a table called Students with these columns:

| StudentID | StudentName | City | State |

|---|---|---|---|

| 1042 | Maya Chen | Salem | Oregon |

| 1087 | Luis Rivera | Salem | Oregon |

| 1130 | Rowan Patel | Eugene | Oregon |

Assume StudentID uniquely identifies each student. Then StudentID determines StudentName and City. If a city belongs to one state in the data model, City also determines State.

That produces the chain:

StudentID → City → State

The State value is repeated for each student in the same city. This is the sort of transitive dependency 3NF aims to address.

A typical redesign separates the student facts from the city facts:

Students

| StudentID | StudentName | CityID |

|---|---|---|

| 1042 | Maya Chen | 21 |

| 1087 | Luis Rivera | 21 |

| 1130 | Rowan Patel | 34 |

Cities

| CityID | CityName | State |

|---|---|---|

| 21 | Salem | Oregon |

| 34 | Eugene | Oregon |

Now the student table stores a city reference, while the city table stores information about that city. If a city’s state value needs correction, there’s one place to update it.

There’s a practical wrinkle: a city name alone may not uniquely identify a city. Several places can share the same name, and boundaries or official classifications can change. That’s why a database often uses a stable identifier such as CityID, along with clear rules about what counts as a city record. Good normalization depends on good assumptions about the data.

Why 2NF comes first

Third Normal Form builds on Second Normal Form, so it helps to know what 2NF is doing. A table is in 2NF when it is in 1NF and each non-key attribute depends on the whole candidate key—not just part of a composite key.

Suppose a course registration table uses the combined key (StudentID, CourseID). If StudentName depends only on StudentID, then it depends on only part of the key. That’s a partial dependency, which 2NF addresses.

3NF moves on to a different issue: a non-key attribute depending on another non-key attribute. These are related but distinct problems. A table can have no partial dependencies and still contain a transitive dependency.

It’s a bit like organizing a kitchen. First, make sure every item has a proper place; then make sure the labels on those places aren’t indirectly tied to some other label. Different sources of clutter need different fixes.

What 3NF does—and doesn’t—mean

Normalization is sometimes misunderstood as a rule to remove all functional dependencies. That isn’t the goal. Functional dependencies are part of how a database expresses its structure. For example, a customer ID determining a customer name is useful information, not a flaw.

Nor does 3NF mean a table must have a fixed schema. Schema design is a separate concern: a schema defines the tables, columns, and relationships in a database. The central 3NF question is whether each dependency is supported by a key or by a prime attribute—not whether the schema can ever change.

It also doesn’t mean that only primary keys can determine other attributes. A table may have multiple candidate keys, and a dependency can be tied to a superkey that isn’t the chosen primary key. The database’s logic matters more than which key happens to appear in bold in a diagram.

The trade-off: less duplication, more joins

Moving information into separate tables can reduce repeated facts and make updates safer. That’s a real benefit, especially when the same detail appears across many records.

But normalization isn’t free. A query that once read a single table may now need a join to retrieve related information. Joins are a normal part of relational database work, yet a large, heavily joined design can be harder to understand or slower for certain reporting tasks. Teams sometimes use denormalized structures for analytics or reporting when read speed and simplicity matter more than minimizing repetition.

That doesn’t make normalization pointless. It means schema design involves judgment. A normalized structure is often a strong foundation, while a reporting layer can be shaped around the questions people need to answer.

A practical way to spot a transitive dependency

When reviewing a table, start with its key. Then ask what each non-key column describes.

If a column describes the entity identified by the key, its dependency may be direct. If it describes another non-key column instead, there may be a chain worth examining. For instance, in a Staff table, StaffID may determine DepartmentID, while DepartmentID determines DepartmentName. Storing the department name on every staff row repeats a department fact.

A separate Departments table can hold DepartmentID and DepartmentName, while Staff stores the department ID. The relationship becomes clearer: staff belong to departments, and department names describe departments.

Still, don’t split tables just because two columns seem related. Confirm the business rule first. Does every department ID always refer to exactly one department name? Can names change? Are names unique? Database design is part logic, part careful listening to how the organization uses its data.

The useful takeaway

Third Normal Form requires a relation to be in 2NF and to avoid problematic transitive dependencies among non-key attributes. In formal terms, for each nontrivial functional dependency, the determinant must be a superkey or the dependent attribute must be prime.

The payoff is straightforward: fewer repeated facts, fewer chances for conflicting updates, and a clearer account of what each table represents. Think of each table as a home for one kind of fact. When a fact belongs elsewhere, placing it there can make the whole database easier to trust—and easier to maintain.