Home >Database >Mysql Tutorial >Transitive dependencies in DBMS
When an indirect relationship leads to functional dependency, it is called transitive dependency.
If P -> Q and Q -> R are true, then P-> R is a transitive dependency.
To achieve 3NF, eliminate transitive dependencies.
##Movie_ID td> | Listing_ID | Listing_Type | DVD_Price ( $) | |
##L09 > |
Crime | 180 > |
M03 | |
M03
|
L05 | Drama | 250 | M05 |
L09 | Crime | ##180
|
Movie_ID -> Listing_Type
##DVD_Price ($) | M08 L09 | 180|
##M03 | L05 250 |
|
##M05 | L09 | 180 |
## |
Listing_Type
L05 | Drama|
##L09 | Crime |
Now the above relation is in Third Normal Form (3NF) of Normalization. |
The above is the detailed content of Transitive dependencies in DBMS. For more information, please follow other related articles on the PHP Chinese website!