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 > normalisation help

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #16 (permalink)  
Old 02-23-04, 17:05
evilz35 evilz35 is offline
Registered User
 
Join Date: Feb 2004
Posts: 78
that all seems like a load of complicated jargon to me can anyone explain in simple terms
Reply With Quote
  #17 (permalink)  
Old 02-23-04, 21:39
r123456 r123456 is offline
Registered User
 
Join Date: Sep 2003
Location: The extremely Royal borough of Kensington, London
Posts: 778
2NF Example:

Table(A, B, C) Primary Key(A, B), B->C.
Solution:
TableA(A, B) Primary Key (A, B)
TableB(B, C) Primary Key (B)

3NF Example:

TableA(A, B, C) Primary Key (A), A->B, B->C
Solution:
TableA(A, B) Primary Key (A)
TableB(B, C) Primary Key (B)
__________________
Bessie Braddock: Winston, you are drunk!
Churchill: And Madam, you are ugly. And tomorrow, I'll be sober, and you will still be ugly.
Reply With Quote
  #18 (permalink)  
Old 02-24-04, 05:55
evilz35 evilz35 is offline
Registered User
 
Join Date: Feb 2004
Posts: 78
as i have said earlier in my posts i am a absolute begginer and i am doing this as a hobby kind of- i really don't know anything about database design really and just wanted someone to help me normalise my tables. so can people help me with that. i thought that if someone normalised my tables in stages it would make it easier for me to understand. can n e 1 do that for me
Reply With Quote
  #19 (permalink)  
Old 02-24-04, 11:02
certus certus is offline
Registered User
 
Join Date: Dec 2003
Location: Canada
Posts: 710
Okay, I made an example from one of your tables. It's not perfect. I don't understand vehicle reg.

What I did was apply the rules of Normalization. I did not apply so called "common sense". The normalization will ensure data integrity as each data value is in only one place. Very good for transactions, but having more tables could slow down your reporting.
Attached Files
File Type: doc evilz normalize.doc (105.0 KB, 57 views)
__________________
visit: relationary

Last edited by certus; 02-24-04 at 11:13.
Reply With Quote
  #20 (permalink)  
Old 02-25-04, 06:50
evilz35 evilz35 is offline
Registered User
 
Join Date: Feb 2004
Posts: 78
thanks for that but i don't know where to go from there do i carry on normalising that table until 3rd normal form and then start on the others or do i start doing the other tables to 2nf.

can some one just do it for me and comment the different stages they went through.

by the way the viechel reg is the licence plate number which is a unique identifier for a car
Reply With Quote
  #21 (permalink)  
Old 02-25-04, 10:23
rm82 rm82 is offline
Registered User
 
Join Date: Jul 2002
Posts: 9
I have just knocked something up quick, i havnt really looked at it in depth but this should be in or close to 3NF, if it isnt i apologise, but it may help you a bit.

Rob
Attached Files
File Type: txt cabs.txt (929 Bytes, 51 views)
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