Imagine a schema as such.
NOTE TABLE: NoteID, Note, DetailedTaskID, .....
DETAILED TASK TABLE: DetailedTaskID, WorkOrderID, .....
WORKORDER TABLE: WorkOrderID, ProjectID, .....
PROJECT TABLE: ProjectID, .....
Now with this schema lets say I want to retrieve all notes that are associated to a specific project I end up with quite a number of joins.
IE: Note JOIN DetailedTask JOIN WorkOrder JOIN Project
So my question is this, when (if ever) is it appropriate to add a "shortcut" column for a table (in this case ProjectID)?
So basically changing the note table to this: NoteID, Note, DetailedTaskID, ProjectID