liveBook · Manning

Transitive dependency

A transitive dependency is a dependency reached indirectly through one or more intermediate dependencies rather than declared or connected directly.

How 2 Manning books explain it

100 SQL Server Mistakes and How to Avoid Them

A transitive dependency occurs when a non-key attribute depends on another non-key attribute rather than directly on the key.

How it is used
Uses 3NF to identify attributes determined by nonprime attributes and separate them into related relations.
How deep it goes
Defines nontransitive dependence and demonstrates several relation splits, without formal dependency notation or algorithms.
Examples
Uses product type descriptions, salespeople, sales areas, customers, and customer contacts as dependency examples.
What you can do after
Apply it by decomposing relations and reconnecting them through foreign keys when nonprime attributes identify other attributes.

Read how 100 SQL Server Mistakes and How to Avoid Them explains transitive dependency →

Grokking Relational Database Design

A transitive dependency is a functional dependency in which a nonkey attribute depends on another nonkey attribute that depends on a key.

How it is used
Uses transitive dependencies to check database tables against 3NF and BCNF requirements.
How deep it goes
Defines the dependency chain, explains its anomalies, and demonstrates decomposition with foreign keys; it stops short of later normal forms.
Examples
Uses employee-department data and a purchase-payment_method-user relationship to expose direct and indirect dependencies.
What you can do after
Diagnose transitive dependencies and redesign affected tables with separate entities and foreign-key links.

Read how Grokking Relational Database Design explains transitive dependency →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.