Functional dependency: Difference between revisions

Content deleted Content added
Bluelinking 1 books for verifiability.) #IABot (v2.1alpha3
m Cars: just small rephrase
Line 13:
 
=== Cars ===
Suppose one is designing a system to track vehicles and the capacity of their engines. Each vehicle has a unique [[vehicle identification number]] (VIN). One would write ''VIN'' → ''EngineCapacity'' because it would be inappropriate for a vehicle's engine to have more than one capacity. (Assuming, in this case, that vehicles only have one engine.) TransverselyOn the other hand, ''EngineCapacity'' → ''VIN'' is incorrect because there could be many vehicles with the same engine capacity.
 
This functional dependency may suggest that the attribute EngineCapacity be placed in a relation with [[candidate key]] VIN. However, that may not always be appropriate. For example, if that functional dependency occurs as a result of the [[transitive relation|transitive]] functional dependencies VIN → VehicleModel and VehicleModel → EngineCapacity then that would not result in a normalized relation.