Skip to main content

Database Normalization

Functional Dependencies

0:00
LearnStep 1/2

Functional Dependencies

Functional Dependencies

A functional dependency X → Y means: if two tuples have the same X value, they must have the same Y value.

Example

Types of Keys

  • Super Key: Set of attributes that uniquely identifies a tuple
  • Candidate Key: Minimal super key (no subset is a key)
  • Primary Key: Chosen candidate key
  • Prime Attribute: Attribute in any candidate key
  • Non-prime Attribute: Not in any candidate key

Armstrong's Axioms