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 > is this correct

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-08-04, 16:03
evilz35 evilz35 is offline
Registered User
 
Join Date: Feb 2004
Posts: 78
is this correct

hi

i am new to normalisation

i have normalised the attached document from unf to boyce codd NF can n e 1 tell me whether i have done it correctly
Reply With Quote
  #2 (permalink)  
Old 03-08-04, 16:04
evilz35 evilz35 is offline
Registered User
 
Join Date: Feb 2004
Posts: 78
and here is the document........................
Attached Files
File Type: doc table 1.doc (123.0 KB, 100 views)
Reply With Quote
  #3 (permalink)  
Old 03-08-04, 16:21
evilz35 evilz35 is offline
Registered User
 
Join Date: Feb 2004
Posts: 78
sorry people i've looked at the above one and i think it is wrong i have now changed it to this. Is this correct?
Attached Files
File Type: doc table 1.doc (118.0 KB, 75 views)
Reply With Quote
  #4 (permalink)  
Old 03-09-04, 04:46
evilz35 evilz35 is offline
Registered User
 
Join Date: Feb 2004
Posts: 78
please some one help me i am desperate to know whether i am doing this right- so that i can get on with the rest of my work
Reply With Quote
  #5 (permalink)  
Old 03-09-04, 05:47
evilz35 evilz35 is offline
Registered User
 
Join Date: Feb 2004
Posts: 78
HELLLLLLLLLLOOOOOOOOOOOOOOO is n e 1 going to answer me
Reply With Quote
  #6 (permalink)  
Old 03-09-04, 08:08
SimonW SimonW is offline
Registered User
 
Join Date: Mar 2004
Posts: 30
Quote:
Originally posted by evilz35
HELLLLLLLLLLOOOOOOOOOOOOOOO is n e 1 going to answer me
Here's my version of the third normal form of your original document.

I didn't notice the later version as it wasn't referenced on the post that your private mail pointed to.

If you're being utterly rigorous, you should also exclude the city from the address as it's derivable from the postcode, but probably only specialised mailing systems would go this far.
Attached Files
File Type: doc table 2.doc (32.0 KB, 86 views)
Reply With Quote
  #7 (permalink)  
Old 03-09-04, 08:12
SimonW SimonW is offline
Registered User
 
Join Date: Mar 2004
Posts: 30
Quote:
Originally posted by evilz35
HELLLLLLLLLLOOOOOOOOOOOOOOO is n e 1 going to answer me
Sorry, I left off the 'Cpacity' column from the third table. Here's a corrected version.
Attached Files
File Type: doc table 2.doc (33.5 KB, 73 views)
Reply With Quote
  #8 (permalink)  
Old 03-09-04, 08:22
evilz35 evilz35 is offline
Registered User
 
Join Date: Feb 2004
Posts: 78
thank you i really appreciate it- but i think i had made a few errors of my own in the staff table is this correct. i have done it all the way to 3rd normal form


thanks for this simonw
Attached Files
File Type: doc table 1.doc (154.5 KB, 92 views)
Reply With Quote
  #9 (permalink)  
Old 03-09-04, 08:47
evilz35 evilz35 is offline
Registered User
 
Join Date: Feb 2004
Posts: 78
does n e 1 know if the above is correct?
Reply With Quote
  #10 (permalink)  
Old 03-09-04, 09:15
SimonW SimonW is offline
Registered User
 
Join Date: Mar 2004
Posts: 30
No, it's not. You've got duplicate rows in your Vehreg table and you haven't factored out Make, Model and Cpacity. I suggest you take a closer look at my reply.
Reply With Quote
  #11 (permalink)  
Old 03-09-04, 09:29
evilz35 evilz35 is offline
Registered User
 
Join Date: Feb 2004
Posts: 78
Cool

Quote:
Originally posted by SimonW
No, it's not. You've got duplicate rows in your Vehreg table and you haven't factored out Make, Model and Cpacity. I suggest you take a closer look at my reply.
thanks simonw i am really greatful for your help this is really helping me.

could you take a look at this one as well for me. again i hae done it all down to boyce codd NF and would just like it checked. i would realy appreciate it if you could.
Reply With Quote
  #12 (permalink)  
Old 03-09-04, 09:30
evilz35 evilz35 is offline
Registered User
 
Join Date: Feb 2004
Posts: 78
sorry i keep forgeting to attach the file- here it is
Attached Files
File Type: doc table2.doc (80.0 KB, 63 views)
Reply With Quote
  #13 (permalink)  
Old 03-09-04, 09:55
SimonW SimonW is offline
Registered User
 
Join Date: Mar 2004
Posts: 30
Sorry, there isn't really enough information about the business model to say - eg. what exactly is the relationship between staff members and vehicles? Is it always one to one as you've shown? Seems unlikely that someone wouldn't drive a different car if the need arose.

Here's a document I wrote a while ago with a good example in it. (Ignore the stuff about the associative model.)
Attached Files
File Type: pdf normalisation.pdf (22.2 KB, 466 views)
Reply With Quote
  #14 (permalink)  
Old 03-09-04, 09:59
evilz35 evilz35 is offline
Registered User
 
Join Date: Feb 2004
Posts: 78
thanks for that - sorry i wasn't clear about the staff members. the deal with that is . some staff members are car owners and some car owners own more than one car. thatk sfor the document it has helped quite abit especially with my third normal form.
Reply With Quote
  #15 (permalink)  
Old 03-09-04, 10:03
evilz35 evilz35 is offline
Registered User
 
Join Date: Feb 2004
Posts: 78
after reading you document my normalisation for my table2.doc is correct! ( yipppeeee) can you double check that though please ,just to make sure of that?
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