Want to go deeper? I wrote a comprehensive e-book that covers everything in this video β plus more step-by-step detail, BCNF/4NF/5NF in depth, exercises and solutions. π Get the complete guide β https://decomplexify.org/e-dbnorm
βββββββββββββββββββββββββββββ
IN THIS VIDEO
This easy-to-follow database normalization tutorial makes use of lots of examples and focuses on the design process. It explains the "why" and "how" of normalization, and takes you step-by-step through:
β’ First Normal Form (1NF)
β’ Second Normal Form (2NF)
β’ Third Normal Form (3NF), with a side note on Boyce-Codd Normal Form (BCNF)
β’ Fourth Normal Form (4NF)
β’ Fifth Normal Form (5NF)
βββββββββββββββββββββββββββββ
WANT MORE?
My guidebook, DATABASE NORMALIZATION MADE SIMPLE, takes everything here further:
β In-depth, step-by-step explorations of the normal forms starting with 1NF and its nuances (atomicity, etc)
β Exercises and solutions at the end of each normal form section
β Boyce-Codd Normal Form and why it is in some sense the most important normal form of all
β Extensively reworked and expanded material on 4NF and 5NF, projections and join dependencies
β π BONUS included with the guidebook: Interactive SQL facility featuring tables with normalization issues
π DATABASE NORMALIZATION MADE SIMPLE β https://decomplexify.org/e-dbnorm
βββββββββββββββββββββββββββββ
Video Timeline:
0:00 What is database normalization?
3:55 First Normal Form (1NF)
10:24 Second Normal Form (2NF)
16:08 Third Normal Form (3NF)
20:29 Fourth Normal Form (4NF)
23:47 Fifth Normal Form (5NF)
26:41 Summary and review
Corrections can be found in the pinned comment.
π You can also download a FREE PDF (Decomplexify Quick Reference Guide), with cheat sheets covering 1st, 2nd, and 3rd Normal Form, plus Entity Relationship Diagram (ERD) conventions:
https://decomplexify.myflodesk.com/wm...
Want to go deeper? I wrote a comprehensive e-book that covers everything in this video β plus more step-by-step detail, BCNF/4NF/5NF in depth, exercises and solutions. π Get the complete guide β https://decomplexify.org/e-dbnorm
βββββββββββββββββββββββββββββ
IN THIS VIDEO
This easy-to-follow database normalization tutorial makes use of lots of examples and focuses on the design process. It explains the "why" and "how" of normalization, and takes you step-by-step through:
β’ First Normal Form (1NF)
β’ Second Normal Form (2NF)
β’ Third Normal Form (3NF), with a side note on Boyce-Codd Normal Form (BCNF)
β’ Fourth Normal Form (4NF)
β’ Fifth Normal Form (5NF)
βββββββββββββββββββββββββββββ
WANT MORE?
My guidebook, DATABASE NORMALIZATION MADE SIMPLE, takes everything here further:
β In-depth, step-by-step explorations of the normal forms starting with 1NF and its nuances (atomicity, etc)
β Exercises and solutions at the end of each normal form section
β Boyce-Codd Normal Form and why it is in some sense the most important normal form of all
β Extensively reworked and expanded material on 4NF and 5NF, projections and join dependencies
β π BONUS included with the guidebook: Interactive SQL facility featuring tables with normalization issues
π DATABASE NORMALIZATION MADE SIMPLE β https://decomplexify.org/e-dbnorm
βββββββββββββββββββββββββββββ
Video Timeline:
0:00 What is database normalization?
3:55 First Normal Form (1NF)
10:24 Second Normal Form (2NF)
16:08 Third Normal Form (3NF)
20:29 Fourth Normal Form (4NF)
23:47 Fifth Normal Form (5NF)
26:41 Summary and review
Corrections can be found in the pinned comment.
π You can also download a FREE PDF (Decomplexify Quick Reference Guide), with cheat sheets covering 1st, 2nd, and 3rd Normal Form, plus Entity Relationship Diagram (ERD) conventions:
https://decomplexify.myflodesk.com/wm...
I turned everything I know about normalization into a full e-book β with in-depth / expanded discussions of all the normal forms including BCNF / 4NF / 5NF, exercises and solutions, and a lot of detail I couldn't fit into this video. Plus a π BONUS interactive SQL facility to help you explore tables with normalization issues. π https://decomplexify.org/p-dbnorm if you want to go further.
CONTENTS
0:00 What is database normalization?
3:55 First Normal Form (1NF)
10:24 Second Normal Form (2NF)
16:08 Third Normal Form (3NF)
20:29 Fourth Normal Form (4NF)
23:47 Fifth Normal Form (5NF)
26:41 Summary and review
Want a free PDF quick reference guide covering 1st, 2nd, and 3rd Normal Form? Get it here: https://decomplexify.myflodesk.com/wm7ixaj2x6
* CORRECTIONS *
In the Fourth Normal Form (4NF) section, at 23:27 the primary key for the Model_Colors_Available table should appear as {Model, Color}; the primary key for the Model_Styles_Available table should appear as {Model, Style}. Also, the video's informal definition of 4NF - which states that multivalued dependencies on a non-key aren't allowed - is a little too simplistic. I should have said that what's forbidden are "non-trivial" multivalued dependencies on a non-key. "Trivial" multivalued dependencies on a non-key - like Model ->> Color in the case of the Model_Colors_Available table - are fine! A multivalued dependency is considered trivial if the attribute(s) on the left side of the arrow (in this case, Model) and the attribute(s) on the right side of the arrow (in this case, Color) together make up all the attributes in the table.
In the First Normal Form (1NF) section, at 4:42, since the column heading in the query results is Beatle, the query itself should have been shown as selecting Beatle. (The query is erroneously shown as selecting "Member_Name".)
In the Fifth Normal Form (5NF) section, the summary at 26:16 says that a table (call it T) violates 5NF if it can be "logically thought of as being the result of joining some other tables together." I should have clarified that it if those "other tables" all have the same key as the table T, then it doesn't count as a violation! For example, the fact that a table with columns ( Product_ID (PK), Product_Name ) joins to a table with columns ( Product_ID (PK), Product_Color ) to yield a table PRODUCT which has columns ( Product_ID (PK), Product_Name, Product_Color ) doesn't mean that PRODUCT violates 5NF. More generally, I now think there was a little too much looseness in my presentation of 5NF; I'll do a standalone 5NF video at some point that describes 5NF in a less question-begging way. The same goes for 4NF!