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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-17-10, 02:49
brice1k brice1k is offline
Registered User
 
Join Date: Jun 2010
Posts: 2
Database Normalization

Hey Guys, I need help on an ERD normalization question. from 1NF to 3NF?
Hey I have two questions on normalization that I am practicing for my final but I cant seem to get them.
This is in the 1st normal form and I need to get it to the 3rd normal form.
1.
Customer( CustomerID, Name, Address)
Product(ProductID, Description)
Order(Order Number, Customer ID, OrderDate)
LineItem(OrderNumber, ProductID, OrderQuantity)
Invoice(InvoiceNumber, OrderNumber, InvoiceDate)
Shipment(InvoiceNumber,ProductID,Quant…

2.
Vendor(VendorID,Address)
PriceOuote(QuoteQuantity,Price)
Part(itemNumber, Description)
PartReceipt(OrderNumber,Date,OrderQuan…

I did them but I am not sure if they are correct.
I need someone to help me get these to the 3rd NF from 1stNF.
Thanks to all you guys out there.
Any input is valued.
Reply With Quote
  #2 (permalink)  
Old 06-17-10, 04:04
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 8,768
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #3 (permalink)  
Old 06-17-10, 11:09
brice1k brice1k is offline
Registered User
 
Join Date: Jun 2010
Posts: 2
Cool Re: INFO

Hey, thanks for the information posted.
I read them and am still in the same place.
i did the work already.
I just need someone to do it so that I can check it with my work and see if I am on the right track.
With the other example, they are kinda small ones, and this one is a big one. I just want to see if I am doing it correctly.
Plz Help and Thanks
Reply With Quote
  #4 (permalink)  
Old 06-17-10, 11:15
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
They look in 3NF already to me.
Reply With Quote
  #5 (permalink)  
Old 06-17-10, 14:29
dav1mo dav1mo is offline
Registered User
 
Join Date: Dec 2007
Location: Richmond, VA
Posts: 779
Are they correct? Couldn't a customer have multiple addresses? Same with a vendor?
Dave
Reply With Quote
  #6 (permalink)  
Old 06-17-10, 14:32
r937 r937 is online now
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,085
PriceQuote looks incomplete, shouldn't it reference the item it is quoting a price for?
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #7 (permalink)  
Old 06-17-10, 15:37
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
Quote:
Originally Posted by dav1mo View Post
Are they correct? Couldn't a customer have multiple addresses? Same with a vendor?
Dave
Perhaps, however that isn't normalisation but requirements.
Reply With Quote
  #8 (permalink)  
Old 08-30-10, 09:11
alevin46 alevin46 is offline
Registered User
 
Join Date: Aug 2010
Location: UK
Posts: 1
Hello Friends.......

Normalization is the process of efficiently organizing data in a database. There are two goals of the normalization process: eliminating redundant data and ensuring data dependencies make sense

Thanks
Reply With Quote
  #9 (permalink)  
Old 08-30-10, 10:54
r937 r937 is online now
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,085
Quote:
Originally Posted by alevin46 View Post
There are two goals of the normalization process: eliminating redundant data and ensuring data dependencies make sense
unfortunately this is wrong, eliminating redundant data is ~not~ a goal of normalization
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #10 (permalink)  
Old 08-30-10, 13:59
dportas dportas is offline
Registered User
 
Join Date: Dec 2007
Location: London, UK
Posts: 732
Quote:
Originally Posted by alevin46 View Post
Normalization is the process of efficiently organizing data in a database. There are two goals of the normalization process: eliminating redundant data and ensuring data dependencies make sense
Normalization is a set of tools for analysing and eliminating certain types of redundancy. It cannot eliminate redundant data entirely. I doubt that any formal process ever could ensure non redundancy in all possible cases.

No normalization procedure can ensure that the dependencies "make sense" because a set of (assumed to be correct) dependencies are a necessary input for normalization, not the product of it. Some dependencies may be eliminated by normalization but unfortunately that doesn't mean the set of dependencies at the end are the right ones to do the job the database was intended for
Reply With Quote
Reply

Tags
database, normalform, normalization

Thread Tools
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