Sobes.tech
Junior — Middle

Can you list and explain the levels of database normalization?

sobes.tech AI

Answer from AI

Normalization levels are a set of rules for organizing data in a database to minimize redundancy and improve integrity.

  1. First Normal Form (1NF): All fields contain atomic (indivisible) values, with no repeating groups.

  2. Second Normal Form (2NF): 1NF is satisfied, and all non-key attributes depend fully on the entire composite key (if the key is composite).

  3. Third Normal Form (3NF): 2NF is satisfied, and there are no transitive dependencies between non-key attributes (non-key fields do not depend on each other).

  4. Boyce-Codd Normal Form (BCNF): A stricter version of 3NF, where every determinant is a key.

  5. Fourth Normal Form (4NF): Eliminates multivalued dependencies.

  6. Fifth Normal Form (5NF): Eliminates redundancy caused by joins.

In practice, normalization is most often applied up to 3NF or BCNF to balance performance and data integrity.