How can I implement the normalization on a table?

Asked By 0 points N/A Posted on -
qa-featured

I have the following table for my database.

 

I want to apply the normalization technique on the above table.

How can I apply the technique?

Please also inform me, how many ways I can apply the technique?

SHARE
Answered By 0 points N/A #93751

How can I implement the normalization on a table?

qa-featured

 

Hi Nahida,

It seems to be an order table of your database. So Don’t add Customer ID , Customer Name and the City in a one table. Basically normalization removes the duplications of data in a database. It helps you to organize data in efficient way and avoid waste of server space. There are steps in normalization that called 1NF (First Normal Form) to 4NF form you can get clear idea about normalization by visiting following sites.

·http://en.wikipedia.org/wiki/Database_normalization
· http://databases.about.com/od/specificproducts/a/normalization.htm

In your application there will be separate tables for Customer Detail, Product Detail, Order and the Order Details. Order table have the reference of Customer ID. Using that you can get the customer name and the city. So no need to add the Customer Address field into the order table. Unit price and the quantity should goes to order Detail table and set the reference Product ID in it.

 

Think this is helpful.

Login/Register to Answer

Related Questions