G
Guest
Hello
I have a database for project and resources that has four tables and the
fields:
ResourceID, ResourceName, Cost
fkResourceID, fkSubprojectID, TaskName
SubProjectID, fkProjectID, SubProjectName
ProjectID, ProjectName
The rules are:
-A project can have one or many subprojects.
-A subproject can have one or many tasks.
-A resource can be used in tasks in one or many subproject of a project.
-A task is found once in a subproject.
-A resource is charged once for a project no matter if it has used in many
of its subprojects.
Can you please suggest how can I make a query to calculate the resources
cost for each project?
Thank you
GL
I have a database for project and resources that has four tables and the
fields:
ResourceID, ResourceName, Cost
fkResourceID, fkSubprojectID, TaskName
SubProjectID, fkProjectID, SubProjectName
ProjectID, ProjectName
The rules are:
-A project can have one or many subprojects.
-A subproject can have one or many tasks.
-A resource can be used in tasks in one or many subproject of a project.
-A task is found once in a subproject.
-A resource is charged once for a project no matter if it has used in many
of its subprojects.
Can you please suggest how can I make a query to calculate the resources
cost for each project?
Thank you
GL