Dear all,
I have been reading a lot of posts and watching some youtube videos mentioned in this forum about databases. Unfortunately I came to a point where I need actual assistance for my specific case and that is why I registered.
I am trying to build a database of pool secretaries that are assigned to different departments of my company. Right now they have 2 excel files with 8 tabs in total, which can't answer all the queries that the hierarchy would like to preform.
Description of the problem:
As an example we have 10 secretaries in a pool that are used in case of a need in any of the 28 departments (if a secretary at that department is not present). The minimum stay is 1 day, so if Dep1 has one secretary sick, they just request to be assigned one from the pool until their secretary returns.
The end output is the monthly assignment of secretaries to the different departments, by day.
The January Worksheet looks like this (of course the dates continue until the end of the month):
02/01/2012 03/01/2012 04/01/2012 05/01/2012 06/01/2012 07/01/2012 08/01/2012 09/01/2012 10/01/2012 11/01/2012 12/01/2012 13/01/2012.....continue Number ID Contract Name Monday Tuesday Wednesday Thursday Friday - - Monday Tuesday Wednesday Thursday Friday....continue 1 134546 Permanent XYZ Office Closed Annual Leave Annual Leave Annual Leave Annual Leave Dep1 Dep1 Dep1 Dep2 Dep2
The explanation is that Secretary named "XYZ" with the ID "134546" took 4 days of "Annual Leave" in the beginning of the year and the following week she worked 3 days in Dep1 and 2 days in Dep2.
After studying the tables I have tried to take the advice from the videos and started normalization. But the time element in table has given me some troubles when trying to put it on paper.
There is a table for the secretary names, their contracts types above many other things and I came up with this, which I don't know how to link to this table.
I came up with this normalization (see attachment , but I don't know what to do now.
Thank you all in advance for all your help.