What is database normalization and what are the specific goals of 1NF, 2NF, and 3NF?
Last updated
Normalization organizes tables so each fact is stored once, preventing insert, update, and delete anomalies. Each normal form builds on the previous one.
1NF: atomic values in every column and unique rows identified by a primary key. 2NF: no partial dependency, so non-key columns depend on the whole composite key.
3NF: no transitive dependency, so non-key columns don't depend on other non-key columns ("the key, the whole key, and nothing but the key").
- https://github.com/Devinterview-io/sql-interview-questions
- https://github.com/Devinterview-io/databases-interview-questions
- https://www.freecodecamp.org/news/database-normalization-1nf-2nf-3nf-table-examples/
- https://dev.to/prabavathy_balagurusamy_2/database-normalization-in-sql-1nf-2nf-3nf-5e19
- https://github.com/OBenner/data-engineering-interview-questions/blob/master/content/dwha.md
- https://github.com/jaimin-bariya/Awesome-SQL-Interview
- https://github.com/Devinterview-io/data-engineer-interview-questions/blob/main/README.md