This might get a little complicated. Here goes.
Say we have a parent-child relationship like this:
A Project contains many Tasks. A Project may also have any number of Revisions.
And the database schema for these tables look something like this:
Projects:
ProjectID
ProjectName
ProjectRevisions:
ProjectRevID
ProjectID
ProjectRevName
Tasks:
TaskID
ProjectRevID
TaskName
HoursToComplete
The tasks table is populated from another table, TaskDescriptions, which contains the master list of tasks.
My employer also wants subquotes - meaning an individual can quote his own effort seperate from the master quote. Each time a ProjectRevision takes place, the Subquotes must be redone, and all old Revisions and SubQuotes must be kept for future reference.
How would this look in a table schema? In my eyes, this is essentially a four-level list: A project contains a list of Revisions, which each contain a list of SubQuotes, which each contain a list of tasks.
I may be overthinking this, but any help is greatly appreciated