If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Database Normalization help required

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-30-10, 00:15
komodosteve komodosteve is offline
Registered User
 
Join Date: Sep 2010
Posts: 2
Post Database Normalization help required

Hi,

I am new to the forums.

I have a table with me (Table.png) which I need to Normalize till 3rd normal form. I have normalized it but I am sure I have not done it correctly. Can anyone please help me out here?

I have attached the images of all the three normal forms to which I have converted the table.

Please help me out here
Attached Thumbnails
Database Normalization help required-table.png   Database Normalization help required-first-nf.jpg   Database Normalization help required-second-nf.jpg   Database Normalization help required-third-nf.jpg  
Reply With Quote
  #2 (permalink)  
Old 09-30-10, 07:02
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,246
Think about it
you have identified 4 tables
product
country
warehouse
location

I think your terminolgy.tables names may be iffy
but as I see it
you need a table for:-
products (everything to do with the product (its name, part number, etc BUT NOT the quantity))
countries (identifies the country where this warehouse is a suggestion is to use the 2 or 3 digit ISO country code + name, use the code as the PK and FK in warehouse)
warehouse stores everything to do with this warehouse its name, address, telephone etc and the country code which is a fk to countries
ProductsInWarehouse which is an intersection table of product and warehouse and would also store the quantity for that product in that warehouse
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #3 (permalink)  
Old 10-01-10, 02:58
komodosteve komodosteve is offline
Registered User
 
Join Date: Sep 2010
Posts: 2
hi healdem,

Thank you very much for the solution. I will do the normalisation on the lines mentioned by you.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On