Normalization (4NF)
We have seen conditions for 3NF in the last article. Now let’s move on to 4NF.
Model #1
Color: Yellow, Green
Shape: Circle, Square
Model #2
Color: Blue
Shape: Triangle, Square
Here, we have 2 models, and we know their color and shapes as well. We now need to think about how we can design a database to store this information.
Let us make a table with this information.

Model No, Color and Shape together, has formed the primary key.
Though this data is in 3NF form, there are still chances of anomalies.
Ex. If model no. 2 also is available in green color, 2 rows will need to be added, but while updating the database if only one row gets added then it will lead to a logical inconsistency.
In this example, multivalued dependency is present.
{model} ↠{Color}
{model} ↠{shape}
4NF rule: If there are multivalued dependencies, attributes must depend on the entire primary key.
We can store the data in 4NF form as here.


This way of storing the data now complies with 4NF rules. .
Let’s see 5NF in the next post.
Writer: Piyush Kulkarni