G
Guest
With the help of this group, this design is nearly finished. I still have one
area of confusion and hope you can help.
The question is regarding Items and Sites. I am unsure if I really need a
table Sites, or if the Site information could go in the Items table with each
item instead. Would this make the database easier to develop?
Do I have the relationships I need? Does this design look OK in terms of
running queries?
- - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
Tracks
TrackID
Track name
Sites
SiteID
TrackID <<<link to Tracks 1:m
Waypoint
<other site info>
Items
ItemID
SiteID <<<link to Sites 1:m
Events
EventID
ItemID <<<link to Items 1:m
Date
EventDescription (assessment, repair)
Cost estimate
Actual cost
Parameter Types
ParameterTypeID
Parameters
ParameterID
Parameter Type ID <<<link to Parameter Type 1:m
ItemID <<<link to Items 1:m
Parameter description
Values
ValueID
ParameterID <<<link to Parameters 1:m
area of confusion and hope you can help.
The question is regarding Items and Sites. I am unsure if I really need a
table Sites, or if the Site information could go in the Items table with each
item instead. Would this make the database easier to develop?
Do I have the relationships I need? Does this design look OK in terms of
running queries?
- - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
Tracks
TrackID
Track name
Sites
SiteID
TrackID <<<link to Tracks 1:m
Waypoint
<other site info>
Items
ItemID
SiteID <<<link to Sites 1:m
Events
EventID
ItemID <<<link to Items 1:m
Date
EventDescription (assessment, repair)
Cost estimate
Actual cost
Parameter Types
ParameterTypeID
Parameters
ParameterID
Parameter Type ID <<<link to Parameter Type 1:m
ItemID <<<link to Items 1:m
Parameter description
Values
ValueID
ParameterID <<<link to Parameters 1:m