I am trying to design a database but not sure about the structure, please help. Consider the following scenario
I have to store data about the following entities
1. Building (Building Name, Building Code)
2. Floors (Floor Name, Floor Number)
3. Rooms (Room Name, Room Number)
4. Equipment (Equipment Name, Equipment Code)
with the following constraints
Floors are associated with Buildings (i.e Floors exist in Buildings)
Rooms are associated with Floors (i.e Rooms exist in Floors)
and Finally
Every Equipment is assigned a code and Equipment can be associated with Building, Floor or Room
Thanks in Advance
I have to store data about the following entities
1. Building (Building Name, Building Code)
2. Floors (Floor Name, Floor Number)
3. Rooms (Room Name, Room Number)
4. Equipment (Equipment Name, Equipment Code)
with the following constraints
Floors are associated with Buildings (i.e Floors exist in Buildings)
Rooms are associated with Floors (i.e Rooms exist in Floors)
and Finally
Every Equipment is assigned a code and Equipment can be associated with Building, Floor or Room
Thanks in Advance
Comment