MySQL 21 - 3NF

submitted by mkenny400 on 03/20/18 1

Third normal form wants us to remove transitive dependencies. A transitive dependency exists when a column depends on the primary key through another column. We need to make this column depend only on the primary key, so to do this we need to move some stuff to a new table. The example we gave in this video was with listings. Each listing can have a category, and each category has a description. In order for us to make the category_description focus only on the primary key, we have to move the category column into a new table called categories. Then in the original table we reference this data with a foreign key. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support me! www.patreon.com/calebcurry Subscribe to my newsletter: eepurl.com/-8qtH Donate!: bit.ly/DonateCTVM2. ~~~~~~~~~~~~~~~Additional Links~~~~~~~~~~~~~~~ More content: CalebCurry.com Facebook: www.facebook.com/CalebTheVideoMaker Google+: plus.google.com/+CalebTheVideoMaker2 Twitter: twitter.com/calebCurry Amazing Web Hosting - www.dreamhost.com/r.cgi?1487063 (The best web hosting for a cheap price!)

Leave a comment

Be the first to comment

Collections with this video
Email
Message
×
Embed video on a website or blog
Width
px
Height
px
×
Join Huzzaz
Start collecting all your favorite videos
×
Log in
Join Huzzaz

facebook login
×
Retrieve username and password
Name
Enter your email address to retrieve your username and password
(Check your spam folder if you don't find it in your inbox)

×