0% found this document useful (0 votes)
5 views3 pages

Fourth Normal Form (4NF) : Example

Normalization

Uploaded by

oswardkipeleka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views3 pages

Fourth Normal Form (4NF) : Example

Normalization

Uploaded by

oswardkipeleka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

← prevnext →

Fourth normal form


(4NF)
Advertisement

o A relation will be in 4NF if it is in


Boyce Codd normal form and has
no multi-valued dependency.

o For a dependency A → B, if for a


single value of A, multiple values
of B exists, then the relation will
be a multi-valued dependency.

Example
STUDENT

ADVERTISEMENT

STU_ID COURSE HOBBY

21 Computer Dancing

21 Math Singing

34 Chemistry Dancing

74 Biology Cricket

59 Physics Hockey

The given STUDENT table is in 3NF, but the


COURSE and HOBBY are two independent entity.
Hence, there is no relationship between COURSE
and HOBBY.

ADVERTISEMENT
Advertisement

In the STUDENT relation, a student with


STU_ID, 21 contains two
courses, Computer and Math and two
hobbies, Dancing and Singing. So there is a Multi-
valued dependency on STU_ID, which leads to
unnecessary repetition of data.

So to make the above table into 4NF, we can


decompose it into two tables:

ADVERTISEMENT

STUDENT_COURSE

STU_ID COURSE

21 Computer

21 Math

34 Chemistry

74 Biology

59 Physics

STUDENT_HOBBY

ADVERTISEMENT

STU_ID HOBBY

21 Dancing

21 Singing

34 Dancing
74 Cricket

59 Hockey

Next TopicDBMS 5NF

← prevnext →

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy