| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Database modeling question
Hi
I'm trying to model a database but I'm having troubles sorting out my
ideas. Can anyone help?
I have "Airplanes" & "Weapons" (and specialized weapons such as Guns, Bombs and so on that "extend" from Weapons). What I need to do is to describe "Configurations" of weapons, such as:
For example: we have "Airplane" A and weapons B,C and D.
"Airplane" A has 2 "Configurations"
1) B and D
2) B and C
In 1) B has 100 rounds and D has 200 rounds In 2) B has 150 rounds and D has 90 rounds
Now, how can i realize it in a pratical way?
For now, I have made three tables. Two of them represent Airplane and
Weapon. The third one is the many-to-many relationship
"Aircraft_mount_Weapon" . In this intermediary table I can place all
the attributes for each weapon ... but I cannot find a pratical way to
group the weapons in Configurations as descrived above. I thought about
placing a "config_number" attribute in the "Aircraft_Mount_Weapon" so
that I can tag each airplane-weapon association with an ID that
represents the configuration ... but this can lead to some overhead
with similar configurations ... do you have some better ideas?
Thank you for any help!
Vortexmind
Received on Thu Nov 02 2006 - 15:54:48 CST
![]() |
![]() |