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 > Need help to decompose.....

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-03-09, 12:02
warriorvx warriorvx is offline
Registered User
 
Join Date: Jun 2009
Posts: 4
Need help to decompose.....

Hey, I am just starting off with this concecpt.
If you have two Relationships that Many to Many how would you decompose the two?

First One:
Employee
EmployeeID as PK
LastName
FirstName
StreetAddress
City

Second One:
Job
JobTitle as PK
Description
Reply With Quote
  #2 (permalink)  
Old 06-03-09, 12:45
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,519
Regards need help to decompose : best bet is not to be buried as this reduces the number of scavengers that can get to you, once they're finished then it will be insects, bacteria and fungi that will clear up the rest. If you have to be buried then don't go down to deep as temprature and oxygen levels decrease as you go down. An interesting novel on the subject is Being Dead by Jim Crace.

Regards tables : this doesn't look like a many to many relationship to me - why do you think it is. Can you print the whole coursework?
Reply With Quote
  #3 (permalink)  
Old 06-03-09, 13:09
warriorvx warriorvx is offline
Registered User
 
Join Date: Jun 2009
Posts: 4
It is a practice question which was given to us... Yes it does state it is a Many to Many relationship.
Thanks
Reply With Quote
  #4 (permalink)  
Old 06-03-09, 13:46
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,519
I can understand how many employees might have the same job title but is it likely that one employee would have many job titles?

What have you been taught to do if it is many to many?
Reply With Quote
  #5 (permalink)  
Old 06-03-09, 14:38
warriorvx warriorvx is offline
Registered User
 
Join Date: Jun 2009
Posts: 4
Many-to-Many (M:N) relationships must be decomposed into a new entity and two relationships
Thats all I know....
Reply With Quote
  #6 (permalink)  
Old 06-03-09, 14:40
warriorvx warriorvx is offline
Registered User
 
Join Date: Jun 2009
Posts: 4
Actually I think i got it!
Thanks!
Reply With Quote
  #7 (permalink)  
Old 06-03-09, 15:14
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,519
my mission is complete
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