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 > A little ERD help

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-05-10, 12:06
Cbick Cbick is offline
Registered User
 
Join Date: Nov 2010
Posts: 4
Question A little ERD help

I just wanted to see if someone would review my ERD to make that I have my relationships correct. If not please point me in the right direction as I am new to database design and want to make sure that I am on the right track. Thank you for viewing my post.


ERD02.doc
Reply With Quote
  #2 (permalink)  
Old 11-05-10, 12:14
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
your employee-employeetype relationship has the FK on the wrong side

i think this error is also repeated in other relationships
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 11-05-10, 12:25
Cbick Cbick is offline
Registered User
 
Join Date: Nov 2010
Posts: 4
Ok thanks for looking at my post and offering help I will make thee necessary corrections and repost my results. Again thank you
Reply With Quote
  #4 (permalink)  
Old 11-05-10, 12:36
Cbick Cbick is offline
Registered User
 
Join Date: Nov 2010
Posts: 4
ERD02.doc
Ok here is my revised ERD but still not sure if I have gotten this correct yet. Also wouldn't Deliveries and Customer be a 1:1 relationship?

Last edited by Cbick; 11-05-10 at 12:37. Reason: forgot attachment
Reply With Quote
  #5 (permalink)  
Old 11-05-10, 13:41
dav1mo dav1mo is offline
Registered User
 
Join Date: Dec 2007
Location: Richmond, VA
Posts: 782
Only if you only want to deliver to a customer once. Wouldn't you want to keep a customer and continue to sell items to them over and over again. I did not look at your diagram.

Dave
Reply With Quote
  #6 (permalink)  
Old 11-05-10, 13:43
Cbick Cbick is offline
Registered User
 
Join Date: Nov 2010
Posts: 4
Thanks Dave for anwsering my question. I thought thats how it should be but I wasnt sure. Thanks for the clarification.

Edit: I am still trying to figure this out and have made a few more changes to my ERD.
Here is my updated ERD: ERD02.doc

Last edited by Cbick; 11-05-10 at 13:49.
Reply With Quote
Reply

Tags
erd

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