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 > Help - db normalisation

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-27-09, 11:41
EzehM EzehM is offline
Registered User
 
Join Date: Apr 2004
Location: London
Posts: 1
Wink Help - db normalisation

Pls I need help with presenting the following bits of information in a normalised way

it's a company database

Company name
address
city (always the same)
post code
phone number ( could be more than 1)
email (could be more than 1)
URL
home country (home country of company owner)
review (max 30 words)
rating (1-5 stars)
classification ( eg bar or bank)

any help will be appreciated

thanks
Mary
Reply With Quote
  #2 (permalink)  
Old 11-09-09, 06:56
Derek Asirvadem Derek Asirvadem is offline
Registered User
 
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 258
(Hope this isn't a homework question. But no one has picked up your ticket.)

That is not specific enough, there are plenty of of questions that need to be answered before anything reasonable can be normalised from that. There is also a lot missing in terms of the dependencies and relations.

It may be helpful to look at the finished product, although that will not teach you the formal steps to get there. I took a order processing database I already had, and extracted the table cluster related to your "requirement". Over here, we have to keep any records that relate to tax for ten years; that means keeping an history of the address changes, so that's what it is "out of the box". Additionally, audit requirements and timestamps to support concurrency are standard. However, I have cut it down for you here. I have also differentiated natural and surrogate keys, in case you want to have fun with that. Both versions.
__________________
Regards
Derek Asirvadem (Formerly DerekA)
Information Architect / Senior Sybase DBA
Copyright © 2009 Software Gems Pty Ltd

I answer questions from the Original Poster only. If you have a genuine question, as the moderators have requested, start a new thread.

http://www.softwaregems.com.au
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