W
WannaKatana
I have a situation that I'm not sure which is the best way to model. I
have the following relationships: Department -> Group -> Team ->
Subteam My problem is that an employee may or may not be related to a
subteam but only a team and others are related more directly to the
subteam. Each team may or may not have subteams.
Some ideas:
1. Create a "dummy" subteam for teams with no subteams and relate every
employee to a subteam
2. Create recursive relationship team -> team with SubteamID in the
Team table
3. Relate each employee to the team table directly or to the subteam
table directly, whichever is appropriate, then maybe check for null
subteamID in the queries
Joel
have the following relationships: Department -> Group -> Team ->
Subteam My problem is that an employee may or may not be related to a
subteam but only a team and others are related more directly to the
subteam. Each team may or may not have subteams.
Some ideas:
1. Create a "dummy" subteam for teams with no subteams and relate every
employee to a subteam
2. Create recursive relationship team -> team with SubteamID in the
Team table
3. Relate each employee to the team table directly or to the subteam
table directly, whichever is appropriate, then maybe check for null
subteamID in the queries
Joel