Database Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesDatabase Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old October 10th, 2006, 04:30 PM
hrubos hrubos is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 2 hrubos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 34 m
Reputation Power: 0
Order room in school

I have to design database for odering room in hostel of school.But my teacher require that tere is more 7 tables.Plz who can help to supplement table for mydatabase or who have complete Database script about this problem.
Now i am doing with 5 tables :
1.Room
2.Student
3.Assitant
4.Order
5.Rent

Reply With Quote
  #2  
Old October 11th, 2006, 08:25 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
What's assistant and rent for?

It's kind of hard to just make up tables, it's kind of a strict requirement... but your teacher must have some type of structure in mind.

What about employee or something? To accomodate for the cleaning staff?
That might be out of scope of your project though.

I'll shoot out ideas... make sure they're in scope of what your teacher has requested.

1. Room = Room (obviously)
2. Student = Person renting Room
3. Order = Linking students to rooms? (I would call this Room_Student)

4. Room type? = Describe the room

5. University?
6. City?
7. Country?


The difference between Room and Room Type is kind of tricky...
Room would be like a number & floor; where as Room Type could give it some type of name, capacity, area (meters squared), bathroom...

Just some thoughts...
__________________
Daryl's Homepage | My Blogroll | My Profile | Firefox supporter!
DevArticles Forum Moderator

"The net is a waste of time, and that's exactly what's right about it." -- William Gibson

Reply With Quote
  #3  
Old October 11th, 2006, 01:57 PM
hrubos hrubos is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2006
Posts: 2 hrubos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 34 m
Reputation Power: 0
- I agree with you about room a type room
- Why do u think that country and city can be 2 tables, can u show how to build with country a city ?
And i did this ,can you give me some ideas :
1. Room (number_room,number_student,number_worker,number_r oomType)
2. Student (number_room,first name,last name,adress,telefone,condition,reservation) --- because if students want to have room in school,they have to live longer than 180km from school to their house
3. Worker (number_worker,first name,last name,adress,telefone,reservation)
4.Reservation (number_reservation,number_room,number_worker,numb er_traveller,datum number_roomType)
5.Rent(number_rent,number_traveller,number_worker, number_student,reservation,rent day,return day)
6.Traveller(number_traveller,first name,last name,adress,telefone,job,reservation) (sotimes traveller can rent room for a short time)
7.Room_Type(number_roomType,type ,price )

I wish I would give ideas soon !!!
Thanx for help

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesDatabase Development > Order room in school


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway