miguelito_cz
New member
- Local time
- Today, 11:01
- Joined
- Nov 12, 2010
- Messages
- 6
Hey guys,
I'm having kinda trouble deciding about table relationships in a database I am designing.
It's about storing physical folders into specific position in boxes. Each box has got say 200 slots. One slot can hold only one folder. The thing is to find the location of a folder based on the folder's ID. I also need to have an overview about free slots in each box, when inserting a folder.
So I have these tables:
Boxes
Slots
Folders.
How should I set the relationships between them?
I'm having kinda trouble deciding about table relationships in a database I am designing.
It's about storing physical folders into specific position in boxes. Each box has got say 200 slots. One slot can hold only one folder. The thing is to find the location of a folder based on the folder's ID. I also need to have an overview about free slots in each box, when inserting a folder.
So I have these tables:
Boxes
Slots
Folders.
How should I set the relationships between them?