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 > EER model help

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-06-10, 13:36
End09 End09 is offline
Registered User
 
Join Date: Nov 2010
Posts: 1
EER model help

hi
I need help in this assignment

.. Taxi is assigned to a route which is comprised of stops on certain roads, the driver drives taxi according to availability....

it is long one but I have problem in previous paragraph
Entities: Taxi,route,stops,driver
Taxi---route (1 to 1 relationship)
route---stops(1 to many relationship )(right?)
about the availability , how can I represent it?
I just put relation between taxi and driver (1 to 1) but I do not think it is correct
Reply With Quote
  #2 (permalink)  
Old 11-09-10, 06:50
andrewst andrewst is offline
Moderator.
 
Join Date: Sep 2002
Location: UK
Posts: 5,171
Nor do I, it appears to be a "many to many" because of the statement "the driver drives taxi according to availability". This implies:
- sometimes driver A drives taxi X
- sometimes driver A drives taxi Y
- sometimes driver B drives taxi X
- sometimes driver B drives taxi Y

That implies a new relation, perhaps with a date to handle the "sometimes".
__________________
Tony Andrews
http://tinyurl.com/tonyandrews
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