Timetable for school department

Reply

Join Date: May 2009
Posts: 2
Reputation: mtrinick is an unknown quantity at this point 
Solved Threads: 0
mtrinick mtrinick is offline Offline
Newbie Poster

Timetable for school department

 
0
  #1
May 13th, 2009
I wish to design a timetable for a school department. The timetable will have rooms (various), times (various), lecturers and subjects. There must not be a clash in rooms whereby a room cannot be booked at the same time as it is already booked.

Can anyone help?

Many thanks in advance:-)

Marian
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,810
Reputation: ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all 
Solved Threads: 117
ithelp's Avatar
ithelp ithelp is offline Offline
Posting Virtuoso

Re: Timetable for school department

 
0
  #2
May 14th, 2009
Yes room should have uniqeid , make roomId as primary key in your database table.
Reply With Quote Quick reply to this message  
Join Date: Mar 2007
Posts: 305
Reputation: timothybard is an unknown quantity at this point 
Solved Threads: 25
timothybard's Avatar
timothybard timothybard is offline Offline
Posting Whiz

Re: Timetable for school department

 
0
  #3
May 14th, 2009
You will need to create a RoomsTime entity. This entity will have two attributes: RoomsID and TimeID. You then need to make both of them into the compound key for the entity. This will ensure that no two rooms will have the same time scheduled. Each class can then have a foreign key that refers to the compound key.
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 2
Reputation: mtrinick is an unknown quantity at this point 
Solved Threads: 0
mtrinick mtrinick is offline Offline
Newbie Poster

Re: Timetable for school department

 
0
  #4
May 31st, 2009
Thank you for your help. Have been trying to find a resource which might show the tables and relationships involved but no luck. Have been working on it a while and running out of time. I very much appreciate your help though as that will most definately help.

Kind Regards
Marian
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 2
Reputation: deedatm is an unknown quantity at this point 
Solved Threads: 0
deedatm deedatm is offline Offline
Newbie Poster

Re: Timetable for school department

 
0
  #5
Jul 7th, 2009
Hi

I have a similiar project. Have you managed to get any further. Any suggestions will be much appreciated.

Thanks
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,177
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 479
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Timetable for school department

 
0
  #6
Jul 8th, 2009
Originally Posted by deedatm View Post
Hi

I have a similiar project. Have you managed to get any further. Any suggestions will be much appreciated.

Thanks
Obviously not. So why don't you kick off and tell us what you made so far? This may catch someone attention and then that person may be willing to help you rather doing everything from scratch for someone who doesn't show any interest.
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Database Design Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC