Database Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesDatabase Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old February 20th, 2005, 05:47 AM
b_shaikha4321 b_shaikha4321 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 9 b_shaikha4321 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 15 sec
Reputation Power: 0
Exclamation Finding entities and normalizing-HELP

Can anyone help me make the entieis for my business and help me normalize the data by using the steps of normalisation- meaning first normal form, second normal form and third normal form.
Well my business would like to make a database for saving customers details, product details, and be able to send orders to customers including shipping information. So please help.

OR

You could look at the diagram given and show my how the information was normalized and how the entites were found by doing it in steps- first normal form, second normal form and third normal form.

Please help
Attached Images
File Type: gif Database.GIF (41.8 KB, 409 views)

Reply With Quote
  #2  
Old February 21st, 2005, 08:24 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
I do'nt understand your questions...

Your diagram looks normalized; I can't see where any redundant data would slip in.

Where did this diagram and table-set come from?
Assuming you created it, wouldn't you know the steps you took to complete it?

Otherwise, why would you want to see a poorly normalized database and take a step back in the process?

Reply With Quote
  #3  
Old February 24th, 2005, 09:01 AM
Mr_Jones Mr_Jones is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 20 Mr_Jones User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 15 m 34 sec
Reputation Power: 0
I think they are after either a run down on how to normalise their database and that the picture is one they have found and would like to know how it got to this stage from one table.

Reply With Quote
  #4  
Old February 24th, 2005, 10:15 AM
Madpawn Madpawn is offline
My beat is correct.
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 339 Madpawn User rank is Private First Class (20 - 50 Reputation Level)Madpawn User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 2 Days 22 h 3 m 33 sec
Reputation Power: 4
MySQL's site has a quick rundown of normalization here. You can also find a bunch of tutorials and such with a quick google of 'database normalization' -- these tutorials will probably serve you better than anything we could give you in a necessarily abbreviated forum post, at least for an overview. If you hit a specific sticking point you want to discuss, don't hesitate to post it.

Reply With Quote
  #5  
Old February 27th, 2005, 11:12 AM
tesuji tesuji is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 3 tesuji User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 26 m 25 sec
Reputation Power: 0
1NF..3NF, some remarks

  1. By definition, all tables are in 1NF, if you data model is the Relational Data Model. Btw, in your data model there are address, city, postal code etc, why?
  2. All tables are in 2NF because each primary key consist of only one attribute, that is all non-key attributes fully functionally dependent on their appropriate surrogate key. Apart from order details: because unitprice only dependents on productid 2NF is formally violated --> drop unitprice, it's already in products. BUT BUT BUT: if unitprice changes in the future, contracted unit price has to be stored in order details. So normal forms often depend on your proper arguments at hand on time.
  3. All tables seems to be in 3NF. One can construe nice „academic“ transitive dependencies, for example postalcode --> city --> customerid etc. But decomposition of such stuff into smaller tables is really far-fetched. (BCNF isn't fulfilled)

  4. Is your design complete?

Shipperid is not foreign key in orders.

Contactname: couldn't there be more than one such person per company per contract?

Products: what about more than one order at a time?

Suppliers ---< Products: if there is more than one supplier a product, cardinality must be many-to-many (>---<).

As shippers may assume, wouldn't it be more convenient also to manage invoices?

Reply With Quote
  #6  
Old October 20th, 2005, 03:00 PM
martinig martinig is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 5 martinig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 45 m 43 sec
Reputation Power: 0
There is a good article on database design and transformation in relationnal scheme here:
* Database Modelling in UML
http://www.methodsandtools.com/archive/archive.php?id=9

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesDatabase Development > Finding entities and normalizing-HELP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway