We have 3 buildings here at work. Each building has X amount of classrooms. Each classroom has X amount of computers. For each classroom, the computers will have the same software through out the computers in that room, but each classroom has different software.
Example: Building "Red" will have classroom "S702" and all the computers in that room will have Windows 2000 and MS Frontpage and so on installed...
And then in Building "Green" will have classroom "T100" and all the computers in that room will have Windows XP and Macromedia Dreamweaver and so on installed...
So I want a website where a teacher can look up a her classroom and see all the software that is installed in her classroom.
So Mrs. Doe will look up her room "S702" from her building "Red" and see
Total computers: 25
Software installed:
software | version |
1. Windows |2000 |
2. MS Frontpage | 2003 |
So this is what I have so far for setting up the database:
Classroomdb
[red] ID(unique, auto increment) , room(varchar), computers(int)
[green] ID(unique, auto increment) , room(varchar), computers(int)
[black] ID(unique, auto increment) , room(varchar), computers(int)
[software] ID(unique), name(varchar), version (varchar)
[classrooms] room id? , software id? confused........
I dont know how to do the classroom part, I was thinking a join but since there are 3 buildings and having to join the ID with 3 IDs wont work.