Normalization and types of normalization, DOT NET Programming

Assignment Help:

What is normalization & what are the types of normalization?

Normalization is a set of rules that have been established to aid in the design of tables that are meant to be connected through relationships. This set of rules is termed as Normalization.

The advantages of normalizing your database will include following points:

  • Avoiding of the repetitive entries
  • Reducing the required storage space
  • Preventing the need to restructure existing tables to accommodate the new data.
  • To increased the flexibility of queries, speed and sorts, and summaries.

The three normal forms are illustrated below:-

1)First Normal Form :

For a table to be in the first normal form, the data must be broken up into the smallest possible units .In addition to breaking the data  into the smallest meaningful values, the tables in first normal form should not contain any repetitions groups of fields.

409_first normal form.png

Figure :- Repeating groups example

For this in the above example city1 & city2 are repeating.In order to show this table to be in First normal form you have to change the table structure as follows.Also note that the Customer Name is now broken down to first name and the last name (First normal form data must be broken down to smallest unit).

14_second normal form.png

2)Second Normal form:

The second normal form states that every field in a multiple field, primary keytable should be directly related to the whole primary key. Or in the other words, each non-key field must be a fact of about all the fields in the primary key. In the  table above of customer, the city is not linked to any primary field.

1809_second normal form1.png

Figure:- Normalized customer table.

2108_second normal form2.png

Figure :- City is now shifted to a different master table.

3)Third normal form:

The non-key field should not depend on other Non-key field. The field "Total" is dependent on the "Unit price" and the "qty".

930_thid normal form.png

Figure :- Fill third normal form


Related Discussions:- Normalization and types of normalization

Name the classes that are in the system.numerics namespace, Name the classe...

Name the classes that are introduced in the System.Numerics namespace. The following two new classes are introduced in the System.Numerics namespace:  BigInteger - Refers

Writing project with uml diagram, Project Description:                     ...

Project Description:                                   Urgently require an expert with good knowledge of writing experience and UML diagrams. This project requires technologi

Windowsapplications., what is the code for calculator in windowsapplication...

what is the code for calculator in windowsapplication

Jquery and mvc 4.5 training session, Jquery and MVC 4.5 Training Session ...

Jquery and MVC 4.5 Training Session I am looking who have industry experience working on Microsoft Technology ( MVC 4.5 ) and Jquery, who will take live online session and provi

We need in asp.net mvc site, We need in ASP.NET Mvc site I have project ...

We need in ASP.NET Mvc site I have project should be done with MVC.NET technology. In general- I have by now the site Layout (Html-js-css) I need- a) Simple CMS allo

Methods provided by the command object, What are the methods provided by th...

What are the methods provided by the command object? The command objects used to connect the connection object to the Datareader or the dataset. The command object provided som

Checking for validity of an expression - c# program, Checking for validity ...

Checking for validity of an expression - C# Program Hello can you please provide me some examples regarding to the Checking for validity of an   expression in C#.

Modes of storing asp.net session, What are the modes of storing ASP.NET ses...

What are the modes of storing ASP.NET session? 1) InProc: - In InProc mode Session state is stored in the memory space of the Aspnet_wp.exe process. That is the default setti

Create a simple static web page, This assignment will have you create a sim...

This assignment will have you create a simple static web page. It should look something like this: The colored boxes do not represent colors I want to see, make it look nic

Prepare datamodel, Prepare datamodel, API and more Project Description: ...

Prepare datamodel, API and more Project Description: Dear all, we would like you to prepare database and an API which can be used in the shopping cart (checkout and delivery

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd