Hello,
My database contains employee data.
I wish to store historical data of some fields like salary and status
I should be able to display later weekly/monthly/yearly view of the data.
What is the preferred way to design the tables in order to retrieve the data afterward ?
I think to store salary historical data in a separate table like:
workerID
salary
StartDate
EndDate
or
workerID
salary
EffectiveDate
Is it possible to retrieve monthly view of employee salary with this table
(I mean: not all the months appears in the table).
Thank you for your help